<?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/"
		>
<channel>
	<title>Comments on: Identify the SQL statement causing those WAIT #X lines in a (top-truncated) sql tracefile</title>
	<atom:link href="http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile</link>
	<description>Oracle, Exadata, Performance, Troubleshooting - Mobile Life and Productivity.</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:03:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: shenglin</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-3302</link>
		<dc:creator>shenglin</dc:creator>
		<pubDate>Mon, 07 Dec 2009 05:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-3302</guid>
		<description>That&#039;s great it doesn&#039;t take any locks on shared resources. It&#039;s really useful to trace the bind variables of running SQL. I tried to test errorstate in product database with over 5000 tps. It take a few seconds to run, but no impact to others. I also tried processdump again, this time I could find the cursor info and related bind variables. Errorstack dump more info than Processstate. 

Thanks again for sharing this great article.

Thanks
Shenglin</description>
		<content:encoded><![CDATA[<p>That&#8217;s great it doesn&#8217;t take any locks on shared resources. It&#8217;s really useful to trace the bind variables of running SQL. I tried to test errorstate in product database with over 5000 tps. It take a few seconds to run, but no impact to others. I also tried processdump again, this time I could find the cursor info and related bind variables. Errorstack dump more info than Processstate. </p>
<p>Thanks again for sharing this great article.</p>
<p>Thanks<br />
Shenglin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-3290</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Sun, 06 Dec 2009 16:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-3290</guid>
		<description>Errorstack and processstate dumps affect only the target process where you connect with oradebug. It doesn&#039;t block others as it doesn&#039;t take any locks on shared resources (for example, a heapdump level 2 can hang your whole instance for a while as it takes shared pool latches).</description>
		<content:encoded><![CDATA[<p>Errorstack and processstate dumps affect only the target process where you connect with oradebug. It doesn&#8217;t block others as it doesn&#8217;t take any locks on shared resources (for example, a heapdump level 2 can hang your whole instance for a while as it takes shared pool latches).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shenglin</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-3286</link>
		<dc:creator>shenglin</dc:creator>
		<pubDate>Sun, 06 Dec 2009 11:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-3286</guid>
		<description>Hi Tanel,

  Thanks for sharing this useful info. I have two questions about this:

1. Is it safe to run ERRORSTACK and processstate in the database with high activities? Does that block others?

2. I tried to use processstate with level to trace the bind varialbes with one running session, which is waiting for &#039;db file sequential read&#039;. I can find the SQL in the trace file, but I can&#039;t find out the cursor info. So I can&#039;t find the bind variables. Are there anything else to control that?

Thanks
Shenglin</description>
		<content:encoded><![CDATA[<p>Hi Tanel,</p>
<p>  Thanks for sharing this useful info. I have two questions about this:</p>
<p>1. Is it safe to run ERRORSTACK and processstate in the database with high activities? Does that block others?</p>
<p>2. I tried to use processstate with level to trace the bind varialbes with one running session, which is waiting for &#8216;db file sequential read&#8217;. I can find the SQL in the trace file, but I can&#8217;t find out the cursor info. So I can&#8217;t find the bind variables. Are there anything else to control that?</p>
<p>Thanks<br />
Shenglin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASWATH RAO</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-2377</link>
		<dc:creator>ASWATH RAO</dc:creator>
		<pubDate>Thu, 27 Aug 2009 01:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-2377</guid>
		<description>Tanel,

Very nicely written article. I learnt a lot from the article.

Thanks
Aswath Rao</description>
		<content:encoded><![CDATA[<p>Tanel,</p>
<p>Very nicely written article. I learnt a lot from the article.</p>
<p>Thanks<br />
Aswath Rao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 03/07/2009 – 10/07/2006 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-2055</link>
		<dc:creator>Blogroll Report 03/07/2009 – 10/07/2006 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Fri, 10 Jul 2009 18:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-2055</guid>
		<description>[...] Tanel Poder &#8211; Identify the SQL statement causing those WAIT #X lines in a (top-truncated) sql tracefile [...]</description>
		<content:encoded><![CDATA[<p>[...] Tanel Poder &#8211; Identify the SQL statement causing those WAIT #X lines in a (top-truncated) sql tracefile [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to detect when a cursor was closed from SQL trace output? &#124; Tanel Poder's blog: Core IT for Geeks and Pros</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-2018</link>
		<dc:creator>How to detect when a cursor was closed from SQL trace output? &#124; Tanel Poder's blog: Core IT for Geeks and Pros</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-2018</guid>
		<description>[...] Randolf&#8217;s comment on my last post about identifying cursor SQL text from sql trace file I think one thing needs [...]</description>
		<content:encoded><![CDATA[<p>[...] Randolf&#8217;s comment on my last post about identifying cursor SQL text from sql trace file I think one thing needs [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-2016</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-2016</guid>
		<description>Hi Randolf,

Yes, that&#039;s why I mentioned &quot;as long as the cursor of interest is still open&quot; in my post. I have highlighted that sentence now and will an update into the end of the post elaborating this a bit.</description>
		<content:encoded><![CDATA[<p>Hi Randolf,</p>
<p>Yes, that&#8217;s why I mentioned &#8220;as long as the cursor of interest is still open&#8221; in my post. I have highlighted that sentence now and will an update into the end of the post elaborating this a bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randolf Geist</title>
		<link>http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/comment-page-1/#comment-2015</link>
		<dc:creator>Randolf Geist</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/07/09/identify-the-sql-statement-causing-those-wait-x-lines-in-a-top-truncated-sql-tracefile/#comment-2015</guid>
		<description>Tanel,

correct me if I&#039;m wrong but if the cursor of interest was already closed (therefore you say &quot;as long as the cursor is still open&quot;) then the result could be misleading since the slots can get re-used and therefore a CURSOR#2 as of now not necessarily reflects the CURSOR#2 identified in the trace file.

Regards,
Randolf</description>
		<content:encoded><![CDATA[<p>Tanel,</p>
<p>correct me if I&#8217;m wrong but if the cursor of interest was already closed (therefore you say &#8220;as long as the cursor is still open&#8221;) then the result could be misleading since the slots can get re-used and therefore a CURSOR#2 as of now not necessarily reflects the CURSOR#2 identified in the trace file.</p>
<p>Regards,<br />
Randolf</p>
]]></content:encoded>
	</item>
</channel>
</rss>

