相关查询语句
select relname,reltuples from pg_class where relname='pgbench_accounts';
show autovacuum_vacuum_scale_factor ;
select count(*) from pgbench_accounts;
\dt+ pgbench_accounts
SELECT * FROM pgstattuple('pgbench_accounts'); --需要开启插件
SELECT relname, n_live_tup, n_dead_tup FROM pg_stat_user_tables;
表膨胀
揭开表膨胀的神秘面纱