手机版
你好,游客 登录 注册
背景:
阅读新闻

RMAN备份中常见的问题

[日期:2013-01-22] 来源:Linux社区  作者:oracle_baidu [字体:大 中 小]

6:Logging RMAN Output--记录rman日志
rman target / log=rman_output.log--操作系统级别


RMAN> spool log to rman_output.log --Rman命令行
RMAN> set echo on
RMAN> backup database;
RMAN> spool log off;

 

 

7:Viewing RMAN Command History

SQL>select sid, recid, output from v$rman_output order by recid

 

 

8:Enabling RMAN’s Debug Output

--OS

rman target / debug=all log=rman_output.log


rman target / debug=io --


--Fr om Within RMAN

RMAN> spool log to rman_output.log
RMAN> debug on
RMAN> set echo on
RMAN> backup database;
RMAN> debug off
RMAN> spool log off


--W hen Configuring a Channel

RMAN> configure channel device type disk debug=5 trace=5;

 

 

9:Enabling Granular Time Reporting

export NLS_DATE_FORMAT 'dd-mon-yyyy hh24:mi:ss'

NLS_DATE_FORMAT 'dd-mon-yyyy hh24:mi:ss'

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款