📜  oracle 索引大小 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:19.488000             🧑  作者: Mango

代码示例1
SELECT SEGMENT_NAME, OWNER, round(sum(BYTES) / 1e6, 0) AS SIZE_MB
FROM DBA_SEGMENTS
WHERE TABLESPACE_NAME = 'tbs_name'
GROUP BY SEGMENT_NAME, OWNER
ORDER BY SIZE_MB DESC;