赞
踩
SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size
FROM dba_tablespaces t, dba_data_files d
WHERE t.tablespace_name = d.tablespace_name
GROUP BY t.tablespace_name;
SELECT tablespace_name,
file_id,
file_name,
round(bytes / (1024 * 1024), 0) total_space
FROM dba_data_files
ORDER BY tablespace_name;
SELECT segment_name,
tablespace_name,
r.status,
(initial_extent / 1024) initialext
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。