ASH 报告生成过程中 Enter value for duration 需要输入一个数字,表示持续的分钟


SQL> @ashrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
 DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
4110082405 ORA11G 1 ora11g1

Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type:
Type Specified: html

Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 4110082405 1 ORA11G ora11g1 smp-1
 4110082405 2 ORA11G ora11g2 smp-2
Defaults to current database
Using database id: 4110082405
Defaults to current instance
Using instance number: 1

ASH Samples in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oldest ASH sample available: 23-Mar-12 08:00:37 [ 12025 mins in the past]
Latest ASH sample available: 31-Mar-12 16:22:58 [ 2 mins in the past]

Specify the timeframe. to generate the ASH report
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter begin time for report:
-- Valid input formats:
-- To specify absolute begin time:
-- [MM/DD[/YY]] HH24:MI[:SS]
-- Examples: 02/23/03 14:30:15
-- 02/23 14:30:15
-- 14:30:15
-- 14:30
-- To specify relative begin time: (start with '-' sign)
-- -[HH24:]MI
-- Examples: -1:15 (SYSDATE - 1 Hr 15 Mins)
-- -25 (SYSDATE - 25 Mins)
Defaults to -15 mins
Enter value for begin_time: 03/31/12 10:00:00
Report begin time specified: 03/31/12 10:00:00
Enter duration in minutes starting from begin time:
Defaults to SYSDATE - begin_time
Press Enter to analyze till current time
Enter value for duration: 03/31/12 10:10:00     -- 这里是 duration, 这种写法是错误的 ,表示持续时间,

而不是 end time . 这里输入数字即可, 单位是 分钟, 比如 120 , 表示2个小时 。

 

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

转载于:http://blog.itpub.net/35489/viewspace-750988/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值