Re: restore time: sort_mem vs. checkpoing_segments

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: restore time: sort_mem vs. checkpoing_segments
Дата
Msg-id 16231.5938.817522.359405@yertle.int.kciLink.com
обсуждение исходный текст
Ответ на Re: restore time: sort_mem vs. checkpoing_segments  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.us> writes:

TL> I was just bugging Marc for some useful data, so I'll ask you too:
TL> could you provide a trace of the pg_restore execution?  log_statement
TL> plus log_duration output would do it.  I am curious to understand
TL> exactly which steps in the restore are significant time sinks.

Sure... machine isn't gonna do much of anything until 7.4 is released
(or I hear a promise of no more dump/reload).

>> I notice during the restore that the disk throughput triples during
>> the checkpoint.

TL> Hm, better make sure the log includes some indication of when
TL> checkpoints happen.

That it does.

I'll post the results in the next couple of days, as each run takes
about 4 hours ;-)

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

Предыдущее
От: "Matt Clark"
Дата:
Сообщение: Re: Inconsistent performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Attempt at work around of int4 query won't touch int8 index ...