Tag: linux
PostgreSQL on WSL2 for Windows: Install and setup
This post explains how to install PostgreSQL on WSL2 for Windows, apply the necessary changes to PostgreSQL settings, and access the database from the Windows host. Even though this knowledge can be found in different bits and pieces spread out all over the internet, I want to compile a short and straightforward how-to article. I […]
Manage Linux control groups in PostgreSQL with pg_cgroups
In another blog post, I described how Linux control groups work and how they are useful for PostgreSQL. Here I will present my little PostgreSQL plugin pg_cgroups which makes this simple to handle for the DBA. What is pg_cgroups good for? If you have a machine dedicated to a single PostgreSQL cluster, you normally […]
The mysterious “backend_flush_after” configuration setting
The above-mentioned PostgreSQL server configuration parameter was introduced already some time ago, in version 9.6, but has been flying under the radar so to say and had not caught my attention previously. Until I recently was pasted (not being on Twitter) a tweet from one of the Postgres core developers Andres Freund, that basically said […]