select sum(byte/1024/1024/1024) from dba_segments; #注:除以3个1024后的大小为GB
select * from v$recovery_file_dest; #查看归档日志大小及使用情况
alter system set recovery_file_dest_size=50G #设置归档日志大小
select instance_name from v$database; #查看实例名
select cdb from v$database; #查看是否开启cdb
select tablespace_name,file_name,table_id from dba_data_files order by file_id; #查看数据库文件
select name from v$ datafile; #查看数据文件
标签:1024,常用,name,查看,file,oracle,cdb,select From: https://www.cnblogs.com/santia-god/p/16828068.html