Re: in-transaction insert performance in 7.5devel

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: in-transaction insert performance in 7.5devel
Дата
Msg-id 18742.1086989450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: in-transaction insert performance in 7.5devel  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-performance
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Tom Lane wrote:
>> Does it help if you change FlushBuffer to release buffer lock while
>> flushing xlog?

> Putting your change in resulted in about a 15% increase in insert
> performance.  There may be some quirky things going on here with NTFS...

> I did an update clean from cvs and I noticed big speedup across the
> board.  Right now sync performance is right in line with my
> expectations.  In any case, I checked and confirm that there are no
> spurious fsyncs running when they are not supposed to be.

Was that 15% before or after updating from CVS?

The more I think about the looping aspect the less I like it, so I'd
prefer not to pursue making the unlock change for real.  But if it's
really a 15% win then maybe we need to...

            regards, tom lane

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: in-transaction insert performance in 7.5devel
Следующее
От: Vitaly Belman
Дата:
Сообщение: Additional select fields in a GROUP BY