SELECT owner,
DECODE (partition_name,
NULL, segment_name,
segment_name || ':' || partition_name
) NAME,
segment_type, tablespace_name, BYTES/1024/1024 , initial_extent, next_extent,
pct_increase, extents, max_extents
FROM dba_segments
WHERE 1 = 1 AND extents > 1 and owner='SMHIS'--smhis这个是用户
ORDER BY 9 DESC, 3
oracle中查看每个表占用的表空间大小语句
最新推荐文章于 2024-09-14 14:09:59 发布