PG_STAT_USER_TABLES
PG_STAT_USER_TABLES视图显示所有命名空间中用户自定义普通表和toast表的状态信息。
示例:
openGauss=# select * from PG_STAT_USER_TABLES;
relid | schemaname | relname | seq_scan | seq_tup_read | idx_scan | idx_tup_fetch | n_tup_ins | n_tup_upd | n_tup_del | n_tup_hot_upd | n_live_tup | n_dead_tup | last_vacuum | last_autovacuum | last_analyze | last_autoanalyze | vacuum_count | autovacuum_count | analyze_count | autoanalyze_count | last_data_changed
-------+-----------------+---------------+----------+--------------+----------+---------------+-----------+-----------+-----------+---------------+------------+------------+-------------+-----------------+--------------+------------------+--------------+------------------+---------------+-------------------+-------------------
表 1 PG_STAT_USER_TABLES字段
意见反馈