Обсуждение: pgsql: Flush any remaining statistics counts out to the collector at

Поиск
Список
Период
Сортировка

pgsql: Flush any remaining statistics counts out to the collector at

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Flush any remaining statistics counts out to the collector at process
exit.  Without this, operations triggered during backend exit (such as
temp table deletions) won't be counted ... which given heavy usage of
temp tables can lead to pg_autovacuum falling way behind on the need
to vacuum pg_class and pg_attribute.  Per reports from Steve Crawford
and others.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        pgstat.c (r1.88 -> r1.89)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.88&r2=1.89)