如下:
select relname as 表名, reltuples as 记录数
from pg_class
where relkind = 'r'
and relnamespace = (select oid from pg_namespace where nspname='xxxxx') order by 记录数 desc;
如下:
select relname as 表名, reltuples as 记录数
from pg_class
where relkind = 'r'
and relnamespace = (select oid from pg_namespace where nspname='xxxxx') order by 记录数 desc;
如若转载,请注明出处:https://paper.404sec.com/1493.html