我的编程空间,编程开发者的网络收藏夹
学习永远不晚

Oracle Study之--RMAN启用block change tracking错误

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

Oracle Study之--RMAN启用block change tracking错误

Oracle Study之--RMAN启用block change tracking错误

 

系统环境:

  操作系统: RedHat EL6

  Oracle:   Oracle 11g R2

 

Target DB:    prod

Catalog DB:   orcl

 

      在使用rman备份做增量备份后,启动“block change tracking” 出现了ORA-600错误!


案例分析:

 

1、启用block change tracking

11:23:43 SYS@ prod>alter database enable block change tracking using file '/home/oracle/blk.trc' reuse;

Database altered.

 

告警日志:
alter database enable block change tracking using file '/home/oracle/blk.trc'
Block change tracking file is current.
Starting background process CTWR
Tue Apr 07 11:36:55 2015
CTWR started with pid=33, OS id=5576
Block change tracking service is active.


2、通过rman建立备份脚本

[oracle@rh7 dbs]$ rman target / catalog rman/rman@orcl

Recovery Manager: Release 11.2.0.1.0 - Production on Tue Apr 7 11:29:41 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database: PROD (DBID=239333010)
connected to recovery catalog database

RMAN> create global script global_del_obso comment 'A script for obsolete backup and delete it'
{
2> 3>  crosscheck archivelog all;
4>  delete noprompt expired archivelog all;
5>  allocate channel ch2 device type disk;
6>  delete noprompt obsolete recovery window of 15 days;
7>  release channel ch2;
8>  }

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of create script command at 04/07/2015 11:29:58
RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE

 

告警日志:

[oracle@rh7 ~]$ tail -f /u01/app/oracle/diag/rdbms/prod/prod/trace/alert_prod.log
Tue Apr 07 11:27:16 2015
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_ctwr_4912.trc  (incident=39841):
ORA-00600: internal error code, arguments: [krccacp_badfile], [1513065], [0], [624054], [0], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/prod/prod/incident/incdir_39841/prod_ctwr_4912_i39841.trc
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_ctwr_4912.trc:
ORA-00600: internal error code, arguments: [krccacp_badfile], [1513065], [0], [624054], [0], [], [], [], [], [], [], []
CTWR (ospid: 4912): terminating the instance due to error 487
Tue Apr 07 11:27:19 2015
ORA-1092 : opitsk aborting process
Instance terminated by CTWR, pid = 4912

     从日志可以看到CTRW进程关闭了Instance!

 

3、停止使用block change tracking

11:31:33 SYS@ prod>alter database disable block change tracking;

Database altered.

Elapsed: 00:00:01.13

 

告警日志

alter database disable block change tracking
Tue Apr 07 11:31:50 2015
Block change tracking service stopping.
Stopping background process CTWR
Deleted file /home/oracle/blk.trc
Completed: alter database disable block change tracking
Tue Apr 07 11:34:36 2015

 

再通过rman建立备份脚本:

[oracle@rh7 dbs]$ rman target / catalog rman/rman@orcl

Recovery Manager: Release 11.2.0.1.0 - Production on Tue Apr 7 11:29:41 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database: PROD (DBID=239333010)
connected to recovery catalog database

RMAN> create global script global_del_obso comment 'A script for obsolete backup and delete it'
{
2> 3>  crosscheck archivelog all;
4>  delete noprompt expired archivelog all;
5>  allocate channel ch2 device type disk;
6>  delete noprompt obsolete recovery window of 15 days;
7>  release channel ch2;
8>  }

这是备份脚本建立成功!

 

 注:

       在后面又出现了一样的错误,在操作系统下删除了trace文件“blk.trc”后,又恢复正常,现在还没有搞清楚造成这个问题的具体原因是什么?


免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

Oracle Study之--RMAN启用block change tracking错误

下载Word文档到电脑,方便收藏和打印~

下载Word文档

编程热搜

目录