Disabling autocommit in PostgreSQL can damage your health
by
Laurenz Albe |
06.2021 When analyzing customer's problems, I have seen the mess you can get into if you disable autocommit in your […]
Enabling and disabling autovacuum in PostgreSQL
UPDATED Aug 2023: How to enable and disable autovacuum in PostgreSQL: How does autovacuum really work? Can you simply turn it on and off?
Terminating database connections in PostgreSQL
This blog posting explains you, how to terminate queries and database connections in PostgreSQL. Find out more.
TLS: Demystifying communication encryption in PostgreSQL
TLS is a technology widely used in combination with PostgreSQL to encrypt client / server connections. This blogpost explains how TLS works.
PostgreSQL: Understanding deadlocks
"ERROR: deadlock detected" - message - what should I do? This article explains what this really means and how deadlocks can be prevented.
Cleaning up a large number of BLOBs in PostgreSQL
Basically, there are two ways to delete BLOBs (binary large objects):Change the PostgreSQL configuration or delete the BLOBs in chunks.
How the PostgreSQL query optimizer works
Get insight into how the PostgreSQL optimizer works and how it speeds up queries. Find out about anti-join & from_collapse_limit.
Running Postgres in Docker - why and how?
This article gives an introduction to Docker and whether you should run production Postgres workloads in a docker container.
Estimating connection pool size with PostgreSQL database statistics
by
Laurenz Albe |
02.2021 PostgreSQL v14 has new connection statistics in pg_stat_database. In this article, I want to explore one application for them: […]
PostgreSQL: int4 vs. float4 vs. numeric
PostgreSQL offers many different data types. This post will focus on three important ones: the integer, float and numeric types.