Database Administration & Monitoring, PostgreSQL PostgreSQL: When wal_level to logical 27.01.2019 by Oracle Team By Mouhamadou Diaw wal_level determines the quantity of information written to the WAL. With PostgreSQL 11 the parameter wal_level can have 3 values: -minimal : only information needed to recover from a crash or an immediate shutdown -replica(…)
Database Administration & Monitoring PostgreSQL 12, pg_stat_statements_reset for userid, queryid and dbid 11.01.2019 by Daniel Westermann PostgreSQL 12 will give you more control on resetting statistics gathered by pg_stat_statements. When you check the documentation for PostgreSQL 11 (as linked in the previous sentence) you will see that the function has the following(…)
Database Administration & Monitoring Using Ansible to bring up a three node Patroni cluster in minutes 07.01.2019 by Daniel Westermann Automation is key today, nobody wants to do the same tasks over and over and again. Cloud without automation is not even possible. There are several tools around that help with automation and one of the most popular is(…)
Database Administration & Monitoring, PostgreSQL EDB Failover Manager 3.3 With Virtual Ip Address 24.12.2018 by Oracle Team By Mouhamadou Diaw In a previous blog , I talked about installing and configuring Edb Failover Manager with PostgreSQL. The configuration of a Virtual Ip Address was not discussed in this previous article.In this blog(…)
Database Administration & Monitoring, PostgreSQL PAM Authentication With PostgreSQL 21.12.2018 by Oracle Team By Mouhamadou Diaw PostgreSQl supports many authentication methods. The PAM authentication method operates similarly to password except that it uses PAM (Pluggable Authentication Modules) as the authentication mechanism. The user must exist in the database before PAM can be used(…)
Database Administration & Monitoring PostgreSQL : Get my database server name 07.12.2018 by Oracle Team By Mouhamadou Diaw I was looking for a build-in function to get the hostname of the server hosting my PostgreSQL cluster. But seems that there is no build-in function. Looking in the extensions, I find the extension hostname which(…)
Database Administration & Monitoring PostgreSQL 12: csv output format for psql 01.12.2018 by Daniel Westermann Getting data out of PostgreSQL in csv format is not a big issue. Using copy you can do that easily. PostgreSQL 12 will enhance psql so that you can directly return csv formatted output from a(…)
Database Administration & Monitoring PostgreSQL 12: log_statement_sample_rate 30.11.2018 by Daniel Westermann A common way to identify long running queries in PostgreSQL is to set log_min_duration_statement to a value that is known to cause troubles. In other words: If you know most of your statements usually execute in(…)
Database Administration & Monitoring No more recovery.conf in PostgreSQL 12 28.11.2018 by Daniel Westermann Traditionally everything which is related to recovery in PostgreSQL goes to recovery.conf. This is not only true for recovery settings but also for turning an instance into a replica which follows a master. Some days ago(…)
Database Administration & Monitoring EDB BART 2.2, parallel full backups without using pg_basebackup 12.11.2018 by Daniel Westermann Some days ago EnterpriseDB released the latest version of its backup and recovery tool for PostgreSQL and EDB Postgres Advanced Server, release notes here. The main new features, at least for me, are backups using multiple(…)