日期:2014-05-16 浏览次数:20501 次
?
--计算指定表的数据与索引大小:
select segment_name,segment_type,bytes/1024/1024 MB,blocks*8/1024 MB from user_segments
where
segment_name = 'T_MESSAGE_INFO'
or
segment_name in (select index_name from user_indexes where table_name = 'T_MESSAGE_INFO')
?
?