{"Entry":{"collection":"catalog","key":"pg_stat_sys_tables","name":"pg_stat_sys_tables","aliases":[],"metadata":{"changed_in":["9.1","9.4","13","16","18","19"],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"8.4","order":false,"removed":[],"status":"coverage","to":"9.0","types":[]},{"added":["vacuum_count","autovacuum_count","analyze_count","autoanalyze_count"],"attributes":[],"description_changed":false,"descriptions":[],"from":"9.0","listing":[],"order":false,"removed":[],"status":"changed","to":"9.1","types":[],"unlisted":[]},{"added":["n_mod_since_analyze"],"attributes":[],"description_changed":false,"descriptions":[],"from":"9.3","listing":[],"order":false,"removed":[],"status":"changed","to":"9.4","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":false,"descriptions":[{"from":"Number of rows updated","name":"n_tup_upd","to":"Number of rows updated (includes HOT updated rows)"}],"from":"9.4","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.5","types":[],"unlisted":[]},{"added":["n_ins_since_vacuum"],"attributes":[],"description_changed":false,"descriptions":[],"from":"12","listing":[],"order":false,"removed":[],"status":"changed","to":"13","types":[],"unlisted":[]},{"added":["last_seq_scan","last_idx_scan","n_tup_newpage_upd"],"attributes":[],"description_changed":false,"descriptions":[{"from":"Number of rows deleted","name":"n_tup_del","to":"Total number of rows deleted"},{"from":"Number of rows HOT updated (i.e., with no separate index update required)","name":"n_tup_hot_upd","to":"Number of rows HOT updated. These are updates where no successor versions are required in indexes."},{"from":"Number of rows inserted","name":"n_tup_ins","to":"Total number of rows inserted"},{"from":"Number of rows updated (includes HOT updated rows)","name":"n_tup_upd","to":"Total number of rows updated. (This includes row updates counted in n_tup_hot_upd and n_tup_newpage_upd, and remaining non-HOT updates.)"}],"from":"15","listing":[],"order":false,"removed":[],"status":"changed","to":"16","types":[],"unlisted":[]},{"added":["total_vacuum_time","total_autovacuum_time","total_analyze_time","total_autoanalyze_time"],"attributes":[],"description_changed":false,"descriptions":[{"from":"Estimated number of rows inserted since this table was last vacuumed","name":"n_ins_since_vacuum","to":"Estimated number of rows inserted since this table was last vacuumed (not counting VACUUM FULL)"}],"from":"17","listing":[],"order":false,"removed":[],"status":"changed","to":"18","types":[],"unlisted":[]},{"added":["stats_reset"],"attributes":[],"description_changed":false,"descriptions":[],"from":"18","listing":[],"order":false,"removed":[],"status":"changed","to":"19","types":[],"unlisted":[]}],"column_count":31,"content_hash":"ec17a9891406e6a42d7bc8a2181c497ff90ac6ae4a19e1bdf3a1719ae2470372","first_version":"7.4","imported_at":"2026-09-30T00:40:56.006351+08:00","kind":"statistics","last_version":"20","name":"pg_stat_sys_tables","position":111,"present_in":["7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"relation_oid":null,"relkind":"v","shared":false,"source_rev":"english-manuals:15832e80e479d7b334d551724ceee96d47b8a05bbb508e74710199ab6c5bda34","summary":"Same as pg_stat_all_tables, except that only system tables are shown.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_stat_sys_tables","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_stat_sys_tables","SourceRevision":"english-manuals:15832e80e479d7b334d551724ceee96d47b8a05bbb508e74710199ab6c5bda34","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"OID of a table","description_zh":"","documented":true,"documented_name":"relid","hidden":false,"name":"relid","not_null":false,"references":"","type":"oid","type_modifier":-1,"type_oid":26},{"array_dimensions":0,"attnum":2,"description":"Name of the schema that this table is in","description_zh":"","documented":true,"documented_name":"schemaname","hidden":false,"name":"schemaname","not_null":false,"references":"","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":3,"description":"Name of this table","description_zh":"","documented":true,"documented_name":"relname","hidden":false,"name":"relname","not_null":false,"references":"","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":4,"description":"Number of sequential scans initiated on this table","description_zh":"","documented":true,"documented_name":"seq_scan","hidden":false,"name":"seq_scan","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":5,"description":"The time of the last sequential scan on this table, based on the most recent transaction stop time","description_zh":"","documented":true,"documented_name":"last_seq_scan","hidden":false,"name":"last_seq_scan","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":6,"description":"Number of live rows fetched by sequential scans","description_zh":"","documented":true,"documented_name":"seq_tup_read","hidden":false,"name":"seq_tup_read","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":7,"description":"Number of index scans initiated on this table","description_zh":"","documented":true,"documented_name":"idx_scan","hidden":false,"name":"idx_scan","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":8,"description":"The time of the last index scan on this table, based on the most recent transaction stop time","description_zh":"","documented":true,"documented_name":"last_idx_scan","hidden":false,"name":"last_idx_scan","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":9,"description":"Number of live rows fetched by index scans","description_zh":"","documented":true,"documented_name":"idx_tup_fetch","hidden":false,"name":"idx_tup_fetch","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":10,"description":"Total number of rows inserted","description_zh":"","documented":true,"documented_name":"n_tup_ins","hidden":false,"name":"n_tup_ins","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":11,"description":"Total number of rows updated. (This includes row updates counted in n_tup_hot_upd and n_tup_newpage_upd, and remaining non-HOT updates.)","description_zh":"","documented":true,"documented_name":"n_tup_upd","hidden":false,"name":"n_tup_upd","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":12,"description":"Total number of rows deleted","description_zh":"","documented":true,"documented_name":"n_tup_del","hidden":false,"name":"n_tup_del","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":13,"description":"Number of rows HOT updated. These are updates where no successor versions are required in indexes.","description_zh":"","documented":true,"documented_name":"n_tup_hot_upd","hidden":false,"name":"n_tup_hot_upd","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":14,"description":"Number of rows updated where the successor version goes onto a new heap page, leaving behind an original version with a t_ctid field that points to a different heap page. These are always non-HOT updates.","description_zh":"","documented":true,"documented_name":"n_tup_newpage_upd","hidden":false,"name":"n_tup_newpage_upd","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":15,"description":"Estimated number of live rows","description_zh":"","documented":true,"documented_name":"n_live_tup","hidden":false,"name":"n_live_tup","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":16,"description":"Estimated number of dead rows","description_zh":"","documented":true,"documented_name":"n_dead_tup","hidden":false,"name":"n_dead_tup","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":17,"description":"Estimated number of rows modified since this table was last analyzed","description_zh":"","documented":true,"documented_name":"n_mod_since_analyze","hidden":false,"name":"n_mod_since_analyze","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":18,"description":"Estimated number of rows inserted since this table was last vacuumed (not counting VACUUM FULL)","description_zh":"","documented":true,"documented_name":"n_ins_since_vacuum","hidden":false,"name":"n_ins_since_vacuum","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":19,"description":"Last time at which this table was manually vacuumed (not counting VACUUM FULL)","description_zh":"","documented":true,"documented_name":"last_vacuum","hidden":false,"name":"last_vacuum","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":20,"description":"Last time at which this table was vacuumed by the autovacuum daemon","description_zh":"","documented":true,"documented_name":"last_autovacuum","hidden":false,"name":"last_autovacuum","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":21,"description":"Last time at which this table was manually analyzed","description_zh":"","documented":true,"documented_name":"last_analyze","hidden":false,"name":"last_analyze","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":22,"description":"Last time at which this table was analyzed by the autovacuum daemon","description_zh":"","documented":true,"documented_name":"last_autoanalyze","hidden":false,"name":"last_autoanalyze","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184},{"array_dimensions":0,"attnum":23,"description":"Number of times this table has been manually vacuumed (not counting VACUUM FULL)","description_zh":"","documented":true,"documented_name":"vacuum_count","hidden":false,"name":"vacuum_count","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":24,"description":"Number of times this table has been vacuumed by the autovacuum daemon","description_zh":"","documented":true,"documented_name":"autovacuum_count","hidden":false,"name":"autovacuum_count","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":25,"description":"Number of times this table has been manually analyzed","description_zh":"","documented":true,"documented_name":"analyze_count","hidden":false,"name":"analyze_count","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":26,"description":"Number of times this table has been analyzed by the autovacuum daemon","description_zh":"","documented":true,"documented_name":"autoanalyze_count","hidden":false,"name":"autoanalyze_count","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":27,"description":"Total time this table has been manually vacuumed, in milliseconds (not counting VACUUM FULL). (This includes the time spent sleeping due to cost-based delays.)","description_zh":"","documented":true,"documented_name":"total_vacuum_time","hidden":false,"name":"total_vacuum_time","not_null":false,"references":"","type":"double precision","type_modifier":-1,"type_oid":701},{"array_dimensions":0,"attnum":28,"description":"Total time this table has been vacuumed by the autovacuum daemon, in milliseconds. (This includes the time spent sleeping due to cost-based delays.)","description_zh":"","documented":true,"documented_name":"total_autovacuum_time","hidden":false,"name":"total_autovacuum_time","not_null":false,"references":"","type":"double precision","type_modifier":-1,"type_oid":701},{"array_dimensions":0,"attnum":29,"description":"Total time this table has been manually analyzed, in milliseconds. (This includes the time spent sleeping due to cost-based delays.)","description_zh":"","documented":true,"documented_name":"total_analyze_time","hidden":false,"name":"total_analyze_time","not_null":false,"references":"","type":"double precision","type_modifier":-1,"type_oid":701},{"array_dimensions":0,"attnum":30,"description":"Total time this table has been analyzed by the autovacuum daemon, in milliseconds. (This includes the time spent sleeping due to cost-based delays.)","description_zh":"","documented":true,"documented_name":"total_autoanalyze_time","hidden":false,"name":"total_autoanalyze_time","not_null":false,"references":"","type":"double precision","type_modifier":-1,"type_oid":701}],"columns_not_enumerated":false,"derived_from":"pg_stat_all_tables","description":"Same as pg_stat_all_tables, except that only system tables are shown.","description_zh":"","doc":{"anchor":"id-1.6.14.7.6.8.2.2.12.1.2","file":"monitoring-stats.html","lang":"en","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","slug":"18"},"kind":"statistics","lang":"en","measured_attributes":false,"metadata_release":"","runtime_columns":["relid","schemaname","relname","seq_scan","last_seq_scan","seq_tup_read","idx_scan","last_idx_scan","idx_tup_fetch","n_tup_ins","n_tup_upd","n_tup_del","n_tup_hot_upd","n_tup_newpage_upd","n_live_tup","n_dead_tup","n_mod_since_analyze","n_ins_since_vacuum","last_vacuum","last_autovacuum","last_analyze","last_autoanalyze","vacuum_count","autovacuum_count","analyze_count","autoanalyze_count","total_vacuum_time","total_autovacuum_time","total_analyze_time","total_autoanalyze_time"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"id-1.6.14.7.6.8.2.2.12.1.2","file":"monitoring-stats.html","lang":"en","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","slug":"18"}},"MeasuredEvidence":{"measured_attributes":false,"metadata_release":"","runtime_columns":["relid","schemaname","relname","seq_scan","last_seq_scan","seq_tup_read","idx_scan","last_idx_scan","idx_tup_fetch","n_tup_ins","n_tup_upd","n_tup_del","n_tup_hot_upd","n_tup_newpage_upd","n_live_tup","n_dead_tup","n_mod_since_analyze","n_ins_since_vacuum","last_vacuum","last_autovacuum","last_analyze","last_autoanalyze","vacuum_count","autovacuum_count","analyze_count","autoanalyze_count","total_vacuum_time","total_autovacuum_time","total_analyze_time","total_autoanalyze_time"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_stat_sys_tables","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_stat_sys_tables","Summary":"","BodyHTML":"\u003cp\u003e\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"ebc8d022228008f90f79137b08811ec31fa05d8c04ff7c08a4ed7a8c69b20a64","Payload":{"columns":[{"description_zh":"表的OID","name":"relid","type":"oid","zh_from":"inherited"},{"description_zh":"该表所在的模式的名称","name":"schemaname","type":"name","zh_from":"inherited"},{"description_zh":"这个表的名称","name":"relname","type":"name","zh_from":"inherited"},{"description_zh":"在此表上启动的顺序扫描数","name":"seq_scan","type":"bigint","zh_from":"inherited"},{"description_zh":"此表上最后一次顺序扫描的时间，基于最近的事务停止时间","name":"last_seq_scan","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"顺序扫描获取的存活行数","name":"seq_tup_read","type":"bigint","zh_from":"inherited"},{"description_zh":"对这个表发起的索引扫描数","name":"idx_scan","type":"bigint","zh_from":"inherited"},{"description_zh":"此表上最后一次索引扫描的时间，基于最近的事务停止时间","name":"last_idx_scan","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"索引扫描获取的存活行数","name":"idx_tup_fetch","type":"bigint","zh_from":"inherited"},{"description_zh":"插入的行数","name":"n_tup_ins","type":"bigint","zh_from":"inherited"},{"description_zh":"更新的总行数。（包括计入n_tup_hot_upd和n_tup_newpage_upd的行更新，以及其余非HOT更新。）","name":"n_tup_upd","type":"bigint","zh_from":"inherited"},{"description_zh":"删除的行数","name":"n_tup_del","type":"bigint","zh_from":"inherited"},{"description_zh":"进行HOT 更新的行数。这些更新不需要在索引中存储后继版本。","name":"n_tup_hot_upd","type":"bigint","zh_from":"inherited"},{"description_zh":"更新的行数，其中后继版本转到新的堆页，留下一个原始版本，其t_ctid字段指向不同的堆页。这些始终是非 HOT 更新。","name":"n_tup_newpage_upd","type":"bigint","zh_from":"inherited"},{"description_zh":"活的行的估计数量","name":"n_live_tup","type":"bigint","zh_from":"inherited"},{"description_zh":"死行的估计数量","name":"n_dead_tup","type":"bigint","zh_from":"inherited"},{"description_zh":"自上次分析此表以来修改的行的估计数量","name":"n_mod_since_analyze","type":"bigint","zh_from":"inherited"},{"description_zh":"自上次清理此表以来插入的行的估计数量（不计VACUUM FULL）","name":"n_ins_since_vacuum","type":"bigint","zh_from":"inherited"},{"description_zh":"最后一次手动清理这个表的时间（不包括VACUUM FULL）","name":"last_vacuum","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"这个表最后一次被自动清理守护进程清理的时间","name":"last_autovacuum","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"上一次手动分析这个表的时间","name":"last_analyze","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"自动清理守护进程最后一次分析这个表的时间","name":"last_autoanalyze","type":"timestamp with time zone","zh_from":"inherited"},{"description_zh":"这个表被手动清理的次数（VACUUM FULL不计数）","name":"vacuum_count","type":"bigint","zh_from":"inherited"},{"description_zh":"这个表被自动清理守护进程清理的次数","name":"autovacuum_count","type":"bigint","zh_from":"inherited"},{"description_zh":"手动分析这个表的次数","name":"analyze_count","type":"bigint","zh_from":"inherited"},{"description_zh":"这个表被自动清理守护进程分析的次数","name":"autoanalyze_count","type":"bigint","zh_from":"inherited"},{"description_zh":"手动清理此表所花费的总时间，以毫秒计（不包括 VACUUM FULL）。（这包括由于基于代价的延迟而睡眠的时间。）","name":"total_vacuum_time","type":"double precision","zh_from":"inherited"},{"description_zh":"自动清理守护进程清理该表所花费的总时间，以毫秒计。（这包括由于基于代价的延迟而睡眠的时间。）","name":"total_autovacuum_time","type":"double precision","zh_from":"inherited"},{"description_zh":"手动分析该表所花费的总时间，以毫秒计。（这包括由于基于代价的延迟而睡眠的时间。）","name":"total_analyze_time","type":"double precision","zh_from":"inherited"},{"description_zh":"自动清理守护进程分析该表所花费的总时间，以毫秒计。（这包括由于基于代价的延迟而睡眠的时间。）","name":"total_autoanalyze_time","type":"double precision","zh_from":"inherited"}],"description_zh":"","zh_from":""}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
