ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 非交互式生成AWR报告

非交互式生成AWR报告

原创 Linux操作系统 作者:justforplatform 时间:2013-06-20 22:49:35 0 删除 编辑
you can use this script. in an non-interactive fashion without executing the script. through awrrpt, then do something similar to the following:
define  inst_num     = 1;
define  num_days     = 3;
define  inst_name    = 'testdb';
define  db_name      = 'testdb';
define  dbid         = 2591037507;
define  sql_id       = 'abcdefabcdefa'; 
define  begin_snap   = 71;
define  end_snap     = 72;
define  report_type  = 'text';
define  report_name  = awr_sql_report_71_72.txt
@@?/rdbms/admin/awrrpti.sql

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26942011/viewspace-764430/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2013-04-25

  • 博文量
    1
  • 访问量
    1626