Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: STATSPACK interpretation

RE: STATSPACK interpretation

From: Joze Senegacnik <JozeS_at_hermes-plus.si>
Date: Tue, 23 Dec 2003 12:09:25 -0800
Message-ID: <F001.005DAE9A.20031223120925@fatcity.com>




STATSPACK interpretation



Using dbms_application_info package also causes that there are several versions of same statement - but they share same execution plan. You can check if this is the case by querying  v$sqlarea (module and action columns).
 
Regards,
 
Joze
-----Original Message-----
From: Thomas Jeff [mailto:jeff.thomas@thomson.net]
Sent: Monday, December 22, 2003 9:39 PM
To: Multiple recipients of list ORACLE-L
Subject: STATSPACK interpretation

We recently experienced a crash on our prod datewarehouse running 9.2.0.2 on
AIX 4.3.3.    The cause of the crash was 4031 errors generated by background
processes (Oracle support has confirmed there is a bug involved), however,
since that crash occurred, a certain nightly batch job has slowed to a crawl.  

Trying to recreate what has happened, I came across this in the STATSPACK report.   
The interval for this report is 30 minutes.  

Is it telling me that I have 746 versions of this call eating up 400+ mb at
the time of the snapshot?   Why would that be?   The procedure in question
uses bind variables.
 

SQL ordered by Sharable Memory for DB: DSSP Instance: DSSP Snaps: 3309 -3310
-> End Sharable Memory Threshold:   1048576

Sharable Mem (b)  Executions  % Total  Hash Value
---------------- ------------ ------- ------------
     483,580,268           57   411.8    539672786
Module: pmdtm@ip68001 (TNS V1-V3)
 BEGIN    GENERATE_PRODUCT_KEYS (:1,:2,:3,:4)  ;   END;


-------------------------------------------------------------
SQL ordered by Version Count for DB: DSSP Instance: DSSP Snaps: 3309 -3310
-> End Version Count Threshold:        20

 Version
   Count  Executions   Hash Value
-------- ------------ ------------
     746           57    539672786
Module: pmdtm@ip68001 (TNS V1-V3)
 BEGIN    GENERATE_PRODUCT_KEYS (:1,:2,:3,:4)  ;   END;

                                                                                              

--------------------------------------------
Jeffery D Thomas
DBA
Thomson Information Services
Thomson, Inc.

Email: jeff.thomas@thomson.net

Indy DBA Master Documentation available at:
http://gkmqp.tce.com/tis_dba
--------------------------------------------


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Joze Senegacnik
  INET: JozeS_at_hermes-plus.si

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 23 2003 - 14:09:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US