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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Flush any remaining statistics counts out to the collector at
Date: 2005-03-31 23:21:33
Message-ID: 20050331232133.AF74C53A87@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
pgstat.c (r1.45.2.2 -> r1.45.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.45.2.2&r2=1.45.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message User Elein 2005-04-01 03:00:40 newsysviews - newsysview: First pass at type views
Previous Message Tom Lane 2005-03-31 23:21:12 pgsql: Flush any remaining statistics counts out to the collector at