rdchen

oracle 查看表空间名称大小以及物理路径

--1、查看表空间的名称及大小
select
t.tablespace_name,
round(sum(bytes/(1024*1024)),0) ts_size
from
dba_tablespaces t,
dba_data_files d
where
t.tablespace_name = d.tablespace_name
group by t.tablespace_name;

--2、查看表空间物理文件的名称及大小
select
tablespace_name,
file_id, file_name,
round(bytes/(1024*1024),0) total_space
from
dba_data_files
order by tablespace_name;

posted on 2019-08-05 16:05  爱跳舞的程序员  阅读(4295)  评论(0编辑  收藏  举报

分类:

技术点:

相关文章:

  • 2021-12-23
  • 2021-12-23
  • 2021-12-13
  • 2021-11-19
  • 2022-12-23
  • 2022-01-02
  • 2022-03-02
  • 2022-01-02
猜你喜欢
  • 2021-11-19
  • 2022-03-01
  • 2022-01-02
  • 2021-11-19
  • 2021-12-23
相关资源
相似解决方案