Re: 8.4 open item: copy performance regression?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: 8.4 open item: copy performance regression?
Дата
Msg-id alpine.GSO.2.01.0906210241020.7754@westnet.com
обсуждение исходный текст
Ответ на Re: 8.4 open item: copy performance regression?  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: 8.4 open item: copy performance regression?  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Sat, 20 Jun 2009, Simon Riggs wrote:

> I would suggest that we check how much WAL has been written. There may
> be a secondary effect or a different regression hidden in these results.

What's the easiest way to do that?  My first thought was to issue a 
checkpoint before the test (which is a good idea to make each test 
consistent anyway), save the output from pg_controldata, test, checkpoint, 
and look at the control data again.  This seems kind of clunky though, but 
still better than trolling through the OS statistics for the data.  Any 
clever ideas for a better way to measure bytes of WAL written during a 
particular chunk of code?  We may need some sort of checkpoint/sync after 
the test to get correct results, because I've noticed that the tests I run 
sometimes continue writing out buffers for a few seconds after the test 
time is finished.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.4 open item: copy performance regression?
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 8.4 open item: copy performance regression?