zoukankan      html  css  js  c++  java
  • AWR报告提取

    SQL> @?/rdbms/admin/awrrpt.sql                oracle自带的的脚本文件

    Current Instance
    ~~~~~~~~~~~~~~~~

    DB Id DB Name Inst Num Instance
    ----------- ------------ -------- ------------
    1265701968 ASMCA 1 asmca


    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'
    Enter value for report_type: html

    Type Specified: html        指定的报告类型


    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    DB Id Inst Num DB Name Instance Host
    ------------ -------- ------------ ------------ ------------
    * 1265701968 1 ASMCA asmca oracle

    Using 1265701968 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 <return> without
    specifying a number lists all completed snapshots.


    Enter value for num_days: 2        指定要选择的快照的天数

    Listing the last 2 days of Completed Snapshots

    Snap
    Instance DB Name Snap Id Snap Started Level
    ------------ ------------ --------- ------------------ -----
    asmca ASMCA 1 15 Dec 2017 23:00 1
    2 16 Dec 2017 00:00 1
    3 16 Dec 2017 01:00 1
    4 16 Dec 2017 02:00 1

    5 15 Dec 2017 17:00 1
    6 15 Dec 2017 18:00 1

    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 2
    Begin Snapshot Id specified: 2

    Enter value for end_snap: 4            指定开始和结束快照id
    End Snapshot Id specified: 4

    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_2_4.html. To use this name,
    press <return> to continue, otherwise enter an alternative.

    Enter value for report_name:                                         指定报告名称,默认就好

    End of Report
    </body></html>
    Report written to awrrpt_1_2_4.html
    SQL> exit

  • 相关阅读:
    phpstorm常用快捷键
    tp3.2.3运用phpexcel将excel文件导入mysql数据库
    TP3.2加载外部PHPexcel类,实现导入和导出
    Navicat常用快捷键
    thnkphp框架面试问题
    PHPSQL注入
    PHP4个载入语句的区别
    goflyway简单使用
    ubuntu16.04 HyperLedger Fabric 1.2.0 开发环境搭建
    DApp demo之pet-shop
  • 原文地址:https://www.cnblogs.com/9527l/p/8528135.html
Copyright © 2011-2022 走看看