日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

oracle服务器错误,oracle 11g数据库维护中错误总结

發(fā)布時(shí)間:2025/3/20 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle服务器错误,oracle 11g数据库维护中错误总结 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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??? --上欠數(shù)據(jù)庫意外中止才會出現(xiàn)這種情況,千萬不要用shutdown abort終止數(shù)據(jù)庫

解決方法:

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???? --停止數(shù)據(jù)庫

ORA-01109: database not open

Database dismounted.

ORACLE instance shut down.

SQL> startup???? --打開數(shù)據(jù)庫

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??? --正常停止數(shù)據(jù)庫

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount??? --數(shù)據(jù)庫啟動到掛載狀態(tài)

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;??? --查看數(shù)據(jù)庫是否為歸檔模式

LOG_MODE

------------

ARCHIVELOG

SQL>

閱讀(1166) | 評論(2) | 轉(zhuǎn)發(fā)(0) |

總結(jié)

以上是生活随笔為你收集整理的oracle服务器错误,oracle 11g数据库维护中错误总结的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。