Zhu - You can use STATSPACK to gather the statistics into its tables and
then query those tables directly. In the book ORACLE High-Performance Tuning
with STATSPACK, Don Burleson describes how to do this in detail and provides
many example queries. He advocates gathering STATSPACK statistics over a day
or week, then reviewing them to identify the times your system is performing
the most processing. Based on that, you can gather statistics for the peak
times with shorter time intervals.

Oracle 8i
http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=0E2CIPD0W
9&isbn=0072133783

Oracle9i
http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=0E2CIPD0W
9&isbn=007222360X

If you need more explanation, reply back.
Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED]

-----Original Message-----
Sent: Tuesday, September 10, 2002 10:44 AM
To: Multiple recipients of list ORACLE-L


hi, list friends:
        We know statspack can gather history data and let you compare
statistics from different time snapshot.But it is something difficult, for
you must make multiple report and open them one by one and compare data
between different reports.
        Now i want to gather some information about the system ,put them in
log file and draw pictures(using mrtg from log) about the statistics
change,so that i can see which statistics is changing recent time and find
problem before it became performance bottleneck or before it stuck the
system.
        In fact, the most useful data i want to get is like the content in
the statspack, but i want to get them into one file from different time
snapshot.The data i want to gather is like: wait event change trend,instance
load profile change trend, the most cost sql change.Is it possible to get
these data directly from some join of v$views? Or i can gather such valuable
information from some v$view? 
     Please share your experience about performance monitoring and capacity
planning:)


Regards
zhu chao
Eachnet DBA
86-21-32174588-667
[EMAIL PROTECTED]
www.happyit.net


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: zhu chao
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).

Reply via email to