<?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: Advanced Oracle Troubleshooting Guide, Part 2: No magic is needed, systematic approach will do</title>
	<atom:link href="http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Fri, 30 Jul 2010 06:07:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Patryk</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-3787</link>
		<dc:creator>Patryk</dc:creator>
		<pubDate>Sat, 06 Feb 2010 01:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-3787</guid>
		<description>Hi Tanel,

I never seen such a deep investigation.
Keep going man.</description>
		<content:encoded><![CDATA[<p>Hi Tanel,</p>
<p>I never seen such a deep investigation.<br />
Keep going man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khalid Azmi</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-3575</link>
		<dc:creator>Khalid Azmi</dc:creator>
		<pubDate>Sat, 09 Jan 2010 07:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-3575</guid>
		<description>Your blog is just WOW, why didn&#039;t i come across this earlier. I think i read somewhere in your blog that you were planning to write a book but then dropped it :(</description>
		<content:encoded><![CDATA[<p>Your blog is just WOW, why didn&#8217;t i come across this earlier. I think i read somewhere in your blog that you were planning to write a book but then dropped it :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-176</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Thu, 27 Mar 2008 13:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-176</guid>
		<description>Newer versions of HP-UX should have the pstack utility.

Otherwise you should be able to do the same with a debugger like dbx or gdb (whichever is present on your machine).

On which HP-UX version are you?</description>
		<content:encoded><![CDATA[<p>Newer versions of HP-UX should have the pstack utility.</p>
<p>Otherwise you should be able to do the same with a debugger like dbx or gdb (whichever is present on your machine).</p>
<p>On which HP-UX version are you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qihua</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-177</link>
		<dc:creator>qihua</dc:creator>
		<pubDate>Thu, 27 Mar 2008 06:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-177</guid>
		<description>how hpux? what kind of tool hpux provided could do the same investigation</description>
		<content:encoded><![CDATA[<p>how hpux? what kind of tool hpux provided could do the same investigation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advanced Oracle Troubleshooting Guide, Part 3: More adventures in process stack &#171; Tanel Poder&#8217;s blog: Core IT for geeks and pros</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-175</link>
		<dc:creator>Advanced Oracle Troubleshooting Guide, Part 3: More adventures in process stack &#171; Tanel Poder&#8217;s blog: Core IT for geeks and pros</dc:creator>
		<pubDate>Wed, 05 Sep 2007 16:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-175</guid>
		<description>[...] So, reading the bold sections from bottom up (and using the Metalink note 175982.1 I&#8217;ve mentioned earlier) [...]</description>
		<content:encoded><![CDATA[<p>[...] So, reading the bold sections from bottom up (and using the Metalink note 175982.1 I&#8217;ve mentioned earlier) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-164</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Sat, 01 Sep 2007 09:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-164</guid>
		<description>Yep, Linux /proc filesystem allows you to write a pstack utility reading directly from /proc//mem too, but looks like it&#039;s not written yet :)</description>
		<content:encoded><![CDATA[<p>Yep, Linux /proc filesystem allows you to write a pstack utility reading directly from /proc//mem too, but looks like it&#8217;s not written yet :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit poddar</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-174</link>
		<dc:creator>amit poddar</dc:creator>
		<pubDate>Fri, 31 Aug 2007 20:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-174</guid>
		<description>Linux also has a /proc file system.

Do you know why they chose a intrusive method instead of reading it of from the /proc file system ?</description>
		<content:encoded><![CDATA[<p>Linux also has a /proc file system.</p>
<p>Do you know why they chose a intrusive method instead of reading it of from the /proc file system ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-173</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Fri, 31 Aug 2007 16:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-173</guid>
		<description>Hi Amit,

Which version of AIX?

In 5.2+ it should be pretty safe as it uses /proc filesystem for reading process stack (earlier versions may use /proc too)

The procstack command briefly suspends the probed process (just like scheduler does when timeslice has expired) and reads stack through /proc filesystem.

This is fast and non-intrusive.

On linux however the pstack is just a wrapper around gdb command. So gdb starts up, attaches to the process, suspends it, loads a bunch of libraries and reads the process stack using slow ptrace() system calls. Also I&#039;ve seen the pstack crashing the probed process in some circumstances (like when running a strace on the pstack process itself and attaching to target)</description>
		<content:encoded><![CDATA[<p>Hi Amit,</p>
<p>Which version of AIX?</p>
<p>In 5.2+ it should be pretty safe as it uses /proc filesystem for reading process stack (earlier versions may use /proc too)</p>
<p>The procstack command briefly suspends the probed process (just like scheduler does when timeslice has expired) and reads stack through /proc filesystem.</p>
<p>This is fast and non-intrusive.</p>
<p>On linux however the pstack is just a wrapper around gdb command. So gdb starts up, attaches to the process, suspends it, loads a bunch of libraries and reads the process stack using slow ptrace() system calls. Also I&#8217;ve seen the pstack crashing the probed process in some circumstances (like when running a strace on the pstack process itself and attaching to target)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit poddar</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-172</link>
		<dc:creator>amit poddar</dc:creator>
		<pubDate>Fri, 31 Aug 2007 14:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-172</guid>
		<description>Hi,

Do you know how AIX&#039;s procstack work.
Is it very intrusive ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Do you know how AIX&#8217;s procstack work.<br />
Is it very intrusive ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/comment-page-1/#comment-171</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Wed, 29 Aug 2007 16:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2007/08/27/advanced-oracle-troubleshooting-guide-part-2-no-magic-is-needed-systematic-approach-will-do/#comment-171</guid>
		<description>Thanks to all for the comments.
John, yep I&#039;m already using v$session_wait.state which in turn is also decoded from x$ksusecst&#039;s time_waited equivalent column (and from x$kslwt in 11g).
I do prefer to use the STATE column though, it&#039;s easier to remember: waiting = waiting, anything else = NOT waiting :)

Jeroen, the seconds_in_wait column is increased for long waits in v$session_wait. I don&#039;t use the time_waited column directly at all when diagnosing performance issues, as seconds_in_wait shows the time spent in current wait and if Im interested in wait history then I either query v$session_wait_history for last 10 events or use v$session_event or Session Snapper...</description>
		<content:encoded><![CDATA[<p>Thanks to all for the comments.<br />
John, yep I&#8217;m already using v$session_wait.state which in turn is also decoded from x$ksusecst&#8217;s time_waited equivalent column (and from x$kslwt in 11g).<br />
I do prefer to use the STATE column though, it&#8217;s easier to remember: waiting = waiting, anything else = NOT waiting :)</p>
<p>Jeroen, the seconds_in_wait column is increased for long waits in v$session_wait. I don&#8217;t use the time_waited column directly at all when diagnosing performance issues, as seconds_in_wait shows the time spent in current wait and if Im interested in wait history then I either query v$session_wait_history for last 10 events or use v$session_event or Session Snapper&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
