IBM Support

Oracle statspack 101

Troubleshooting


Problem

Oracle statspack 101

Symptom

PART: Yantra 5x

Statspack is a set of SQL, PL/SQL and SQL*Plus scripts which allow the collection, automation, storage and viewing of performance data. A user is automatically created by the installation script - this user, PERFSTAT, owns all objects needed by this package. This user is granted limited query-only privileges on the V$views required for performance tuning.

Cause

Resolving The Problem

Here are a few quick "get started" references :

* FAQ- Statspack Complete Reference
* METALINK Doc ID 94224.1

Also refer to Yantra Oracle CoP page has some info and links.

1) What is StatsPack and how does STATSPACK work? Where are StatsPack README files? The README files contain the most up to date inforamtion about StatsPack.

See [METALINK Doc ID :149115.1] : What is StatsPack and where are the READMEs?

2) How do I install StatsPack? Can StatsPack be installed with SVRMGRL?
See [METALINK Doc ID :149113.1]: Installing and Configuring StatsPack Package

3) How do I take a snapshot of current database statistics? How do I capture different levels of performance information for either the session or an instance? How can I automate the process of capturing the StatsPack snapshots?
See [METALINK Doc ID :149121.1] : Gathering a StatsPack snapshot

4) How do I generate a performance report?
See [METALINK Doc ID :149124.1] Creating a StatsPack performance report

5) Where can I find further documentation regarding "Performance Tuning using Statspack"?
In the Oracle Technology Network (OTN) there are several documents on this regards. See:
http://otn.oracle.com/deploy/performance/content.html

6) How do I move my statistics from one database to a different database to be able to run reports?
See [METALINK Doc ID :149122.1] Sharing StatsPack snapshot data between two or more databases

7) How do I remove StatsPack snapshots that I am no longer interested in?
This functionality is available starting with Oracle 8.1.7 using a script called sppurge.sql located in $ORACLE_HOME/rdbms/admin.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49041

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21527575