Re: Performance Problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance Problems
Дата
Msg-id 19614.1030110585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Performance Problems  (Alex Paulusberger <alexp@meta-bit.com>)
Список pgsql-admin
Another thought...

Alex Paulusberger <alexp@meta-bit.com> writes:
> The whole process loops 4,500 times.
> For every loop
> - a temp table is cleared

How exactly are you clearing the temp table?  DELETE FROM isn't a good
plan because you'll still have dead tuples in there.  You could do a
DELETE FROM and then VACUUM, but I'd suggest TRUNCATE instead.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Performance Problems
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Preserving datatypes in dblink.