mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Clean up a number of autovacuum loose ends. Make the stats collector
track shared relations in a separate hashtable, so that operations done from different databases are counted correctly. Add proper support for anti-XID-wraparound vacuuming, even in databases that are never connected to and so have no stats entries. Miscellaneous other bug fixes. Alvaro Herrera, some additional fixes by Tom Lane.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 2001-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.33 2005/07/14 05:13:43 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.34 2005/07/29 19:30:09 tgl Exp $
|
||||
* ----------
|
||||
*/
|
||||
#ifndef PGSTAT_H
|
||||
@ -384,10 +384,11 @@ extern void pgstat_ping(void);
|
||||
extern void pgstat_report_activity(const char *what);
|
||||
extern void pgstat_report_tabstat(void);
|
||||
extern void pgstat_report_autovac(void);
|
||||
extern void pgstat_report_vacuum(Oid tableoid, bool analyze,
|
||||
PgStat_Counter tuples);
|
||||
extern void pgstat_report_analyze(Oid tableoid, PgStat_Counter livetuples,
|
||||
PgStat_Counter deadtuples);
|
||||
extern void pgstat_report_vacuum(Oid tableoid, bool shared,
|
||||
bool analyze, PgStat_Counter tuples);
|
||||
extern void pgstat_report_analyze(Oid tableoid, bool shared,
|
||||
PgStat_Counter livetuples,
|
||||
PgStat_Counter deadtuples);
|
||||
extern int pgstat_vacuum_tabstat(void);
|
||||
|
||||
extern void pgstat_reset_counters(void);
|
||||
|
Reference in New Issue
Block a user