Data Science Wire

Radim Marek: Getting rid of a 4 TB table in PostgreSQL

PostgreSQL Planet1d4 min read

GitLab has a public story about deleting the wrong thing. In January 2017 an engineer who was trying to restore replication wiped a data directory they believed was on the secondary. It was on the primary. The postmortem they published afterwards is still one of the better things written about a database outage. At PGConf.EU in Valencia last week a few people from GitLab came to me with the inverse problem. They have one table, 4 TB, on a primary with ten replicas, and they want it gone, on purpose, with as little impact as they can manage. It's an archival table: nothing writes to it, and not

Read the full story at PostgreSQL Planet →

More in Data Engineering