| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] tuple statistics update |
| Дата | |
| Msg-id | 22480.1492545978@sss.pgh.pa.us обсуждение |
| Ответ на | [GENERAL] tuple statistics update (Tom DalPozzo <t.dalpozzo@gmail.com>) |
| Ответы |
Re: [GENERAL] tuple statistics update
|
| Список | pgsql-general |
Tom DalPozzo <t.dalpozzo@gmail.com> writes:
> Hi, I'm using libpq to insert tuples in my table and keep looking at
> statistics through psql instead.
> I noticed that sometimes n_tuple_ins is not updated even after 1 min that
> my transaction committed.
If your session is just sitting, that's not surprising. I think stats
updates are only transmitted to the collector at transaction end (and
even then, only if it's been at least N msec since the last transmission
from the current session).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера