OracleSQLメモ_テーブルの容量 Oracleoracle 2019.06.04 Oracle12cDB内のテーブル容量をSQLで Oracle PL/SQL SELECT T.TABLE_NAME,T.NUM_ROWS,S.MB FROM USER_TABLES T INNER JOIN (SELECT SEGMENT_NAME,ROUND(BYTES/1024/1024,2) MB FROM USER_SEGMENTS ) S ON T.TABLE_NAME = S.SEGMENT_NAME ORDER BY S.MB DESC 12345 SELECT T.TABLE_NAME,T.NUM_ROWS,S.MB FROM USER_TABLES TINNER JOIN (SELECT SEGMENT_NAME,ROUND(BYTES/1024/1024,2) MB FROM USER_SEGMENTS) S ON T.TABLE_NAME = S.SEGMENT_NAMEORDER BY S.MB DESC
コメント