Database Administration & Monitoring, Database management How a merge join produced the wrong result in PostgreSQL 14.04.2023 by Daniel Westermann This was a really interesting customer case and I learned a lot by troubleshooting this. The original request was: We have two databases connected via postgres_fdw and when a merge join is chosen by PostgreSQL we(…)
Database Administration & Monitoring, Database management PostgreSQL 16: GENERIC_PLAN option for EXPLAIN and SHELL exit codes for psql 27.03.2023 by Daniel Westermann Last week some smaller features got committed for PostgreSQL. The first one is an option which can be given to explain for displaying the generic plan for a statement. I’ve written about generic plans in the past, please read(…)
Database Administration & Monitoring, Database management pgDay Paris 2023 24.03.2023 by Daniel Westermann Another great PostgreSQL community conference is over, and I came back with a lot of impressions yesterday. It was probably the worst time of the year for the conference to happen, as massive strikes are ongoing in France currently. Nothing(…)
Database Administration & Monitoring, Database management Starting PostgreSQL logical replication for some tables based on a dump 02.03.2023 by Daniel Westermann Recently at a customer we faced a somehow strange issue: We’ve setup logical replication from a public cloud managed PostgreSQL service to a PostgreSQL instance on a VM hosted by the same public cloud provider. For most of the tables(…)
Database Administration & Monitoring, Database management More compression options for pg_dump in PostgreSQL 16 24.02.2023 by Daniel Westermann The last releases of PostgreSQL already introduced new options for compression, see here and here. PostgreSQL 16 will build on top of that and will come with LZ4(…)
Database Administration & Monitoring, Database management PostgreSQL 16: More I/O statistics 14.02.2023 by Daniel Westermann PostgreSQL is already tracking various kinds of statistics which can help in identifying bottlenecks. Some of these statistics are available in the the pg_statio_* catalog views: postgres=# select viewname from pg_views where viewname like '%statio%'; viewname -------------------------- pg_statio_all_sequences pg_statio_all_tables pg_statio_sys_tables(…)
Database Administration & Monitoring, Database management PostgreSQL 16: reserved_connections 22.01.2023 by Daniel Westermann The maximum number of connections that PostgreSQL will allow, is controlled by the max_connections parameter. By default this allows a maximum of one hundred connections: postgres=# show max_connections; max_connections ----------------- 100 (1 row) In reality not one hundred connections(…)
Database Administration & Monitoring, Database management Converting from Unix timestamps to “real” timestamps in PostgreSQL 13.01.2023 by Daniel Westermann Recently we’ve been asked how an application can be changed from using Unix timestamps to PostgreSQL timestamps. It is still not so uncommon to store dates and times in numeric data types,(…)
Operating systems The adaptable Linux Platform (ALP) 05.01.2023 by Daniel Westermann This is about something you maybe didn’t hear much yet: The openSUSE project and SUSE are working on a new enterprise operating system: ALP, the adaptive Linux Platform.
Database Administration & Monitoring, Database management, Operating systems, PostgreSQL Uyuni, an open-source configuration and infrastructure management solution for software-defined infrastructure (2) – Adding a client 29.12.2022 by Daniel Westermann In the last post we’ve installed and configured the Uyuni server. In this post we’ll add our first client we later on can manage through the Uyuni server. Quite some distributions are(…)