Database Administration & Monitoring PostgresBuild2021 – questions feedback (1) 30.11.2021 by Daniel Westermann PostgresBuild2021 is currently ongoing and as usual, I had questions after my talk I could not immediately answer. One of the best ways to learn, is to present a topic. There are for sure questions you never(…)
Database Administration & Monitoring Open source monitoring solutions (1) – Zabbix server setup 29.11.2021 by Daniel Westermann We are often asked which monitoring solution we recommend for PostgreSQL, by people attending our PostgreSQL workshops. We usually answer: What do you have in place already? If a solution already is in place, the most obvious(…)
Database Administration & Monitoring Using pgBackRest to backup your PostgreSQL instances to a s3 compatible storage 16.11.2021 by Daniel Westermann When it comes to backup and restore of PostgreSQL we usually recommend pgBackRest to our customers. This tool comes with many options and features and should bring everything you need. Most of the times we install a(…)
Database Administration & Monitoring Minor PostgreSQL version upgrades in a Patroni cluster 14.11.2021 by Daniel Westermann Last week PostgreSQL 14.1, and all other minor versions for the supported version of PostgreSQL have been released. As usual, it is highly recommended to update to the latest minor release as soon as possible. Minor version(…)
Database Administration & Monitoring PostgreSQL 15: read some options for pg_dump from a file 08.11.2021 by Daniel Westermann PostgreSQL 15 will probably come with a new feature for pg_dump: Instead of passing the arguments/options directly to pg_dump when it is executed, you may also use a file to describe what you want to export. In(…)
Database Administration & Monitoring Why does my first tablespace in PostgreSQL always get the OID 16384? 30.10.2021 by Daniel Westermann For those already familiar with this topic and wonder about the heading, hold on and continue reading. One of the exercises we do in our PostgreSQL DBA Essentials workshop is to create a tablespace. This is to(…)
Database Administration & Monitoring How to efficiently add constraints to existing tables in PostgreSQL 18.10.2021 by Daniel Westermann Is is not a surprise that applications change over time. New tables get added, columns need to be changed or new ones are required, and sometimes you need to add check constraints or foreign keys to already existing tables which(…)
Database Administration & Monitoring PostgreSQL indexes and operators 27.09.2021 by Daniel Westermann Creating a standard B-tree index in PostgreSQL is nothing special and usually we do it without thinking about what happens in the background. For the standard data types like e.g. int or text we do not need to know anything(…)
Database Administration & Monitoring Some basics about time zones in PostgreSQL 23.09.2021 by Daniel Westermann As soon as you have an application which works across time zones you will have to deal with that properly in the database. I've seen many applications that didn't care of that at the beginning, and much work had to(…)
Database Administration & Monitoring In which order do triggers fire in PostgreSQL? 15.09.2021 by Daniel Westermann When you are working with triggers it might be important to know in which order they fire. Of course, a "before" triggers fires before an "after" trigger. But what happens if you have two or more triggers for the same(…)