--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 ...