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(…)
Database Administration & Monitoring An index only scan in PostgreSQL is not always index only 10.11.2018 by Daniel Westermann PostgreSQL supports index only scans since version 9.2 which was released in September 2013. The purpose of an index only scan is to fetch all the required values entirely from the index without visiting the table(…)
Database Administration & Monitoring Deep dive Postgres at the #pgconfeu conference 26.10.2018 by Hervé Schweitzer Today I followed many good technical sessions at the European Postgres conference. The Postgres conferences are really technical oriented, you will find no marketing sessions there and you learn a lot of things. As promised yesterday, I wrote today my(…)
Database Administration & Monitoring Inheriting super user privileges over a role automatically in PostgreSQL 16.10.2018 by Daniel Westermann In a recent project at a customer where we synchronize the users and group out of Active Directory we hit a little issue I was not aware of before. Suppose you have created a role in(…)
Database Administration & Monitoring When we do a pg_dump and right afterwards truncate a table which is in the dump, what happens? 21.08.2018 by Daniel Westermann Being at customers is always the best way to learn. Today while discussing that pg_dump will always produce a consistent dump because it uses the "repeatable read" isolation level this question came up: What happens when we(…)
Database Administration & Monitoring The size of Oracle Home: from 9GB to 600MB – What about PostgreSQL? 17.08.2018 by Daniel Westermann A recent blog post from Franck and a tweet around that topic is the inspiration for this blog post, thanks Jan for requesting :). In short it is about how small(…)