国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

關于怎樣產生statpack

2024-07-21 02:40:06
字體:
來源:轉載
供稿:網友

<<關于怎樣產生statpack>>
  下面以Oracle816為例:
A)  To install the package, using SQL*Plus and based on the correct platform and RDBMS version, do the following:
        Oracle 8.1.6:
            on Unix:
            SQL>  connect / as sysdba
            SQL>  @?/rdbms/admin/statscre
B)The simplest interactive way to take a snapshot is to login to SQL*Plus as the PERFSTAT user, and execute the PRocedure statspack.snap:
     e.g.
       SQL>connect perfstat/perfstat
       SQL>execute statspack.snap;
  wait 10-30 minutes  then execute this again
C)Running the report
  To examine the change in statistics between two time periods, the statsrep.sql file is executed while being connected to the PERFSTAT user.  The statsrep.sql command file is located in the rdbms/admin Directory of the Oracle Home.

 Note:  In an OPS environment you must connect to the instance you wish to report on - this restriction may be removed in future releases.
  You will be prompted for:
    1. The beginning snapshot Id
    2. The ending snapshot Id
    3. The name of the report text file to be created

    Oracle 8.1.6:
        on Unix:
           SQL>  connect perfstat/perfstat
           SQL>  @?/rdbms/admin/statsrep
        on NT:
           SQL>  connect perfstat/perfstat
           SQL>  @%ORACLE_HOME%/rdbms/admin/statsrep
 這樣就可以你把握的Oracle知識來分析問題的所在,這能夠給你指出問題的大致所在,至于能否最終分析清楚問題是什么以及怎么解決就要看你的功底了。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阳城县| 蒙山县| 奉化市| 扶沟县| 平顶山市| 固安县| 安国市| 巩义市| 西华县| 永嘉县| 新竹县| 呼和浩特市| 宾阳县| 贵阳市| 蒲城县| 万盛区| 常州市| 河源市| 和林格尔县| 堆龙德庆县| 陆良县| 泰兴市| 肇源县| 庆城县| 永春县| 酒泉市| 林口县| 太康县| 萍乡市| 安顺市| 德格县| 随州市| 扬州市| 靖州| 马龙县| 定兴县| 四子王旗| 湘阴县| 灵璧县| 紫金县| 鄢陵县|