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 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 Some more zheap testing 03.11.2018 by Daniel Westermann Hervé already did some tests with zheap and documented his results yesterday. After some more discussions with Amit who did the session about zHeap at the conference here in Lisbon (you can(…)
Database Administration & Monitoring Some psql features you are maybe not aware of 25.10.2018 by Daniel Westermann It is the time of The 10th Annual PostgreSQL Conference Europe, so this is the perfect time to blog about some tips and tricks around psql you'll love. psql is such a(…)
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 Getting started with Red Hat Satellite – Initial configuration 15.10.2018 by Daniel Westermann In the last post it was all about the Installation of Red Hat Satellite and the components that are used under the hood. In this post it is about doing the initial configuration so that packages(…)