SELECT T.OWNER, T.SEGMENT_NAME, SUM(T.BYTES) / 1024 / 1024
FROM DBA_SEGMENTS T
WHERE T.OWNER = ‘user_name‘
AND T.SEGMENT_NAME = ‘table_name‘
GROUP BY T.OWNER, T.SEGMENT_NAME;
时间: 2024-10-11 01:05:26
SELECT T.OWNER, T.SEGMENT_NAME, SUM(T.BYTES) / 1024 / 1024
FROM DBA_SEGMENTS T
WHERE T.OWNER = ‘user_name‘
AND T.SEGMENT_NAME = ‘table_name‘
GROUP BY T.OWNER, T.SEGMENT_NAME;