Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally.
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally. |
| Дата | |
| Msg-id | 13522.1404059410@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally. (Kevin Grittner <kgrittn@ymail.com>) |
| Ответы |
Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally.
|
| Список | pgsql-hackers |
Kevin Grittner <kgrittn@ymail.com> writes:
> Gurjeet Singh <gurjeet@singh.im> wrote:
>> Besides, there's already a throttle built in using the
>> PGSTAT_STAT_INTERVAL limit.
> This is a key point; neither the original patch nor my proposed
> alternative bypasses that throttling.
That's a fair point that probably obviates my objection. I think the
interval throttling is more recent than the code in question.
If we're going to do it like this, then I think the force flag should
be considered to do nothing except override the clock check, which
probably means it shouldn't be tested in the initial if() at all.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера