Re: Please recommend me the best bulk-delete option

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Please recommend me the best bulk-delete option
Дата
Msg-id b68ad0f5cb6c9e8ef305fe69f265e736.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на Re: Please recommend me the best bulk-delete option  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On 17 Listopad 2011, 19:26, David Johnston wrote:
> Anyway, if you execute the three TRUNCATEs in the proper order, thus
> avoiding any kind of cascade, you should get maximum performance possible
> on your UNSUPPORTED VERSION of PostgreSQL.

AFAIK cascade with TRUNCATE means 'truncate the depending tables first'.
That's quite different from cascade with DELETE where the db has to
actually find the records, and I don't think there's a significant
performance impact.

Tomas


В списке pgsql-general по дате отправления:

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Please recommend me the best bulk-delete option
Следующее
От: Andy Colson
Дата:
Сообщение: convert text field to utf8 in sql_ascii database