oracle ORA-01157: cannot identify/lock data file 64
有人誤在RAC端建立本地資料檔案
資料庫後臺告警
Errors in file /orasoft/oracle/diag/rdbms/ptdb/ptdb1/trace/ptdb1_dbw0_4838.trc:
ORA-01157: cannot identify/lock data file 64 - see DBWR trace file
ORA-01110: data file 64: '/orasoft/product/11.2.0/db_1/ts_st.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
1.無法正常查詢
select file_name,tablespace_name from dba_data_files where tablespace_name='TS_ST';
2.發現該資料檔案的物理檔案已經被刪除
select name from v$datafile;
3.客戶確認後 ,進行邏輯刪除
alter database datafile 64 offline drop;
4.再次查詢發現資料檔案的狀態為AVAILABLE
select file_name,tablespace_name from dba_data_files where tablespace_name='TS_ST';
5.刪除整個表空間及資料檔案
drop tablespace TL_SL including contents and datafiles;
正常情況來說,是可以刪掉,但是刪除表空間出現ORA-22868錯誤
在當前要刪除的表空間中含有大型別比如blob型別的欄位,並且該段可能儲存於不同的表空間內
6.EVENT_FORM存在bolb型別的欄位,drop掉即可
select owner,table_name,tablespace_name from dba_lobs where tablespace_name='TS_ST';
7.drop成功
drop tablespace TS_ST including contents and datafiles;
來自 “ ITPUB部落格 ” ,連結:https://blog.itpub.net/69980685/viewspace-3001494/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- The number of method references in a .dex file cannot exceed 64K.
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "問題ErrorOracleclient
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- ThunderSoft File Lock for Mac檔案鎖Mac
- Oracle 11g Data Guard 增加資料檔案報錯:ORA-01111、ORA-01110、ORA-01157Oracle
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- ORACLE LOCK,LATCH,PINOracle
- ORACLE LOCK MODE 1.2.3.4.5.6Oracle
- Android:Unexpected lock protocol found in lock file. Expected 3, found 0.AndroidProtocol
- cannot find trajectory file at ./examples/trajectory.txt
- conda環境下ImportError: libmkl_intel_lp64.so.1: cannot open shared object file問題解決ImportErrorIBMIntelObject
- iis 0x80070032 Cannot read configuration file because it exceeds the maximum file size
- WebLogic啟動報Could not get the server file lockWebServer
- ulimit: core file size: cannot modify limit: Operation not permittedMIT
- ELF file data encoding not little-endianEncoding
- ORACLE基礎之oracle鎖(oracle lock mode)詳解Oracle
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- Oracle data link建立Oracle
- Oracle:db file scattered readOracle
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- OPatch cannot find a valid oraInst.loc file to locate Central InventoryAI
- Cannot find a valid baseurl for repo: base/7/x86_64
- 4.1.6 Oracle Restart 與 Oracle Data Guard 整合OracleREST
- Oracle Data Guard Broker元件Oracle元件
- Oracle Data Guard簡介Oracle
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- 【問題處理】ORA-00376 file xx cannot be read at this time
- Oracle ASM Cluster File Systems (ACOracleASM
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- Oracle RAC Cache Fusion 系列十:Oracle RAC Enqueues And Lock Part 1OracleENQ
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- Warning: Variable 'a' cannot be saved to a MAT-file whose version is older than 7.3.
- sqlserver bulk insert報錯Cannot bulk load because the file could not be opened.SQLServer
- [20200416]ORA-01187 cannot read from file because it failed verification tests.AI
- 1 關於 Oracle Data GuardOracle