Re: pgbench -i spends all its time doing CHECKPOINT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgbench -i spends all its time doing CHECKPOINT
Дата
Msg-id 24476.1010299277@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgbench -i spends all its time doing CHECKPOINT  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgbench -i spends all its time doing CHECKPOINT
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Could we remove lines 552-560 of pgbench.c?  The behavior that guarded
>> against is long gone, and forcing a checkpoint every few thousand tuples
>> seems to be putting a huge crimp in the speed of pgbench -i ...

> I don't see any need for it.

Au contraire.  I'm nearly done with pgbench -i -s 500 after about an
hour.  The unmodified code ran for several hours and was less than
half done.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgbench -i spends all its time doing CHECKPOINT
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgbench -i spends all its time doing CHECKPOINT