Re: pg_test_fsync output and commit_delay

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pg_test_fsync output and commit_delay
Дата
Msg-id 504BC655.6080402@agliodbs.com
обсуждение исходный текст
Ответ на pg_test_fsync output and commit_delay  (Peter Geoghegan <peter@2ndquadrant.com>)
Список pgsql-hackers
> The attached simple patch alters the output produced by pg_test_fsync,
> so that we also see the average sync time per op. 

Good idea.  A median would be even better, but harder to calculate, I
imagine.  You might consider providing a maximum, too.

> The pg_test_fsync
> docs have had minor alterations too. Hopefully, another doc patch will
> follow that builds upon this, and actually firmly recommends taking a
> particular course of action when setting commit_delay - my previous
> observations about what helped throughput, though supported by Greg
> Smith, have not been scrutinised enough just yet, I feel. For now, the
> equivocated wording of my doc alterations (that raw wal_sync_method
> file sync time might *somehow* be useful here) seems appropriate.

I'll see what I can do.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pg_upgrade testing for MSVC
Следующее
От: Tom Lane
Дата:
Сообщение: Supporting plpython 2+3 builds better