Re: [Testperf-general] BufferSync and bgwriter

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [Testperf-general] BufferSync and bgwriter
Дата
Msg-id 200412150943.53578.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: [Testperf-general] BufferSync and bgwriter  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Folks,

> To allow DBT2 to be used for real bgwriter benchmarking, Mark would need to
> change the following:
>
> 1) Randomize the timing of the commits, so that sometimes there is only 30
> writes/minute, and other times there is 300.   A timing pattern that would
> produce a "sine wave" with occasional random spikes would be best; in my
> experience, OLTP applications tend to have wave-like spikes and lulls.
>
> 2) Include a sprinkling of random or regular "large writes" which affect
> several tables and 1000's of rows.   For example, once per hour, change
> 10,000 pending orders to "shipped", and archive 10,000 "old orders" to an
> archive table.

Oh, also we need to:
3) Run the test for 3+ hours after scaling up, and turn on autovacuum.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [Testperf-general] BufferSync and bgwriter
Следующее
От:
Дата:
Сообщение: Re: Re: [Testperf-general] BufferSync and bgwriter