<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Resolving HW enqueue contention</title>
	<atom:link href="http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/feed/" rel="self" type="application/rss+xml" />
	<link>http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/</link>
	<description>Discussions about Oracle performance tuning, Oracle internal &#38; E-business suite.</description>
	<lastBuildDate>Fri, 06 Nov 2009 05:09:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: orainternals</title>
		<link>http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/#comment-407</link>
		<dc:creator>orainternals</dc:creator>
		<pubDate>Mon, 21 Sep 2009 21:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://orainternals.wordpress.com/?p=38#comment-407</guid>
		<description>Hello Khair
   I don&#039;t think, there is an event to print when an extent is added, at least, not that aware of. My recommendation is to write a small piece of code to get timestamp and # of extents every hour or so for that tablespace/object. With that output, you can pin down the hour at which extent is added and dump the log file during that time period.

   Correct approach here is to understand root cause by dumping the log files. This might also mean that you may have to dump the ASSM segments with dbms_Space_admin.segment_dump to see block status of various blocks. With these two trace files, you may be able to understand, why extents are allocated even when not needed.

   There are many bugs in 10.2.0.3 in ASSM for extent management. You may be hitting one of that. So, you might want to consider upgrading to version 10.2.0.4 and see if this problem reproduces.

Cheers
Riyaj</description>
		<content:encoded><![CDATA[<p>Hello Khair<br />
   I don&#8217;t think, there is an event to print when an extent is added, at least, not that aware of. My recommendation is to write a small piece of code to get timestamp and # of extents every hour or so for that tablespace/object. With that output, you can pin down the hour at which extent is added and dump the log file during that time period.</p>
<p>   Correct approach here is to understand root cause by dumping the log files. This might also mean that you may have to dump the ASSM segments with dbms_Space_admin.segment_dump to see block status of various blocks. With these two trace files, you may be able to understand, why extents are allocated even when not needed.</p>
<p>   There are many bugs in 10.2.0.3 in ASSM for extent management. You may be hitting one of that. So, you might want to consider upgrading to version 10.2.0.4 and see if this problem reproduces.</p>
<p>Cheers<br />
Riyaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kostas Hairopoulos</title>
		<link>http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/#comment-405</link>
		<dc:creator>Kostas Hairopoulos</dc:creator>
		<pubDate>Sun, 20 Sep 2009 15:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://orainternals.wordpress.com/?p=38#comment-405</guid>
		<description>I noticed in our 10.2.0.3 database with ASSM in AIX 5.3 box that some staging table (with insert and delete operations) are using a huge number of extents and is continuously growing. It seems that for some reason even if there are deletions, oracle cannot reclaim back the space and lower the HHWM. Is any way or any event we can set at instance level to trace the time of the extent is added in the staging table.
 I noticed some notes from Steve Adams email that this can be shown dumping the redo log with layer 14.4 but the problem is that we don&#039;t when it happens, thus we cannot check every log

Thank you in advance,
khair</description>
		<content:encoded><![CDATA[<p>I noticed in our 10.2.0.3 database with ASSM in AIX 5.3 box that some staging table (with insert and delete operations) are using a huge number of extents and is continuously growing. It seems that for some reason even if there are deletions, oracle cannot reclaim back the space and lower the HHWM. Is any way or any event we can set at instance level to trace the time of the extent is added in the staging table.<br />
 I noticed some notes from Steve Adams email that this can be shown dumping the redo log with layer 14.4 but the problem is that we don&#8217;t when it happens, thus we cannot check every log</p>
<p>Thank you in advance,<br />
khair</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orainternals</title>
		<link>http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/#comment-24</link>
		<dc:creator>orainternals</dc:creator>
		<pubDate>Sat, 26 Jul 2008 19:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://orainternals.wordpress.com/?p=38#comment-24</guid>
		<description>Hi Bernd
  I guess, you are referring to bug 6376915. No, I have not personally encountered it. Looks very intrusive though. Posting a summary here for others:

The bug states that in effect space reclamation can cause HW enqueu&#039;s - and what we are seeing is that if we truncate the table - we don&#039;t see the HW:enqueue&#039;s until we fill up the pre-allocated extents - then the HW enqueue&#039;s start en masse.

Fix: 

This fix causes ASSM LOB space to batch up reclaim instead of just reclaiming the requested/required number of LOB chunks. To enable this fix, set event 44951 to the maximum number of chunks that you would like to have reclaimed per attempt. The maximum allowed is 1024. Anything larger becomes 1024. However, if the requested amount of space is larger than the event&#039;s value, the reclaim will be for the requested amount of space. 

Thanks for pointing out this bug, Bernd

Cheers
Riyaj</description>
		<content:encoded><![CDATA[<p>Hi Bernd<br />
  I guess, you are referring to bug 6376915. No, I have not personally encountered it. Looks very intrusive though. Posting a summary here for others:</p>
<p>The bug states that in effect space reclamation can cause HW enqueu&#8217;s &#8211; and what we are seeing is that if we truncate the table &#8211; we don&#8217;t see the HW:enqueue&#8217;s until we fill up the pre-allocated extents &#8211; then the HW enqueue&#8217;s start en masse.</p>
<p>Fix: </p>
<p>This fix causes ASSM LOB space to batch up reclaim instead of just reclaiming the requested/required number of LOB chunks. To enable this fix, set event 44951 to the maximum number of chunks that you would like to have reclaimed per attempt. The maximum allowed is 1024. Anything larger becomes 1024. However, if the requested amount of space is larger than the event&#8217;s value, the reclaim will be for the requested amount of space. </p>
<p>Thanks for pointing out this bug, Bernd</p>
<p>Cheers<br />
Riyaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd Eckenfels</title>
		<link>http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/#comment-19</link>
		<dc:creator>Bernd Eckenfels</dc:creator>
		<pubDate>Wed, 25 Jun 2008 10:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://orainternals.wordpress.com/?p=38#comment-19</guid>
		<description>Besides growing Segments, there is a much more problematic ASSM reclaim Problem with Blobs and HW-enqueue. This is supposed to be fixed in 10.2.0.4, but only(?) if you set the Event 44951.

This will batch-reclaim inactive (undo) LOB chunks and reduce the number of enqueues needed for tht operation. Do you have experiences with that, as well? This typically happens on LOB segments with concurrent insert/delete/update activity.</description>
		<content:encoded><![CDATA[<p>Besides growing Segments, there is a much more problematic ASSM reclaim Problem with Blobs and HW-enqueue. This is supposed to be fixed in 10.2.0.4, but only(?) if you set the Event 44951.</p>
<p>This will batch-reclaim inactive (undo) LOB chunks and reduce the number of enqueues needed for tht operation. Do you have experiences with that, as well? This typically happens on LOB segments with concurrent insert/delete/update activity.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
