Luouy~羽林
学问如逆水行舟,不进则退; 有知识的人不实践,等于一只蜜蜂不酿蜜; 我们可以由读书而收集知识,但必须利用思考把糠和谷子分开
--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 2011-01-11 10:23  羽林.Luouy  阅读(3038)  评论(0编辑  收藏  举报