爱问知识人 爱问教育 医院库

如何测试Statspack使其可以自动收集系统状况呢?

首页

如何测试Statspack使其可以自动收集系统状况呢?

如何测试Statspack使其可以自动收集系统状况呢?

提交回答

全部答案

    2018-04-06 05:03:52
  •   测试安装好的Statspack:
    运行statspack。snap可以产生系统快照,运行两次,然后执行spreport。sql就可以生成一个基于两个时间点的报告。
    如果一切正常,说明安装成功。
    已 perfstat/perfstat登陆
    */
    SQL>execute statspack。
      snap SQL>execute statspack。snap SQL>@/home/newvers/product/92/rdbms/admin/spreport SQL>@/home/newvers/product/92/rdbms/admin/spauto 使statspack自动收集系统状况: alert system set job_queue_processes = 10; alert system set job_queue_processes = 10 scope=both; alter system set Timed_statistics=true; [orapaid@bj37 admin]$ cat spauto。
      sql Rem Rem $Header: spauto。sql 16-feb-00。16:49:37 cdialeri Exp $ Rem Rem spauto。sql Rem Rem Copyright (c) Oracle Corporation 1999, 2000。
       All Rights Reserved。 Rem Rem NAME Rem spauto。sql Rem Rem DESCRIPTION Rem SQL*PLUS command file to automate the collection of STATPACK Rem statistics。
       Rem Rem NOTES Rem Should be run as the STATSPACK owner, PERFSTAT。 Rem Requires job_queue_processes init。ora parameter to be Rem set to a number >0 before automatic statistics gathering Rem will run。
      

    铁***

    2018-04-06 05:03:52

类似问题

换一换

相关推荐

正在加载...
最新资料 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):