- 最后登录
- 2016-9-8
- 在线时间
- 10 小时
- 威望
- 5
- 金钱
- 9
- 注册时间
- 2012-12-11
- 阅读权限
- 10
- 帖子
- 20
- 精华
- 0
- 积分
- 5
- UID
- 808
|
4#
发表于 2013-1-9 10:37:34
Maclean Liu(刘相兵 发表于 2013-1-8 19:19
run
{
debug on
第一个节点执行,使用debug方式:- bash-3.00$ rman target / trace rman.trc debug
- Recovery Manager: Release 11.1.0.6.0 - Production on Tue Jan 8 19:50:12 2013
- Copyright (c) 1982, 2007, Oracle. All rights reserved.
- RMAN-06005: connected to target database: LANDDB (DBID=3198567539)
- RMAN> run{
- 2> debug on
- 3> backup current controlfile format '/ysysdata/ctl_test.bkp' ;
- 4> debug off
- 5> }
- RMAN-03036: Debugging set to level=9, types=ALL
- RMAN-03090: Starting backup at 08-JAN-13
- RMAN-06009: using target database control file instead of recovery catalog
- RMAN-08030: allocated channel: ORA_DISK_1
- RMAN-08605: channel ORA_DISK_1: SID=283 instance=landdb1 device type=DISK
复制代码 第二个使用10046事件监控:- bash-3.2$ rman target / trace rman46.trc debug
- Recovery Manager: Release 11.1.0.6.0 - Production on Tue Jan 8 20:13:41 2013
- Copyright (c) 1982, 2007, Oracle. All rights reserved.
- RMAN-06005: connected to target database: LANDDB (DBID=3198567539)
- RMAN> run{
- 2> sql "alter session set events ''10046 trace name context forever , level 12 ''" ;
- 3> set command id to 'rman' ;
- 4> backup current controlfile format '/home/oracle/ctltest.bkp' ;
- 5> }
- RMAN-06009: using target database control file instead of recovery catalog
- RMAN-06162: sql statement: alter session set events ''10046 trace name context forever , level 12 ''
- RMAN-03023: executing command: SET COMMAND ID
- RMAN-03090: Starting backup at 08-JAN-13
- RMAN-08030: allocated channel: ORA_DISK_1
- RMAN-08605: channel ORA_DISK_1: SID=285 instance=landdb2 device type=DISK
复制代码 详细trace文件见附件
rman_trace.rar
(39.48 KB, 下载次数: 2068)
请帮忙分析。 |
|