Application integration & Middleware pg_auto_failover: Failover and switchover scenarios 11.12.2020 by Daniel Westermann In the last post we had a look at the installation and setup of pg_auto_failover. We currently have one primary cluster and two replicas synchronizing from this primary cluster. But we potentially also have an issue(…)
Cloud, PostgreSQL Recovery in the ☁ with Google Cloud SQL (PostgreSQL) 11.12.2020 by Open source Team By Franck Pachot . In a previous post I started this series of “Recovery in the ☁” with the Oracle Autonomous database. My goal is to explain the recovery procedures, especially the Point-In-Time recovery procedures(…)
Database Administration & Monitoring Easy failover and switchover with pg_auto_failover 10.12.2020 by Daniel Westermann One the really cool things with PostgreSQL is, that you have plenty of choices when it comes to tooling. For high availability we usually go with Patroni, but there is also pg_auto_failover(…)
Database Administration & Monitoring Incremental materialized view maintenance for PostgreSQL 14? 07.12.2020 by Daniel Westermann Since PostgreSQL 9.3 there is the possibility to create materialized views in PostgreSQL. PostgreSQL 9.4 (one year later) brought concurrent refresh which already is a major step forward as this allowed querying(…)
Database Administration & Monitoring Even faster data loading with PostgreSQL 14? wal_level=none 05.12.2020 by Daniel Westermann PostgreSQL is already very fast with loading loading large amounts of data. You can follow this post to get some recommendations for loading data as fast as possible. In addition you can create(…)
Database Administration & Monitoring PostgreSQL 14: Automatic hash and list partitioning? 30.11.2020 by Daniel Westermann Declarative partitioning was introduced in PostgreSQL 10 and since then has improved quite much over the last releases. Today almost everything is there what you would expect from such a feature: You can partition by range,(…)
Database Administration & Monitoring The PostgreSQL shared/global catalog 29.11.2020 by Daniel Westermann A PostgreSQL instance (or cluster) can contain many databases, three of them (template0, template1 and postgres) are there by default. Over the last years we trained many people on PostgreSQL Essentials and(…)
Database Administration & Monitoring PostgreSQL 14: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly 27.11.2020 by Daniel Westermann It is a common misunderstanding that VACUUM FULL saves you from running out of disk space if you already have space pressure. Running a VACUUM FULL temporarily requires at least double the space, as the table(…)
Database Administration & Monitoring PostgreSQL 14: Add the number of de-allocations to pg_stat_statements? 25.11.2020 by Daniel Westermann In the last post we had a look at an interesting patch (schema variables) that is currently waiting to be committed for PostgreSQL 14. Another patch, that currently is in the same state is named(…)
Database Administration & Monitoring Will PostgreSQL14 finally come with schema variables? 22.11.2020 by Daniel Westermann One of the bits you need to solve when you migrate from Oracle to PostgreSQL is this: In the Oracle database there are PL/SQL packages and some of those have package variables defined. PostgreSQL does not know the concept of(…)