Postgres very slow queries after deleting 500 million rows – Amazon Web Sevices
I have a Postgres 11 database that grew faster than expected, ultimately to around 500 million rows, and after optimizing our code we were able to get this down to around 10 million rows at any given time (around 1,000-5,000…