Re: Massive delete from a live production DB - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Massive delete from a live production DB
Date
Msg-id BANLkTi=JOTrn2nOiyGZa_uG0Fos_-fSqxQ@mail.gmail.com
Whole thread Raw
In response to Massive delete from a live production DB  (Phoenix Kiula <phoenix.kiula@gmail.com>)
List pgsql-general
On Thu, May 12, 2011 at 8:23 AM, Phoenix Kiula <phoenix.kiula@gmail.com> wrote:
> Hi
>
> Been reading some old threads (pre 9.x version) and it seems that the
> consensus is to avoid doing massive deletes from a table as it'll
> create so much unrecoverable space/gaps that vacuum full would be
> needed. Etc.

> Any ideas on what I could do without losing all the live updates? I
> need to get rid of about 11% of a 150 million rows of database, with
> each row being nearly 1 to 5 KB in size...

11% is not big deal as the space will get re-used for future updates
and inserts.

pgsql-general by date:

Previous
From: raghu ram
Date:
Subject: Re: Postgredac Dump
Next
From: "Gauthier, Dave"
Date:
Subject: insert order question