mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Add vacuum and analyze counters to pg_stat_*_tables views.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 2001-2010, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.90 2010/08/08 16:27:06 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.91 2010/08/21 10:59:17 mha Exp $
|
||||
* ----------
|
||||
*/
|
||||
#ifndef PGSTAT_H
|
||||
@ -525,9 +525,13 @@ typedef struct PgStat_StatTabEntry
|
||||
PgStat_Counter blocks_hit;
|
||||
|
||||
TimestampTz vacuum_timestamp; /* user initiated vacuum */
|
||||
PgStat_Counter vacuum_count;
|
||||
TimestampTz autovac_vacuum_timestamp; /* autovacuum initiated */
|
||||
PgStat_Counter autovac_vacuum_count;
|
||||
TimestampTz analyze_timestamp; /* user initiated */
|
||||
PgStat_Counter analyze_count;
|
||||
TimestampTz autovac_analyze_timestamp; /* autovacuum initiated */
|
||||
PgStat_Counter autovac_analyze_count;
|
||||
} PgStat_StatTabEntry;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user