The fastest way to delete 95% of a database is to not delete it | Slicing Prod Data
Batched deletes still timed out, so we stopped deleting and started copying. Here’s the copy-truncate-reinsert approach in raw Postgres that finished the slice in under 2 hours.
Pedro Costa a 09 Nov 2026
5 min read