zoukankan      html  css  js  c++  java
  • Oracle-手工生成AWR

    运行awrrpt脚本
    SQL> @?/rdbms/admin/awrrpt
     
    Current Instance
    ~~~~~~~~~~~~~~~~
     
       DB Id    DB Name      Inst Num Instance
    ----------- ------------ -------- ------------
     1309338602 ORCL                1 orcl
     
     
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    #输入报告的文件格式,如果不输入,直接回车,则为默认的html格式
    输入 report_type 的值:
     
    Type Specified:  html
     
     
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
       DB Id     Inst Num DB Name      Instance     Host
    ------------ -------- ------------ ------------ ------------
      1309338602        1 ORCL         orcl         GPS-DBSVR
    * 1309338602        1 ORCL         orcl         CQJTYJAPPSEV
                                                    ER2
     
    Using 1309338602 for database Id
    Using          1 for instance number
     
     
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed.  Pressing without
    specifying a number lists all completed snapshots.
    #输入需要快照的天数
     
     
    输入 num_days 的值:  2
     
    Listing the last 2 days of Completed Snapshots
     
                                                            Snap
    Instance     DB Name        Snap Id    Snap Started    Level
    ------------ ------------ --------- ------------------ -----
    orcl         ORCL             27291 28 6月  2015 00:00     1
                                  27292 28 6月  2015 01:00     1
                                  27293 28 6月  2015 02:00     1
                                  27294 28 6月  2015 03:00     1
                                  27295 28 6月  2015 04:00     1
                                  27296 28 6月  2015 05:00     1
                                  27297 28 6月  2015 06:00     1
                                  27298 28 6月  2015 07:00     1
                                  27299 28 6月  2015 08:00     1
                                  27300 28 6月  2015 09:00     1
                                  27301 28 6月  2015 10:00     1
                                  27302 28 6月  2015 11:00     1
                                  27303 28 6月  2015 12:00     1
                                  27304 28 6月  2015 13:00     1
                                  27305 28 6月  2015 14:00     1
                                  27306 28 6月  2015 15:00     1
                                  27307 28 6月  2015 16:00     1
                                  27308 28 6月  2015 17:00     1
                                  27309 28 6月  2015 18:00     1
                                  27310 28 6月  2015 19:00     1
                                  27311 28 6月  2015 20:00     1
                                  27312 28 6月  2015 21:00     1
                                  27313 28 6月  2015 22:00     1
                                  27314 28 6月  2015 23:00     1
                                  27315 29 6月  2015 00:00     1
                                  27316 29 6月  2015 01:00     1
                                  27317 29 6月  2015 02:00     1
                                  27318 29 6月  2015 03:00     1
                                  27319 29 6月  2015 04:00     1
                                  27320 29 6月  2015 05:00     1
                                  27321 29 6月  2015 06:00     1
                                  27322 29 6月  2015 07:00     1
                                  27323 29 6月  2015 08:00     1
                                  27324 29 6月  2015 09:00     1
                                  27325 29 6月  2015 10:00     1
                                  27326 29 6月  2015 11:00     1
                                  27327 29 6月  2015 12:00     1
                                  27328 29 6月  2015 13:00     1
                                  27329 29 6月  2015 14:00     1
                                  27330 29 6月  2015 15:00     1
                                  27331 29 6月  2015 16:00     1
                                  27332 29 6月  2015 17:00     1
                                  27333 29 6月  2015 18:00     1
     
     
     
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #输入起始快照编号
    输入 begin_snap 的值:  27309
    Begin Snapshot Id specified: 27309
    #输入结束快照编号
     
    输入 end_snap 的值:  27333
    End   Snapshot Id specified: 27333
     
     
     
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_27309_27333.html.  To use this name,
    press to continue, otherwise enter an alternative.
    #输入报告名称,不输入,直接回车,则使用默认的名称
     
    输入 report_name 的值:
     
    Using the report name awrrpt_1_27309_27333.html
  • 相关阅读:
    将B表中符合条件的数据更新到A表中
    oracle : 无法更新 ON 子句中引用的列
    查看Oracle 版本信息
    将分组的其他内容以字符串形式展示
    将datatable 保存为 Excel文件(高效率版本)
    winform 中一个窗口嵌套到另一个窗口
    一个切换bool属性的小方法
    html5相关知识点的总结(有一些错误或者不足的地方)
    get和post的区别
    cookie的作用
  • 原文地址:https://www.cnblogs.com/guipeng/p/6805272.html
Copyright © 2011-2022 走看看