Re: Chunk Delete

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Chunk Delete
Дата
Msg-id 20071115144352.GC20228@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: Chunk Delete  ("Abraham, Danny" <danny_abraham@bmc.com>)
Ответы Re: Chunk Delete
Список 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 по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Chunk Delete
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Enforcing Join condition