Re: Chunk Delete - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Chunk Delete
Date
Msg-id 20071115144352.GC20228@crankycanuck.ca
Whole thread Raw
In response to Re: Chunk Delete  ("Abraham, Danny" <danny_abraham@bmc.com>)
Responses Re: Chunk Delete  (Sam Mason <sam@samason.me.uk>)
List pgsql-general
On Thu, Nov 15, 2007 at 03:33:04PM +0200, Abraham, Danny wrote:
>
> Based on a condition,  2,000,000 records should be deleted daily.

Why not use that condition (which I presume is indexed) as the criterion for
your delete?  I mean, how else are you getting those row numbers in Oracle.
They have to be sorted somehow, unless you're just deleting 2million random
records.

A

--
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Chunk Delete
Next
From: Sam Mason
Date:
Subject: Re: Enforcing Join condition