RE: KCL gc element parent latch

From: Rajesh Rao <Rajesh.Rao_at_jpmchase.com>
Date: Wed, 16 Dec 2009 12:34:13 -0500
Message-ID: <B169B49ADAC13E429204826BD76EC834557760EF_at_EMASC201VS01.exchad.jpmchase.net>



Thank you Tanel.

"so if you have lots of GC ops, these latches will be used. Fix the GC traffic and the latching problem will go away."

So, those waits would be an effect, rather than the cause leading to gc cr request waits. These waits themselves are not significant. We see fast object checkpoints as well as this KCL latch that seems to precede most of the gc cr request waits we see. We know the fix for the gc waits.

Thank you for the script. That goes into the same directory where I have the snapper one stored :)

Raj

From: Tanel Poder [mailto:tanel_at_poderc.com] Sent: Wednesday, December 16, 2009 12:16 PM To: Rajesh Rao
Cc: oracle-l_at_freelists.org
Subject: Re: KCL gc element parent latch

GC operations may require changes to PCM locks / lock elements. The lock element array (V$GC_ELEMENT) is protected by gc element latches... so if you have lots of GC ops, these latches will be used. Fix the GC traffic and the latching problem will go away.

How significant % of your sessions response time is spent waiting for this latch?

If you see significant waits for that latch, you can run latchprofX to gain undersanding who are the main holders of these latches and which kernel functions cause the latches to be held the most etc:

http://blog.tanelpoder.com/2008/07/23/advanced-oracle-troubleshooting-guide-part-8-even-more-detailed-latch-troubleshooting-using-latchprofx/

Tanel

On Wed, Dec 16, 2009 at 4:27 AM, Rajesh Rao <Rajesh.Rao_at_jpmchase.com<mailto:Rajesh.Rao_at_jpmchase.com>> wrote: 10.2.0.3 RAC. Looking to get more insight into this latch as I see seek to troubleshoot and check for co-relation to an issue with sessions experiencing "gc cr request" waits. Especially, what causes sessions to wait on this latch?

Regards
Raj

This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities.

--

Tanel Poder
http://blog.tanelpoder.com

--

http://www.freelists.org/webpage/oracle-l Received on Wed Dec 16 2009 - 11:34:13 CST

Original text of this message