08 September 2006

Oracle raw trace file: Waits per object

Raw trace files give you few additional information over the tkprof-ed file. The rest is the same. The most interesting information you can get from the raw trace file is how much waiting was for each object.

Oracle raw trace file general statistics
Waits per object
If you see lots of I/O waits in the raw trace file, tkprof will not divide waits per object. Tkprof gives you waits per SQl statement, but if your SQL statement is complex, you might need to know how much waits was for each of the objects.
To find that, you need to process the raw trace file.

I usually do it like this (not the super efficient way, but fast enough):

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?