ORA-01537 錯誤及解決方法
Problem Description
-------------------
You have offline dropped a datafile then try to recreate the datafile (ALTER
DATABASE ADD DATAFILE) with the same name and get error message:
ORA-1537 (datafile already exists) even though you have offline dropped it.
ORA-01537: "cannot add data file '%s' - file already part of database"
Cause: During CREATE or ALTER TABLESPACE, a file being added is already part of the database.
Action: Use a different file name.
ORA-00376: "file %s cannot be read at this time"
Cause: attempting to read from a file that is not readable. Most likely
the file is offline.
Action: Check the state of the file. Bring it online
Solution Description
--------------------
Before proceeding, see Note 111316.1 How to 'DROP' a Datafile from a
Tablespace.
If a tablespace has only one datafile then dropping the tablespace will remove details of the datafile from the data dictionary.
If a tablespace has more than one datafile, then to remove the datafile, the tablespace must be dropped and recreated having exported any data that needs to be retained.
To remove details of the datafile from the Data Dictionary:
1) Export the entire tablespace contents.
2) Drop the tablespace, including contents.
3) Rebuild the tablespace with the datafiles you want it to contain.
4) Import the data back in.
Explanation
-----------
The Data Dictionary still contains information that this datafile
exists. Offline drop of a datafile does not remove it from the Data
Dictionary.
-------------------
You have offline dropped a datafile then try to recreate the datafile (ALTER
DATABASE ADD DATAFILE) with the same name and get error message:
ORA-1537 (datafile already exists) even though you have offline dropped it.
ORA-01537: "cannot add data file '%s' - file already part of database"
Cause: During CREATE or ALTER TABLESPACE, a file being added is already part of the database.
Action: Use a different file name.
ORA-00376: "file %s cannot be read at this time"
Cause: attempting to read from a file that is not readable. Most likely
the file is offline.
Action: Check the state of the file. Bring it online
Solution Description
--------------------
Before proceeding, see Note 111316.1 How to 'DROP' a Datafile from a
Tablespace.
If a tablespace has only one datafile then dropping the tablespace will remove details of the datafile from the data dictionary.
If a tablespace has more than one datafile, then to remove the datafile, the tablespace must be dropped and recreated having exported any data that needs to be retained.
To remove details of the datafile from the Data Dictionary:
1) Export the entire tablespace contents.
2) Drop the tablespace, including contents.
3) Rebuild the tablespace with the datafiles you want it to contain.
4) Import the data back in.
Explanation
-----------
The Data Dictionary still contains information that this datafile
exists. Offline drop of a datafile does not remove it from the Data
Dictionary.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-667864/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 帝國CMS搬家常見錯誤及解決方法
- tensorflow安裝使用過程錯誤及解決方法
- PbootCMS 404 錯誤解決方法boot
- dbfread報錯ValueError錯誤解決方法Error
- 資料庫連線錯誤的原因及解決方法資料庫
- SSL證書7大常見錯誤及解決方法!
- 中科三方——SSL常見錯誤及解決方法
- dedecms提示500錯誤解決方法
- undefined reference to錯誤的解決方法Undefined
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- 伺服器出現 HTTP 錯誤程式碼,及解決方法伺服器HTTP
- SSL證書七大常見錯誤及解決方法
- Hadoop常見錯誤及解決方案Hadoop
- MySQL 主從複製,常見的binlog錯誤及解決方法MySql
- PHP初學者最常遇到的8個錯誤及解決方法PHP
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- 恆創科技:網站401錯誤的常見原因及解決方法網站
- Linux中常見的檔案讀寫錯誤問題及解決方法!Linux
- nginx出現403錯誤的解決方法Nginx
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- standby新增檔案錯誤的解決方法
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- 平臺配置及測試錯誤提示及解決方案
- No bean named 'xxx' is defined錯誤,原因及解決方案Bean
- Oracle的TNS-12502 錯誤原因及解決Oracle
- ORA-39006錯誤原因及解決辦法
- iOS路上遇到的錯誤及解決辦法iOS
- Oracle 錯誤總結及問題解決 ORAOracle
- Ocelot錯誤解決
- 程式設計師簡歷中最致命的「八個錯誤 」及解決方法程式設計師
- PHP & Linux: libsodium.so.23 錯誤解決方法PHPLinux
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- Linux yum提示Loaded plugins錯誤的解決方法LinuxPlugin
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- 爬蟲常見錯誤程式碼及解決措施爬蟲
- Elasticsearch常見的5個錯誤及解決策略Elasticsearch
- 印表機提示列印錯誤怎麼解決 印表機狀態錯誤的方法
- 爬蟲使用海外HTTP代理時常見的錯誤程式碼及解決方法爬蟲HTTP
- 日常python報錯及解決方法記錄Python