<?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: What I learned from AOT by Tanel Poder</title>
	<atom:link href="http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/feed/" rel="self" type="application/rss+xml" />
	<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/</link>
	<description>What I learned about Oracle</description>
	<lastBuildDate>Sun, 16 Jun 2013 08:47:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Metalink headlines &#171; OraStory</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3797</link>
		<dc:creator><![CDATA[Metalink headlines &#171; OraStory]]></dc:creator>
		<pubDate>Wed, 16 Sep 2009 09:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3797</guid>
		<description><![CDATA[[...] to go on this course, I read the testimonials and there&#8217;s a great piece of advice from Tanel via Coskan Gundogar:  I asked him how do you learn all these interesting stuff. He gave me a perfect clue. Sign up for [...]]]></description>
		<content:encoded><![CDATA[<p>[...] to go on this course, I read the testimonials and there&#8217;s a great piece of advice from Tanel via Coskan Gundogar:  I asked him how do you learn all these interesting stuff. He gave me a perfect clue. Sign up for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advertisement: Be an Early Bird &#171; So Many Oracle Manuals, So Little Time</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3775</link>
		<dc:creator><![CDATA[Advertisement: Be an Early Bird &#171; So Many Oracle Manuals, So Little Time]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 16:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3775</guid>
		<description><![CDATA[[...] Attendee Coskan Gundogar describes the seminar in Edinburgh [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Attendee Coskan Gundogar describes the seminar in Edinburgh [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UKOUG DBMS SIG July 2009 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3657</link>
		<dc:creator><![CDATA[UKOUG DBMS SIG July 2009 &#171; Coskan&#8217;s Approach to Oracle]]></dc:creator>
		<pubDate>Thu, 02 Jul 2009 12:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3657</guid>
		<description><![CDATA[[...] Class . I was in Edinburgh DBA SIG when I first watched  this presentation  and it was just after AOT by Tanel Poder,  so I couldn&#8217;t not focus that much. This time I listened better and I plan to review [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Class . I was in Edinburgh DBA SIG when I first watched  this presentation  and it was just after AOT by Tanel Poder,  so I couldn&#8217;t not focus that much. This time I listened better and I plan to review [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: an oracle dba</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3492</link>
		<dc:creator><![CDATA[an oracle dba]]></dc:creator>
		<pubDate>Tue, 19 May 2009 05:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3492</guid>
		<description><![CDATA[Hi Poder,

1. for the blocking session column,
I have a handy script to release the system to end user promptly. :-)  my copyright :-)
your advice, please.

set pages 80 lines 125
rem v$lock.block = 1    -- blocking
rem v$lock.request &gt; 0  -- blocked
prompt Where the blocking user&#039;s Session:
select &#039;alter system kill session &#039;&#039;&#039;&#124;&#124; s1.sid &#124;&#124;&#039;, &#039;&#124;&#124; s1.serial# &#124;&#124;&#039;&#039;&#039;;&#039; &quot;Kill Command&quot;
  , to_char(s1.logon_time, &#039;ddMon hh24:mi&#039;) &#124;&#124;&#039; &#039;&#124;&#124; s1.username &#124;&#124;&#039; =&gt; &#039;&#124;&#124; s1.osuser &#124;&#124;&#039; &#039;&#124;&#124;
        regexp_substr(s1.machine, &#039;\\\\.*&#039;) &#124;&#124;&#039; &#039;&#124;&#124; s1.program &#124;&#124;&#039; &#039;&#124;&#124; s1.module &#124;&#124;&#039; &#039;&#124;&#124;
        s1.action &#124;&#124;&#039; &#039;&#124;&#124; s1.client_info &#124;&#124;&#039; &#039;&#124;&#124; s1.status &#124;&#124;&#039; &#039;&#124;&#124; s1.seconds_in_wait &quot;blocking user&quot;
  ,     substr(sqlt1.sql_text, 1, 120) &quot;blocking SQL&quot;
  , to_char(s2.logon_time, &#039;ddMon hh24:mi&#039;) &#124;&#124;&#039; &#039;&#124;&#124; s2.username &#124;&#124;&#039; =&gt; &#039;&#124;&#124; s2.osuser &#124;&#124;&#039; &#039;&#124;&#124;
        regexp_substr(s2.machine, &#039;\\\\.*&#039;) &#124;&#124;&#039; &#039;&#124;&#124; s2.program &#124;&#124;&#039; &#039;&#124;&#124; s2.module &#124;&#124;&#039; &#039;&#124;&#124;
        s2.action &#124;&#124;&#039; &#039;&#124;&#124; s2.client_info &#124;&#124;&#039; &#039;&#124;&#124; s2.status &#124;&#124;&#039; &#039;&#124;&#124; s2.seconds_in_wait &quot;blocked user&quot;
  , substr(sqlt2.sql_text, 1, 120) &quot;blocked SQL&quot;
  from v$session s1, v$session s2, v$sql sqlt1, v$sql sqlt2
 where s1.sid = s2.blocking_session
   and sqlt1.sql_id = s1.prev_sql_id
   and sqlt2.sql_id = s2.sql_id
/

2). for SQL text, for me, it is the first thing to look into it. as it is very common that server performance issue is caused by bad SQL application, such as not use index properly.

thank you.]]></description>
		<content:encoded><![CDATA[<p>Hi Poder,</p>
<p>1. for the blocking session column,<br />
I have a handy script to release the system to end user promptly. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   my copyright <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
your advice, please.</p>
<p>set pages 80 lines 125<br />
rem v$lock.block = 1    &#8212; blocking<br />
rem v$lock.request &gt; 0  &#8212; blocked<br />
prompt Where the blocking user&#8217;s Session:<br />
select &#8216;alter system kill session &#8221;&#8217;|| s1.sid ||&#8217;, &#8216;|| s1.serial# ||&#8221;&#8217;;&#8217; &#8220;Kill Command&#8221;<br />
  , to_char(s1.logon_time, &#8216;ddMon hh24:mi&#8217;) ||&#8217; &#8216;|| s1.username ||&#8217; =&gt; &#8216;|| s1.osuser ||&#8217; &#8216;||<br />
        regexp_substr(s1.machine, &#8216;\\\\.*&#8217;) ||&#8217; &#8216;|| s1.program ||&#8217; &#8216;|| s1.module ||&#8217; &#8216;||<br />
        s1.action ||&#8217; &#8216;|| s1.client_info ||&#8217; &#8216;|| s1.status ||&#8217; &#8216;|| s1.seconds_in_wait &#8220;blocking user&#8221;<br />
  ,     substr(sqlt1.sql_text, 1, 120) &#8220;blocking SQL&#8221;<br />
  , to_char(s2.logon_time, &#8216;ddMon hh24:mi&#8217;) ||&#8217; &#8216;|| s2.username ||&#8217; =&gt; &#8216;|| s2.osuser ||&#8217; &#8216;||<br />
        regexp_substr(s2.machine, &#8216;\\\\.*&#8217;) ||&#8217; &#8216;|| s2.program ||&#8217; &#8216;|| s2.module ||&#8217; &#8216;||<br />
        s2.action ||&#8217; &#8216;|| s2.client_info ||&#8217; &#8216;|| s2.status ||&#8217; &#8216;|| s2.seconds_in_wait &#8220;blocked user&#8221;<br />
  , substr(sqlt2.sql_text, 1, 120) &#8220;blocked SQL&#8221;<br />
  from v$session s1, v$session s2, v$sql sqlt1, v$sql sqlt2<br />
 where s1.sid = s2.blocking_session<br />
   and sqlt1.sql_id = s1.prev_sql_id<br />
   and sqlt2.sql_id = s2.sql_id<br />
/</p>
<p>2). for SQL text, for me, it is the first thing to look into it. as it is very common that server performance issue is caused by bad SQL application, such as not use index properly.</p>
<p>thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3486</link>
		<dc:creator><![CDATA[Tanel Poder]]></dc:creator>
		<pubDate>Tue, 05 May 2009 12:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3486</guid>
		<description><![CDATA[Yep the blocking session column could be a time-saver... I think I&#039;ll implement it into a future version of sw.sql... although I&#039;ll still demo the low-level approach walking various lock structures in my coming seminars :)]]></description>
		<content:encoded><![CDATA[<p>Yep the blocking session column could be a time-saver&#8230; I think I&#8217;ll implement it into a future version of sw.sql&#8230; although I&#8217;ll still demo the low-level approach walking various lock structures in my coming seminars <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coskan</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3483</link>
		<dc:creator><![CDATA[coskan]]></dc:creator>
		<pubDate>Fri, 01 May 2009 12:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3483</guid>
		<description><![CDATA[I think I was misunderstood. I meant I prefer to check usql immediatelly after sw so I can see the sql before going further :)

about the script homes yes you are right again from your point of view but at least blocking column of v$session could be good on sw for versions over 10G 

Thank you for your comment Tanel :)]]></description>
		<content:encoded><![CDATA[<p>I think I was misunderstood. I meant I prefer to check usql immediatelly after sw so I can see the sql before going further <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>about the script homes yes you are right again from your point of view but at least blocking column of v$session could be good on sw for versions over 10G </p>
<p>Thank you for your comment Tanel <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://coskan.wordpress.com/2009/04/30/what-i-learned-from-aot-by-tanel-poder/#comment-3482</link>
		<dc:creator><![CDATA[Tanel Poder]]></dc:creator>
		<pubDate>Fri, 01 May 2009 12:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://coskan.wordpress.com/?p=353#comment-3482</guid>
		<description><![CDATA[Thanks man :)

I enjoyed delivering the seminar as well (and that&#039;s again why I ran out of time in the end). If attendees are staying focused and &quot;with me&quot; I get additional energy out of it and try to give even more out on the topics people seem to be interested in the most.

Some context for any readers who haven&#039;t seen mu work - you mentioned the spin_count autotuner. To avoid someone thinking that I spoke about it in a positive fashion, I mentioned it in a context that spin_count is usually misused &amp; abused parameter. In 99.9% cases you don&#039;t need to touch it, the root causes of your problems need to be fixed (like parsing,executing too often or too many logical IOs against same blocks due bad exec plan/physical design etc).

Regarding the 2 things you don&#039;t agree with

1) The SQL text doesn&#039;t need to be the FIRST thing to check in my approach. It&#039;s all about narrowing down the things to look up the most efficient way. Running sw takes only a second or two and gives evidence about what the session is doing right now. Execution plan can give only remote clues at best about what&#039;s the session doing/waiting on right now. But again, my approach comes from my experience - you use whatever order suits you best.

2) Regarding different versions of scripts to take advantage of new columns etc. First, if there&#039;s a new column in a view in newer oracle version - it doesn&#039;t automatically mean that this column is actually useful and should be displayed at all :)
It&#039;s again about looking into minimum amount of RELEVANT data, not looking into all possible numbers you can see.
So, as my scripts are living ones, I frequently improve them, then in order to avoid the discrepancies between the same script in different directories I have single universal versions - which are dynamic based on the version you run on. For example both snapper and latchprofX scripts are dynamic, they show the columns/views which exist on 10g+ but the same scripts don&#039;t show these columns in 9i. That way I can have a single script, avoid versioning problems/overhead and still have dynamic output where it matters.

Thanks once more for your feedback!]]></description>
		<content:encoded><![CDATA[<p>Thanks man <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I enjoyed delivering the seminar as well (and that&#8217;s again why I ran out of time in the end). If attendees are staying focused and &#8220;with me&#8221; I get additional energy out of it and try to give even more out on the topics people seem to be interested in the most.</p>
<p>Some context for any readers who haven&#8217;t seen mu work &#8211; you mentioned the spin_count autotuner. To avoid someone thinking that I spoke about it in a positive fashion, I mentioned it in a context that spin_count is usually misused &amp; abused parameter. In 99.9% cases you don&#8217;t need to touch it, the root causes of your problems need to be fixed (like parsing,executing too often or too many logical IOs against same blocks due bad exec plan/physical design etc).</p>
<p>Regarding the 2 things you don&#8217;t agree with</p>
<p>1) The SQL text doesn&#8217;t need to be the FIRST thing to check in my approach. It&#8217;s all about narrowing down the things to look up the most efficient way. Running sw takes only a second or two and gives evidence about what the session is doing right now. Execution plan can give only remote clues at best about what&#8217;s the session doing/waiting on right now. But again, my approach comes from my experience &#8211; you use whatever order suits you best.</p>
<p>2) Regarding different versions of scripts to take advantage of new columns etc. First, if there&#8217;s a new column in a view in newer oracle version &#8211; it doesn&#8217;t automatically mean that this column is actually useful and should be displayed at all <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
It&#8217;s again about looking into minimum amount of RELEVANT data, not looking into all possible numbers you can see.<br />
So, as my scripts are living ones, I frequently improve them, then in order to avoid the discrepancies between the same script in different directories I have single universal versions &#8211; which are dynamic based on the version you run on. For example both snapper and latchprofX scripts are dynamic, they show the columns/views which exist on 10g+ but the same scripts don&#8217;t show these columns in 9i. That way I can have a single script, avoid versioning problems/overhead and still have dynamic output where it matters.</p>
<p>Thanks once more for your feedback!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
