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: gathering history v$ to predict system change

Re: gathering history v$ to predict system change

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 10 Sep 2002 17:11:28 +0200
Message-Id: <22528.293312@fatcity.com>


zhu chao wrote:
>
> 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
> chao_ping_at_vip.163.com
> www.happyit.net

V$ data is not, log history excepted, historical - just a snapshot. You just need the list of V$ views you want to keep track off, create your own set of tables with just an additional TIMESTAMP date column, and

insert ...
select sysdate, ....
from V$...

at regular intervals.

-- 
Regards,

Stephane Faroult
Received on Tue Sep 10 2002 - 10:11:28 CDT

Original text of this message

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