最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

ORA-00392: log 3 of thread 1 is being cleared, operation not all

2022-10-13 17:54 作者:夜灬長夢多  | 我要投稿

數(shù)據(jù)庫:oracle 11.2.0.4

系統(tǒng):AnolisOS7.9

問題描述:Rman恢復后,以resetlogs方式打開數(shù)據(jù)庫,報錯ORA-00392、ORA-00312,如下所示:

SQL>alter database open resetlogs;

alterdatabase open resetlogs

*

ERROR atline 1:

ORA-00392:log 3 of thread 1 is being cleared, operation not allowed

ORA-00312:online log 3 thread 1: '/u01/app/oracle/oradata/orcl/redo03.log'

異常原因:在線日志文件log 3正在被清除,無法open數(shù)據(jù)庫.

解決過程如下:

SQL>select group#,status from v$log;

GROUP# STATUS

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

1 CLEARING

2 CLEARING

3 CLEARING_CURRENT

4 CLEARING

5 CLEARING

6 CLEARING

7 CLEARING

8 CLEARING

9 CLEARING

10 CLEARING

11 CLEARING

GROUP# STATUS

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

12 UNUSED

12 rows selected.

SQL>alter database clear logfile group 4;

Databasealtered.

SQL>alter database clear logfile group 3;

Databasealtered.

SQL>alter database clear logfile group 5;

Databasealtered.

SQL>select group#,status from v$log;

GROUP# STATUS

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

1 CLEARING

2 CLEARING

3 CURRENT

4 UNUSED

5 UNUSED

6 CLEARING

7 CLEARING

8 CLEARING

9 CLEARING

10 CLEARING

11 CLEARING

GROUP# STATUS

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

12 UNUSED

12 rowsselected.

SQL>alter database open resetlogs;

Databasealtered.

說明:成功以resetlogs方式打開數(shù)據(jù)庫.



ORA-00392: log 3 of thread 1 is being cleared, operation not all的評論 (共 條)

分享到微博請遵守國家法律
壶关县| 册亨县| 集贤县| 平罗县| 密云县| 大荔县| 水城县| 镇康县| 筠连县| 岳西县| 扎兰屯市| 探索| 荣昌县| 灵宝市| 宁南县| 明溪县| 闻喜县| 江口县| 含山县| 广灵县| 贵定县| 象州县| 万盛区| 曲沃县| 蒙山县| 郧西县| 界首市| 古交市| 南岸区| 安顺市| 彭山县| 台南市| 南城县| 达日县| 仪征市| 南安市| 新建县| 同江市| 荆州市| 海伦市| 枣庄市|