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