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.
PostgreSQL exclusive chain cron jobs using pg_timetable
I wrote about the new pg_timetable 3 major release not so long ago. Two essential features were highlighted:- new session […]
Is UPDATE the same as DELETE + INSERT in PostgreSQL?
by
Laurenz Albe |
12.2020 Introduction We know that PostgreSQL does not update a table row in place. Rather, it writes a new version […]
Upgrading and updating PostgreSQL
Update/ upgrade: what's the difference? This blog post covers the best ways of upgrading or updating PostgreSQL to the latest release.
pg_crash: Crashing PostgreSQL automatically
How can one simulate failure when using a rock solid database like PostgreSQL? pg_crash: Crashing PostgreSQL automatically
Dealing with streaming replication conflicts in PostgreSQL
by
Laurenz Albe |
11.2020 Streaming replication in PostgreSQL is a well-established master-slave replication technique. It is simple to set up, stable and performs […]
PostgreSQL: Foreign keys and insertion order in SQL
Foreign keys will introduce some issues which have to be considered when writing applications. If a foreign key is in place the inseration order starts to matter.
Simple partitioning of live data with Postgres
Partitioning data is a well-known way to optimize big tables. Learn how to migrate a table on a live system, which can be tricky.
zheap: Inspecting storage sizes
Let's dig a bit deeper into zheap: it's more efficient in terms of storage consumption. The tuple header is smaller, alignment is better.
PostgreSQL: Sophisticated temporary tables
There is more to temporary tables than meets the eye. Configure the lifespan of a temporary table and read more.