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: Database tracking

Re: Database tracking

From: <Jared.Still_at_radisys.com>
Date: Wed, 15 Jan 2003 13:46:05 -0800
Message-ID: <F001.00530BFD.20030115134605@fatcity.com>


How about this:

run a 10046 level 4 trace

run the trace file through tkprof so you can easily pick out a few queries based on number of executions, consistent gets or whatever.

The level 4 allows you to get valid values for any bind variables in the WHERE clause

create SQL and/or PL/SQL scripts to run these selected queries every few minutes.

OR

just install statspack and use the statitics

goto www.miracleas.dk and get the yapppack.zip file in the 'technical info' section, and use it to create some nice response time oriented charts.

Jared

"Terrian, Tom (Contractor) (DAASC)" <tterrian_at_daas.dla.mil> Sent by: root_at_fatcity.com
 01/15/2003 09:53 AM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Database tracking


All, I would like to track the performance of my production databases by running the same SQL statement against each database every 5 minutes or so and recording the results. For example: sql> set timing on;
sql> select count(*) from dba_tables;  

That was I would know if they are getting faster or slower over time. As anyone already done this? Would there be a good SQL statement to use?  

Thanks,
Tom Terrian  

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Jared.Still_at_radisys.com

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 Wed Jan 15 2003 - 15:46:05 CST

Original text of this message

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