RE: script to parse 10046 trace files

From: Chitale, Hemant Krishnarao <Hemant.Chitale_at_sc.com>
Date: Wed, 21 Sep 2011 09:49:06 +0800
Message-ID: <8375C7FDC01FEB40A11B49DD940A96AB9ACD98_at_HKJUMXMB110B.zone1.scb.net>



If you want to see "the logical and physical IO by row source (action in the explain plan) **without the query completing**" you have to use V$SQL_MONITOR and V$SQL_PLAN_MONITOR in 11g. It's called "Real Time Monitoring" and there are a few blog posts / articles about this.

 
Hemant K Chitale

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Dba DBA Sent: Tuesday, September 20, 2011 11:46 PM To: ORACLE-L
Subject: script to parse 10046 trace files

I know their are vendors (like hotsos), that have products you can buy. The company I work for is not going to buy a product. Anyone have anything more advanced than tkrpof? Preferably one that will generate an explain plan with the logical and physical IO by row source (action in the explain plan) without the query completing. We have some very complex queries. The easiest way for me to analyze a query is with a tkprof since I can see what parts of the query are using the most logical and physical IO. I don't want to let a query run and run to wait for it to complete. I do read the raw trace file and it is helpful up to a point. However, a script to create a summary report similiar to tkprof would be very useful or anything else someone might have.
I have thought about writing my own. I would probably use awk. However, before I do that, I was wondering if there are any out there already? Even if you don't have one that does what i am looking for, I would be interested to see what is out there. I did a few google searches and I didn't find anything.

--

http://www.freelists.org/webpage/oracle-l

This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic.

Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB.

Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18. The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276.

If you are receiving this email from SCB outside the UK, please click http://www.standardchartered.com/global/email_disclaimer.html to refer to the information on other jurisdictions.
--

http://www.freelists.org/webpage/oracle-l Received on Tue Sep 20 2011 - 20:49:06 CDT

Original text of this message