在尝试为 USER 创建替换表空间时,我不小心在 SYSTEM 中创建了一个数据文件
太多的应用程序正在使用数据库来关闭整个数据库,如果这些应用程序不运行,人们会受到伤害。
有没有办法让我从 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