日期:2014-05-16  浏览次数:20401 次

Oracle小技巧

1.如何查看oracle数据文件的地址

以sys或system用户登录

查看表空间物理文件的名称,路径及大小 
   
select tablespace_name, file_id,file_name, 
round(bytes/(1024*1024),0) total_space from dba_data_files order by tablespace_name;
2.修改数据文件大小
alter database datafile 'g:\tablespace\pegnius01.dbf' resize 1500M;