Re: Poor Delete performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Poor Delete performance
Дата
Msg-id 7477.984438608@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Poor Delete performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I've applied a patch for this problem to current sources.  The
improvement was more than I expected --- a test case involving
deleting 80000 tuples from a foreign-key-referencing table dropped
from ~15min to ~8sec.  Insertion of a large number of tuples in one
transaction sped up quite a bit too.

If you are in a hurry for a fix, you could probably adapt the diff
to 7.0.3 sources:
http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.86&r2=1.87&f=c

            regards, tom lane

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

Предыдущее
От: KuroiNeko
Дата:
Сообщение: Re: Postrges automatic restart
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql 7.1 Beta 5, Postmaster dead