oracle服务器错误,oracle 11g数据库维护中错误总结
1.開啟歸檔日志失敗
1
2
3
4
5
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode??? --上欠數據庫意外中止才會出現這種情況,千萬不要用shutdown abort終止數據庫
解決方法:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SQL> shutdown immediate???? --停止數據庫
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup???? --打開數據庫
ORACLE instance started.
Total System Global Area? 661209088 bytes
Fixed Size????????? 1338560 bytes
Variable Size???????? 486540096 bytes
Database Buffers????? 167772160 bytes
Redo Buffers??????????? 5558272 bytes
Database mounted.
Database opened.
SQL> shutdown immediate??? --正常停止數據庫
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount??? --數據庫啟動到掛載狀態
ORACLE instance started.
Total System Global Area? 661209088 bytes
Fixed Size????????? 1338560 bytes
Variable Size???????? 486540096 bytes
Database Buffers????? 167772160 bytes
Redo Buffers??????????? 5558272 bytes
Database mounted.
SQL> alter database archivelog;??? --修改成功
Database altered.
SQL>
測試:
1
2
3
4
5
SQL> select log_mode from v$database;??? --查看數據庫是否為歸檔模式
LOG_MODE
------------
ARCHIVELOG
SQL>
閱讀(1166) | 評論(2) | 轉發(0) |
總結
以上是生活随笔為你收集整理的oracle服务器错误,oracle 11g数据库维护中错误总结的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle 导出数据 utl,【原创】
- 下一篇: oracle catalog start