i need free oracle statspack analysing tool .please give me a location

Posted on 2004-11-17
Last Modified: 2012-06-21
i need free oracle statspack analysing tool .please give me a location i have oracle 8i(, oracle 9i( 9.0.2)
Question by:Roshanw4
    LVL 7

    Expert Comment

    The statspack utilities come with Oracle 8i and 9i and can be installed from

    Metalink ( has some very useful scripts to assist with analysis. In particular (SCRIPT TO PROVIDE DATABASE PERFORMANCE HEALTHCHECK and RECOMMENDATIONS) is comprehensive providing analysis of most areas of interest, with explanation of the implications.

    Metalink requires registration and you may also need a support contract number.

    There are many GUI tools out there to visually present trends and analysis. provides Performance Explorer-I and while registration is required, I haven't been asked for any money. - note that I haven't attempted to use the tool as I generally use SQL scritps instead.

    Other tools are not free but often include a handy evaluation period. For example, provides a tool that is not free but does allow 30 days free evaluation.

    Scott Pettman

    Author Comment

    Hi   pettmans

    can you give me steps how to use the startspack which coming with oracle


    LVL 7

    Accepted Solution


    Step 1. Install statspack,
    Oracle recommend installing the components into a separate tablespace (such as TOOLS).


    connect / as sysdba (Or specify an username/password that has sysdba role)
    DATAFILE '/data/diskx/tools01.dbf' SIZE 100M
      INITIAL 500K
      NEXT 500K
      MAXEXTENTS 200
    ONLINE ;

    I have arbitrarily specifed the size - I haven't checked the actual space required.

    Then install statspack:

    You'll be prompted for:
    Default TableSpace -- supply the name of the new tablespace you created
    Temporary Tablespace - supply the name of your existing temporart tablespace.

    2. Use statspack to generate some performance data.
    Connect  perfstat/perfstat
    execute statspack.snap

    This will generate a snapshot of performance statistics at that time. Analysis of performance data will compare two snaphots. So you need to
    a) establish some baseline snapshots - either find a time when you consider response is good/typical and create a snapshot at that time, or perhaps schedule some regular snapshots (eg hourly) to provide a profile of performance at particular times of the day.

    b) For periods where performance problems are being detected, create more snaphots to capture what is going on, then:

    3. Perform analysis.
    This will usually involve comparing two snapshots, one from your baseline, and one from the period being investigated.

    I have already provided you with a link to an excellent article in Metalink that provides some great scripts to analyse statspack data. Do you have access to metalink? If not I can look for some scripts elsewhere on the net. Gotta love Google.

    Additionally, I can recommend Oracle's performance tuning course that forms part of their DBA stream of education products. I'm not sure there's any point in trying to tune Oracle unless you take some time to learn the physical implementation of the product as taught in a course such as that.

    Scott Pettman

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    The purpose of an index when the key is unique 10 71
    wordpress to database 2 48
    SAP and ODBC links 2 64
    MySQL going to sleep 4 56
    SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
    Read about achieving the basic levels of HRIS security in the workplace.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now