Oracle 表格大小分析
select SEGMENT_NAME,sum(BYTES/1024/1024)||'M' from USER_EXTENTS
where SEGMENT_TYPE='TABLE' group by SEGMENT_NAME
order by sum(BYTES/1024/1024) desc
可以分析占用空间最大的表格
select SEGMENT_NAME,sum(BYTES/1024/1024)||'M' from USER_EXTENTS
where SEGMENT_TYPE='TABLE' group by SEGMENT_NAME
order by sum(BYTES/1024/1024) desc
可以分析占用空间最大的表格