--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 data files a,v datafile b where a.file id b.file order by tablespace name ...
2017-03-07 10:25 0 2547 推薦指數:
--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 ...
--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步:創建臨時表空間 */create temporary tablespace tv_temp tempfile 'D:\orcldata\tv\temp.dbf' size 20480M autoextend on next 500M maxsize 30720Mextent ...
查詢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 ...