之前要測驗在虛擬機上安裝oracle性能,用工具添加了用戶cc、表空間cc、及資料庫檔案/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf;
當時用戶沒添加成功,表空間也沒有,就只有dbf檔案,本來存盤是asm存盤,DATA的,但dbf放在了本地;目前
目錄下已沒有這個檔案了,但是資料庫查詢還能查到,多次關閉、啟動過資料庫,均還能查到這個檔案
SQL> alter tablespace users drop datafile '/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf';
ORA-03284: datafile or tempfile
/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf is not a member of
tablespace USERS
SQL> select distinct TABLESPACE_NAME from tabs
TABLESPACE_NAME
------------------------------
SYSAUX
SYSTEM
uj5u.com熱心網友回復:
上面顯示 is not a member of tablespace USERS。你看看那個 dba_data_files 里面的記錄是什么情況
uj5u.com熱心網友回復:
你登錄到另外一個節點試試看,因為你創建的資料檔案可能不再當前登錄的節點,另外,如果已經寫過資料的資料檔案是不能drop的,建議將該檔案從本地檔案系統遷移至ASM上轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/71806.html
標籤:基礎和管理
上一篇:求助ORA-02068: following severe error from *** ORA-03135: connection lost con
