Re: Major Performance decrease after some hours

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Major Performance decrease after some hours
Дата
Msg-id 12772.1160057464@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Major Performance decrease after some hours  ("Peter Bauer" <peter.m.bauer@gmail.com>)
Ответы Re: Major Performance decrease after some hours  ("Peter Bauer" <peter.m.bauer@gmail.com>)
Список pgsql-general
"Peter Bauer" <peter.m.bauer@gmail.com> writes:
> tps = 50.703609 (including connections establishing)
> tps = 50.709265 (excluding connections establishing)

That's about what you ought to expect for a single transaction stream
running on honest disk hardware (ie, disks that don't lie about write
complete).  You can't commit a transaction more often than once per disk
revolution, because you have to wait for the current WAL file endpoint
to pass under the heads again.  If there are multiple clients then
"ganging" concurrent commits is possible, but you tested only one.

The benchmark you reference might have been done on disks with battery
backed write cache.  Or it might have been just plain unsafe (ie, the
equivalent of fsync off, but in hardware :-()

            regards, tom lane

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

Предыдущее
От: "Peter Bauer"
Дата:
Сообщение: Re: Major Performance decrease after some hours
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Storing images in PostgreSQL databases (again)