select t.table_name,t.num_rows from user_tables t ORDER BY NUM_ROWS DESC;//实际行数

 

analyze table emp compute statistics;
select num_rows * avg_row_len
from user_tables
where table_name = 'TB_SYS_LOG';//某一个表占用的空间

 

analyze table emp compute statistics;
select table_name,num_rows * avg_row_len len
from user_tables order by len desc;//所有表占用的空间

相关文章:

  • 2022-12-23
  • 2021-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-06-07
  • 2021-07-11
  • 2023-03-14
猜你喜欢
  • 2022-01-11
  • 2021-12-23
  • 2022-02-18
  • 2022-12-23
  • 2021-12-22
  • 2021-09-14
相关资源
相似解决方案