oracle temp01.dbf 文件的释放

 create temporary tablespace temp2
  tempfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP02.DBF' size 512M reuse
   autoextend on next 640k maxsize unlimited;
 

 
 alter database default temporary tablespace temp2;
 

 
 drop tablespace temp including contents and datafiles;
 

--(注意:由于临时表空间的数据文件比较大,所以这步可能会花费比较长的时间)
 create temporary tablespace temp
    tempfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF' size 512M reuse
    autoextend on next 640K maxsize unlimited;
 

 
 alter database default temporary tablespace temp;
 

 
 drop tablespace temp2 including contents and datafiles;
posted @ 2009-12-04 15:39  左少白  阅读(978)  评论(0编辑  收藏  举报