Skip to content

Open source Team

Posts published under the Open source Team account are collective contributions by the dbi services open infrastructure consultants. The practice covers open-source databases and platforms, PostgreSQL first of all, along with MySQL, MariaDB, and Linux, from architecture, replication, and high availability to performance tuning and operations under service level agreements, and contributes actively to the PostgreSQL community.

721 posts since September 2011

PostgreSQL 17: Incremental backups and backup chains

In the last post about the introduction of incremental backups for PostgreSQL 17 we’ve looked at the basic concepts of that feature and how you can use it. In the meantime Robert Haas has written a blog post describing some uses cases for the feature. This blog post is the inspiration for this one, and this is all about backups… 

Linux offline package and repository management

Many of us have faced this scenario: setting up a brand-new Linux Server, only to discover it’s a minimal setup lacking essential tools like our favorite ‘VIM’ text editor. This leads to frustration while trying to make changes without our familiar tools and coping with mismatched keyboard layouts. Even simple tasks, such as navigating directories, become tests of patience. And… 

PostgreSQL 17: Support for incremental backups

When it comes to backing up and and restoring a PostgreSQL cluster, most of our customers rely either on pgBackRest or Barman. The reason for this is pretty clear: Both of those tools provide you with a backup repository, full and incremental backups, tons of other features and both automate most of the tasks you expect from a backup solution.… 

And suddenly it’s already over again – pgconf.eu 2023

Last week was the week of the European PostgreSQL Conference in Prague which I was allowed to join once more. An amazing location was waiting for all the participants and once I entered the hotel, I already felt warmly welcomed in the PostgreSQL Community world. Besides the very interesting program the committee prepared this year, there was of course a… 

2023.pgconf.eu – recap

This year’s edition of PostgreSQL Conference Europe finished last Friday, the 15th of December. It was the largest ever PostgreSQL Conference Europe with more than 700 attendees. For me the week already started on Monday, because I had to be there the day before the conference for the training day. With 25 people the training was completely sold out and… 

PostgreSQL 17: Reset shared statistics at once with pg_stat_reset_shared()

PostgreSQL comes with several catalog views which expose cluster wide statistics. One of them is the new pg_stats_checkpointer view we’ve talked about previously. To reset some of those statistics there is pg_stat_reset_shared(). Beside the pg_stat_checkpointer view, the statistics in pg_stat_bgwriter, pg_stat_io, pg_stat_wal, pg_stat_recovery_prefetch, and pg_stat_archiver can be reset. Before PostgreSQL 17 you had to call this function individually for all… 

PostgreSQL 17: New catalog view pg_stat_checkpointer

Up to PostgreSQL 16 checkpointer related statistics are available in pg_stat_bgwriter. As the work of bgwriter and checkpointer has been split into two separate processes back in 2011 for PostgreSQL 9.2 (see 806a2aee3791), it makes sense to split the statistics related to those background processes as well. This has now happened for PostgreSQL 17. Up to PostgreSQL 16 the pg_stat_bgwriter… 

DBVISIT StandbyMP for PostgreSQL – 3 – Switchovers

In the last two posts (here and here) we’ve installed and configured DBVISIT StandbyMP for PostgreSQL and created a simple primary -> replica setup. Most of the replication setup was GUI driven and almost nothing had to be done manually, except for the creation of a user and configuration of pg_hba.conf. Currently we have the primary replicating to the replica… 

What is the maximum number of columns for a table in PostgreSQL?

In our PostgreSQL DBA Essentials workshop we’re also letting the attendees know about the limits of PostgreSQL. Those limits are documented but one of those limits might not be very clear. The limit I am talking about is the maximum number of columns which can be in a table. In the documentation you’ll find this: “The maximum number of columns… 

DBVISIT StandbyMP for PostgreSQL – 2 – Creating a PostgreSQL configuration

In the previous post we’ve installed the DBVISIT StandbyMP agents on the database nodes, and the management console on third node. In this post we’re going to create our first PostgreSQL configuration. At the end of this post we should have a primary PostgreSQL instance replicating to a replica, and this configuration is managed by DBVISIT StandbyMP. This is the… 

DBVISIT StandbyMP for PostgreSQL – 1 – Setting it up

One of our oldest partners, DBVISIT, recently released their product StandbyMP for PostgreSQL. The goal of this product is to provide a graphical user and management interface over a PostgreSQL streaming replication cluster. In this post we’re going to set this up, and in a follow up post we’ll see how this product can be used to easily switchover to…