select tablespace_name, file_id, file_name,
round(bytes/(1024*1024),0) total_space
from dba_data_files
order by tablespace_name;
本文提供了一段SQL查询语句,用于查询Oracle数据库中各表空间的数据文件ID、文件名及总空间大小(单位为MB)。通过执行此SQL语句,数据库管理员可以方便地了解每个表空间的具体使用情况。
select tablespace_name, file_id, file_name,
round(bytes/(1024*1024),0) total_space
from dba_data_files
order by tablespace_name;
4098
1243

被折叠的 条评论
为什么被折叠?