<?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: Little oradebug enhancement in Oracle 11g</title>
	<atom:link href="http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Mon, 15 Mar 2010 01:50:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: niccisweden</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-2320</link>
		<dc:creator>niccisweden</dc:creator>
		<pubDate>Tue, 18 Aug 2009 15:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-2320</guid>
		<description>informative for me, like that

 injectable filler</description>
		<content:encoded><![CDATA[<p>informative for me, like that</p>
<p> injectable filler</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-672</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Wed, 12 Nov 2008 23:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-672</guid>
		<description>Hi Chen,

I have such a script which accepds SID as parameter as attaches to its corresponding process like this:

SQL&gt; @odsid 170
Oracle pid: 2, Windows thread id: 2920, image: ORACLE.EXE (PMON)

The script contents are following:

----------------------------

SET TERMOUT OFF
COL spid NEW_VALUE odsid_spid
SELECT spid FROM v$process WHERE addr = (SELECT /*+ NO_UNNEST */ paddr FROM v$session WHERE sid = &amp;1);
COL spid CLEAR
SET TERMOUT ON

ORADEBUG SETOSPID &amp;odsid_spid

----------------------------

Also you could write an &quot;init&quot; script which intializes sqlplus variables like lgwr, dbw0 etc.

so you could just run &quot;@odsid &amp;lgwr&quot; when doing the demo</description>
		<content:encoded><![CDATA[<p>Hi Chen,</p>
<p>I have such a script which accepds SID as parameter as attaches to its corresponding process like this:</p>
<p>SQL&gt; @odsid 170<br />
Oracle pid: 2, Windows thread id: 2920, image: ORACLE.EXE (PMON)</p>
<p>The script contents are following:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>SET TERMOUT OFF<br />
COL spid NEW_VALUE odsid_spid<br />
SELECT spid FROM v$process WHERE addr = (SELECT /*+ NO_UNNEST */ paddr FROM v$session WHERE sid = &amp;1);<br />
COL spid CLEAR<br />
SET TERMOUT ON</p>
<p>ORADEBUG SETOSPID &amp;odsid_spid</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Also you could write an &#8220;init&#8221; script which intializes sqlplus variables like lgwr, dbw0 etc.</p>
<p>so you could just run &#8220;@odsid &amp;lgwr&#8221; when doing the demo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prodlife</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-673</link>
		<dc:creator>prodlife</dc:creator>
		<pubDate>Wed, 12 Nov 2008 05:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-673</guid>
		<description>Is there a way to name the shadow process from within a session? (In a dedicated connection environment, of course). That could really make life easier when doing demos, research, etc.</description>
		<content:encoded><![CDATA[<p>Is there a way to name the shadow process from within a session? (In a dedicated connection environment, of course). That could really make life easier when doing demos, research, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Prusinski</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-674</link>
		<dc:creator>Ben Prusinski</dc:creator>
		<pubDate>Mon, 10 Nov 2008 20:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-674</guid>
		<description>Tanel-

Nice find with oradebug. I enjoy your blog since we both have a passion for database internals.

Cheers,
Ben</description>
		<content:encoded><![CDATA[<p>Tanel-</p>
<p>Nice find with oradebug. I enjoy your blog since we both have a passion for database internals.</p>
<p>Cheers,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miladin</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-675</link>
		<dc:creator>Miladin</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-675</guid>
		<description>In the past I have to wakeup SMON:


SQL&gt; oradebug setorapname smon
Oracle pid: 19, Unix process pid: 12777, image: oracle@demo01 (SMON)
SQL&gt; oradebug wakeup 19
Statement processed.

Save me time running this query:

SQL&gt; select pid
from v$process p, v$bgprocess b
where b.paddr = p.addr
and name=&#039;SMON&#039;;  2    3    4

       PID
----------
        19</description>
		<content:encoded><![CDATA[<p>In the past I have to wakeup SMON:</p>
<p>SQL&gt; oradebug setorapname smon<br />
Oracle pid: 19, Unix process pid: 12777, image: oracle@demo01 (SMON)<br />
SQL&gt; oradebug wakeup 19<br />
Statement processed.</p>
<p>Save me time running this query:</p>
<p>SQL&gt; select pid<br />
from v$process p, v$bgprocess b<br />
where b.paddr = p.addr<br />
and name=&#8217;SMON&#8217;;  2    3    4</p>
<p>       PID<br />
&#8212;&#8212;&#8212;-<br />
        19</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A reader</title>
		<link>http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/comment-page-1/#comment-676</link>
		<dc:creator>A reader</dc:creator>
		<pubDate>Tue, 04 Nov 2008 06:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2008/11/03/little-oradebug-enhancement-in-oracle-11g/#comment-676</guid>
		<description>Thank You;-)
Nice improvement to oradebug.</description>
		<content:encoded><![CDATA[<p>Thank You;-)<br />
Nice improvement to oradebug.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
