jycjy

SELECT segment_name AS TABLENAME,round(BYTES/1024/1024,2)  FROM user_segments WHERE segment_name=\'表名\'。  查出来的是M为单位;

 

 

select tt1.table_name,
tt1.length1,
tt2.rownums,
round(tt1.length1 * tt2.colnum * tt2.rownums / 1024 / 1024, 2) as sum_MB
from (select t.table_name, sum(t.DATA_LENGTH) as length1
from dba_tab_columns t, ecp_temp t1
where t.owner = \'BIDPRO\'
and t.table_name = t1.tablename
group by t.table_name) tt1,

ecp_temp tt2
where tt1.table_name = tt2.tablename;

分类:

技术点:

相关文章:

  • 2021-12-23
  • 2021-12-29
  • 2021-12-04
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2021-11-24
  • 2022-01-05
  • 2021-12-23
相关资源
相似解决方案