oracle刪除datafile導致資料庫打不開

paynefu發表於2013-01-30
1、首先shutdown資料庫,把資料庫啟動到mount模式下。
2、將被刪除的資料檔案修改成離線模式,如,在archivelog模式下,alter database datafile '資料檔案路徑' offline。非archivelog模式下,alter database datafile '資料檔案路徑' offline drop。
3 、把資料庫置於open狀態,刪除該資料檔案對應的表空間。drop tablespace 表空間名 including contents and datafiles。
4、重建該表空間。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27135177/viewspace-753567/,如需轉載,請註明出處,否則將追究法律責任。

相關文章