--1、查看表空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE ...
ORACLE如何查看表空間存儲了那些數據庫對象呢 可以使用下面腳本簡單的查詢表空間存儲了那些對象: SELECT TABLESPACE NAME AS TABLESPACE NAME , SEGMENT NAME AS SEGMENT NAME , SUM BYTES AS SEGMENT SIZE FROM DBA SEGMENTS WHERE TABLESPACE NAME amp TABLE ...
2015-07-02 14:03 0 12909 推薦指數:
--1、查看表空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE ...
...
--1、查看表空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE ...
--1、查看表空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE ...
select a.file_name,a.tablespace_name,to_char(b.creation_time,'yyyy-mm-dd') creation_time from dba_da ...
查詢object的大小,按照降序排序 select * from user_segments s where s.BYTES is not null order by s.BYTES des ...
--1、查看表空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE ...
參考文章:https://www.cnblogs.com/ViokingJava/p/8185022.html https://www. ...