Re: Very slow DELETE on 4000 rows of 55000 row table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Very slow DELETE on 4000 rows of 55000 row table
Дата
Msg-id 21308.1175583840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Very slow DELETE on 4000 rows of 55000 row table  (Bryce Nesbitt <bryce1@obviously.com>)
Ответы Re: Very slow DELETE on 4000 rows of 55000 row table  (Bryce Nesbitt <bryce1@obviously.com>)
Список pgsql-sql
Bryce Nesbitt <bryce1@obviously.com> writes:
> I've got a DELETE FROM that seems to run forever, pegging the CPU at
> 100%.  I can't figure out why it's slow.  Any clues?

Unindexed foreign key constraints pointing to this table, perhaps?
EXPLAIN ANALYZE would give a great deal more clue than plain EXPLAIN.
        regards, tom lane


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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Very slow DELETE on 4000 rows of 55000 row table
Следующее
От: "Shavonne Marietta Wijesinghe"
Дата:
Сообщение: Re: Update problem.