Re: slow commits with heavy temp table usage in 8.4.0

Поиск
Список
Период
Сортировка
От James Mansion
Тема Re: slow commits with heavy temp table usage in 8.4.0
Дата
Msg-id 4A7EAE66.9060601@mansionfamily.plus.com
обсуждение исходный текст
Ответ на Re: slow commits with heavy temp table usage in 8.4.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> the function time and the commit time a lot better.  But I'm not sure
> if the use-case is popular enough to deserve such a hack.
>
>   
For some OLTP workloads, it makes a lot of sense to spool tuples of
primary key plus new fields into a temp table and then doing a single update
or delete operation referencing the temp table. Perhaps not so much
for code designed for postgres where there is some extra flexibility
with array params and the like, but for code that targets other systems
as well.

Having temp tables be as fast as possible is quite a big win in this case.



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: hot standby - merged up to CVS HEAD
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: revised hstore patch