Re: Queries Per Second (QPS)

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Queries Per Second (QPS)
Дата
Msg-id CAECtzeUHqhDtz49pk4fvN2SS331Pg_3E8MxsN=sfz7HDNojf+Q@mail.gmail.com
обсуждение исходный текст
Ответ на Queries Per Second (QPS)  (Adam Scott <adam.c.scott@gmail.com>)
Ответы Re: Queries Per Second (QPS)  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-performance

Le 26 sept. 2015 6:26 PM, "Adam Scott" <adam.c.scott@gmail.com> a écrit :
>
> How do we measure queries per second (QPS), not transactions per second, in PostgreSQL without turning on full logging which has a performance penalty and can soak up lots of disk space?
>

The only way I can think of is to write an extension that will execute some code at the end of the execution of a query.

Note that this might get tricky. Do you want to count any query? Such as those in explicit transactions and those in plpgsql functions? People might not see this your way, which may explain why I don't know of any such extension.

> We are using 8.4, but I'm interested in any version as well.
>

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

Предыдущее
От: Adam Scott
Дата:
Сообщение: Queries Per Second (QPS)
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Queries Per Second (QPS)