Viewing entries tagged with partitioning. Return to full view.

Repartitioning with logical replication in PostgreSQL 13

So, you have a partitioned table. And you want to change your mind. Re-partitioning is "easy" if you can take downtime -- just create a new table with a new name and copy all the data over. But what if we want to try to do it without downtime? Logical replication enhancements in PostgreSQL 13 brings us some new options for this!

But first a disclaimer -- this is definitely not pretty! And does not take into consideration things like foreign keys and similar. But sometimes a quick hack can be the best hack.

So let's go!

Continue reading

Conferences

I speak at and organize conferences around Open Source in general and PostgreSQL in particular.

Upcoming

Past

PGConf.EU 2025
Oct 21-24, 2025
Riga, Latvia
PGConf.NYC 2025
Sep 29-Oct 1, 2025
New York, USA
PGConf.dev 2025
May 13-16, 2025
Montreal, Canada
PGDay Chicago 2025
Apr 15, 2025
Chicago, USA
Nordic PGDay 2025
Mar 18, 2025
Copenhagen, Denmark
More past conferences