查看库:
select pg_size_pretty(pg_relation_size('gp_test'));
查看表:
select pg_size_pretty(pg_total_relation_size('gp_test'));
Powered by: 博客园 Copyright © 2024 红与黑hyh Powered by .NET 9.0 on Kubernetes