国产探花免费观看_亚洲丰满少妇自慰呻吟_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知識來分析問題的所在,這能夠給你指出問題的大致所在,至于能否最終分析清楚問題是什么以及怎么解決就要看你的功底了。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 定兴县| 丰县| 从化市| 吴桥县| 鞍山市| 东辽县| 石门县| 县级市| 外汇| 仲巴县| 蓝山县| 房产| 永城市| 遂川县| 九寨沟县| 中超| 祁连县| 栾川县| 同德县| 都匀市| 称多县| 宜都市| 石屏县| 敖汉旗| 确山县| 顺昌县| 大安市| 库尔勒市| 久治县| 建瓯市| 临汾市| 昭通市| 利川市| 鹿泉市| 扶风县| 阜康市| 象州县| 凤凰县| 长乐市| 勃利县| 邯郸市|