【實驗】重建臨時表空間解決臨時表空間過大問題
今天在測試庫中建立大表索引後臨時表空間自動擴充套件到了10G,我採用了重建臨時表空間的方式處理了一下,記錄如下:
1.建立中轉臨時表空間
create temporary tablespace temp1 tempfile '/oracle/oradata/secooler/temp02.dbf' size 512m reuse autoextend on next 1m maxsize unlimited;
2.改變預設臨時表空間為剛剛建立的新臨時表空間temp1
alter database default temporary tablespace temp1;
3.刪除原臨時表空間
drop tablespace temp including contents and datafiles;
4.重建臨時表空間
create temporary tablespace temp tempfile '/oracle/oradata/secooler/temp01.dbf' size 512m reuse autoextend on next 1m maxsize unlimited;
5.重置預設臨時表空間為新建的temp表空間
alter database default temporary tablespace temp;
6.刪除中轉用臨時表空間
drop tablespace temp1 including contents and datafiles;
OK,搞定!
BTW:
另外還有一種修改臨時表空間大小的方法,詳見《【實驗】RESIZE方法解決臨時表空間過大問題》
http://space.itpub.net/?uid-519536-action-viewspace-itemid-610138
-- The End --
1.建立中轉臨時表空間
create temporary tablespace temp1 tempfile '/oracle/oradata/secooler/temp02.dbf' size 512m reuse autoextend on next 1m maxsize unlimited;
2.改變預設臨時表空間為剛剛建立的新臨時表空間temp1
alter database default temporary tablespace temp1;
3.刪除原臨時表空間
drop tablespace temp including contents and datafiles;
4.重建臨時表空間
create temporary tablespace temp tempfile '/oracle/oradata/secooler/temp01.dbf' size 512m reuse autoextend on next 1m maxsize unlimited;
5.重置預設臨時表空間為新建的temp表空間
alter database default temporary tablespace temp;
6.刪除中轉用臨時表空間
drop tablespace temp1 including contents and datafiles;
OK,搞定!
BTW:
另外還有一種修改臨時表空間大小的方法,詳見《【實驗】RESIZE方法解決臨時表空間過大問題》
http://space.itpub.net/?uid-519536-action-viewspace-itemid-610138
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-607567/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【實驗】RESIZE方法解決臨時表空間過大問題
- 轉:Oracle 臨時表空間過大問題解決Oracle
- 臨時表空間過大的解決方法
- oracle 重建臨時表空間 tempfileOracle
- oracle清理和重建臨時表空間Oracle
- oracle 臨時表空間Oracle
- oracle臨時表空間Oracle
- 臨時表空間ORA-1652問題解決
- 解決Oracle臨時表空間佔滿的問題Oracle
- Oracle臨時表空間檢視、新增臨時表空間資料檔案、修改預設臨時表空間 方法!Oracle
- 系統臨時表空間不足問題
- 批量處理時臨時增加回滾表空間臨時表空間檔案
- 臨時表空間的建立、刪除,設定預設臨時表空間
- oracle的臨時表空間解決問題的步驟Oracle
- mysql臨時表,臨時表空間,ibtmp1表空間暴增原因初探MySql
- Oracle 臨時表空間概念Oracle
- oracle臨時表空間組Oracle
- oracle的臨時表空間Oracle
- Oracle Temp 臨時表空間Oracle
- 【UNDO】使用重建UNDO表空間方法解決UNDO表空間過大問題
- oracle 9i 臨時表空間問題Oracle
- 臨時表空間資料刪除問題
- 【臨時表空間組】臨時表空間組的建立、維護及應用
- 【儲存管理】建立臨時表空間組、建立臨時表空間組及使用
- 臨時表空間已滿的解決方法
- 【臨時表空間】11g中使用 SHRINK方法縮小臨時表空間和臨時檔案
- oracle臨時表空間過大的原因&&處理Oracle
- 【臨時表空間】11g中使用 SHRINK方法縮小臨時表空間和臨時檔案(續)
- oracle臨時表空間相關Oracle
- MySQL InnoDB臨時表空間配置MySql
- Oracle TEMP臨時表空間概念Oracle
- Oracle 臨時表空間的概念Oracle
- 臨時表空間操作總結
- ORACLE臨時表空間總結Oracle
- 刪掉Oracle臨時表空間Oracle
- ORACLE臨時表空間的清理Oracle
- oracle 表空間,臨時表空間使用率查詢Oracle
- Oracle9i重建和切換臨時表空間Oracle