ORA-01219:database not open:queries allowed on fixed tables/views only
2013-07-04 15:48
761 查看
在删除一些没用的表空间时,报ORA-01219:database not open:queries allowed on fixed tables/views only错误,经网络查找方案终解决问题,这里记录下来做个总结。
ORA-01219错误解决方案:
ORA-01219:database not open:queries allowed on fixed tables/views only
“ORA-01219:数据库未打开:仅允许在固定表/视图中查询”的警告窗口!
解决办法:
这一段是找出打开数据库的时候报错的地方
SQL> select open_mode from v$database;
OPEN_MODE
----------
MOUNTED
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01157: cannot identify/lock data file 18 - see DBWR trace file
ORA-01110: data file 18: 'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf'
这里就是讲'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf'这个文件出问题
我们要做的就是删掉这个残留文件
进行下一步:
SQL> alter database datafile 'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf' offline drop;
Database altered.
SQL> alter database open;
Database altered.
ORA-01219错误解决方案:
ORA-01219:database not open:queries allowed on fixed tables/views only
“ORA-01219:数据库未打开:仅允许在固定表/视图中查询”的警告窗口!
解决办法:
这一段是找出打开数据库的时候报错的地方
SQL> select open_mode from v$database;
OPEN_MODE
----------
MOUNTED
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01157: cannot identify/lock data file 18 - see DBWR trace file
ORA-01110: data file 18: 'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf'
这里就是讲'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf'这个文件出问题
我们要做的就是删掉这个残留文件
进行下一步:
SQL> alter database datafile 'D:/qhms_db/EAS_D_EASDEV_STANDARD.dbf' offline drop;
Database altered.
SQL> alter database open;
Database altered.
相关文章推荐
- ORA-01219:database not open:queries allowed on fixed tables/views only
- ORA-01219:database not open:queries allowed on fixed tables/views only
- ORA-01157报错"cannot identify/lock data file" ORA-01219:database not open:queries allowed on fixed
- ORA-02030: can only select from fixed tables/views
- ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- Connection is read-only. Queries leading to data modification are not allowed
- 解决ssh中Connection is read-only. Queries leading to data modification are not allowed
- 使用Spring提供的Open Session In View而引起Write operations are not allowed in read-only mode (FlushMode.NEVE
- nopCommerce issue fixed (Could not obtain exclusive lock on database ‘model’)
- ORACLE ORA-02030: can only select from fixed tables/views
- 【Oracle问题集5】ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on table
- Connection is read-only. Queries leading to data modification are not allowed
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- ORA-19953: database should not be open