非歸檔資料檔案誤刪除解決辦法
To take a datafile offline when the database is in NOARCHIVELOG mode, use the ALTER
DATABASE statement with both the DATAFILE and OFFLINE FOR DROP clauses.
■ The OFFLINE keyword causes the database to mark the datafile OFFLINE, whether
or not it is corrupted, so that you can open the database.
■ The FOR DROP keywords mark the datafile for subsequent dropping. Such a datafile
can no longer be brought back online.
DATABASE statement with both the DATAFILE and OFFLINE FOR DROP clauses.
■ The OFFLINE keyword causes the database to mark the datafile OFFLINE, whether
or not it is corrupted, so that you can open the database.
■ The FOR DROP keywords mark the datafile for subsequent dropping. Such a datafile
can no longer be brought back online.
——————————————————————————————————————
Note: This operation does not actually drop the datafile. It
remains in the data dictionary, and you must drop it yourself using
one of the following methods:
■ An ALTER TABLESPACE ... DROP DATAFILE statement.
After an OFFLINE FOR DROP, this method works for dictionary
managed tablespaces only.
■ A DROP TABLESPACE ... INCLUDING CONTENTS AND DATAFILES
statement
■ If the preceding methods fail, an operating system command to
delete the datafile. This is the least desirable method, as it
leaves references to the datafile in the data dictionary and
control files.
——————————————————————————————————————
The following statement takes the specified datafile offline and marks it to be dropped:
ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf' OFFLINE FOR DROP;
Note: This operation does not actually drop the datafile. It
remains in the data dictionary, and you must drop it yourself using
one of the following methods:
■ An ALTER TABLESPACE ... DROP DATAFILE statement.
After an OFFLINE FOR DROP, this method works for dictionary
managed tablespaces only.
■ A DROP TABLESPACE ... INCLUDING CONTENTS AND DATAFILES
statement
■ If the preceding methods fail, an operating system command to
delete the datafile. This is the least desirable method, as it
leaves references to the datafile in the data dictionary and
control files.
——————————————————————————————————————
The following statement takes the specified datafile offline and marks it to be dropped:
ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf' OFFLINE FOR DROP;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29802484/viewspace-1731970/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 非歸檔模式下資料檔案被誤刪的解決方法模式
- 【undo】undo 意外刪除處理辦法(非歸檔)
- mac檔案刪除不了的解決辦法Mac
- 誤刪除資料檔案、控制檔案的非RMAN恢復方法
- 【恢復】非歸檔模式下因誤刪除資料檔案導致資料庫無法OPEN的故障處理模式資料庫
- 非歸檔模式下恢復利用offline drop命令誤刪除的資料檔案模式
- 強制刪除歸檔檔案
- 刪除歸檔日誌檔案
- 誤刪除dual表的解決辦法
- 誤刪出資料檔案,透過dbca無法刪除資料庫問題資料庫
- 使用RMAN安全刪除歸檔檔案
- 刪除檔案或目錄提示"檔案或目錄無法刪除"的解決方法!
- 無備份恢復(歸檔模式)已刪除資料檔案模式
- 歸檔模式下,線上刪除資料檔案的完全恢復模式
- 資料檔案誤刪除(DM_單機)
- Oracle恢復誤刪除的資料檔案Oracle
- Oracle非關鍵資料檔案作業系統誤刪除處理Oracle作業系統
- 非歸檔庫誤刪表空間後的資料恢復資料恢復
- 刪除歸檔
- 非歸檔下日誌檔案丟失的處理辦法
- redo log 丟失(非歸檔模式,資料庫正常關閉,redo log 被誤刪除!)模式資料庫
- 定期刪除歸檔檔案的指令碼指令碼
- 使用檔案描述符恢復誤刪除的資料檔案
- 刪除大量檔案Argument list too long錯誤解決
- Oracle資料庫頻繁歸檔問題的解決辦法Oracle資料庫
- Oracle 刪除資料檔案Oracle
- oracle刪除資料檔案Oracle
- 刪除空資料檔案
- oracle誤刪除表空間的資料檔案Oracle
- win10電腦刪除檔案時提示檔案正在使用無法刪除怎麼解決Win10
- 電腦刪除檔案速度很慢怎麼辦?電腦刪除檔案速度慢的解決方法
- 檔案無法粉碎解決辦法
- ORACLE刪除歸檔Oracle
- ORACLE資料庫歸檔改為非歸檔Oracle資料庫
- 達夢資料庫DM8之刪除歸檔日誌檔案資料庫
- 歸檔模式下的表空間檔案無法用命令刪除模式
- linux下恢復誤刪除的資料檔案Linux
- 誤刪除InnoDB ibdata資料檔案(無備份)