2012-06-20 25 views
0

嘗試創建爲用戶更換表,我無意間創造了一個數據文件在系統去除SYSTEM表空間的用戶創建的數據文件中的Oracle

太多的應用程序正在使用的數據庫,以降低整個數據庫,和人如果這些應用程序沒有運行,會受到傷害。

有沒有辦法讓我從SYSTEM表空間中刪除數據文件而不關閉它?

我想:

ALTER TABLESPACE SYSTEM DROP DATAFILE 'path_here.dbf' 

,但得到這個錯誤:

Error starting at line 1 in command: 
alter tablespace system drop datafile 'path_here.dbf' 
Error report: 
SQL Error: ORA-01541: system tablespace cannot be brought offline; shut down if necessary 
01541. 00000 - "system tablespace cannot be brought offline; shut down if necessary" 
*Cause: Tried to bring system tablespace offline 
*Action: Shutdown if necessary to do recovery 
+0

您可能想嘗試將此問題移至dba.stackexchange.com –

回答

2

從Oracle 11.1 documentation

You cannot drop datafiles in the SYSTEM tablespace.

但是你可以調整數據文件。

相關問題