<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Enkitec</title>
	<atom:link href="http://www.enkitec.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enkitec.com</link>
	<description></description>
	<lastBuildDate>Sun, 19 Feb 2012 21:43:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hotsos Symposium 2012</title>
		<link>http://kerryosborne.oracle-guy.com/2012/02/hotsos-symposium-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hotsos-symposium-2012</link>
		<comments>http://kerryosborne.oracle-guy.com/2012/02/hotsos-symposium-2012/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 21:43:23 +0000</pubDate>
		<dc:creator>Kerry Osborne</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=3834</guid>
		<description><![CDATA[It&#8217;s almost time for Hotsos&#8217;s 10th annual Symposium. This year&#8217;s conference will be held March 4 &#8211; 8 in Irving, Texas. The Hotsos Symposium is probably the best performance oriented Oracle conferences in the world. I am happy and humbled to be speaking at it again this year as the lineup of speakers is once [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s almost time for <a href="http://www.hotsos.com/sym12.html">Hotsos&#8217;s 10th annual Symposium</a>. This year&#8217;s conference will be held March 4 &#8211; 8 in Irving, Texas. The Hotsos Symposium is probably the best performance oriented Oracle conferences in the world. I am happy and humbled to be <a href="http://www.hotsos.com/sym12/sym_speakers_osborne.html">speaking</a> at it again this year as the lineup of speakers is once again world class. It&#8217;s great to have several other <a href="http://kerryosborne.oracle-guy.com/2012/02/hotsos-symposium-2012/www.enkitec.com">Enkitec&#8217;ies</a> on the bill as well. Both <a href="http://karenmorton.blogspot.com/">Karen Morton</a> and <a href="http://blog.tanelpoder.com/">Tanel Poder</a> will be presenting too. Enkitec is also a sponsor of the event this year, so we&#8217;ll be hosting a couple of Exadata focused happy hours as well. There&#8217;s still time to <a href="http://www.hotsos.com/sym12/sym_reg.html">register</a>. Hope to see you there.</p>
<p>&nbsp;</p>
<p><a href="http://www.hotsos.com/sym12.html"><img class="aligncenter size-full wp-image-3835" title="Hotsos_logo_2012" src="http://kerryosborne.oracle-guy.com/files/2012/02/Hotsos_logo_2012.jpg" alt="" width="203" height="114" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://kerryosborne.oracle-guy.com/2012/02/hotsos-symposium-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMSTAT Tools</title>
		<link>http://blog.enkitec.com/2012/02/vmstat-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vmstat-tools</link>
		<comments>http://blog.enkitec.com/2012/02/vmstat-tools/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 21:03:22 +0000</pubDate>
		<dc:creator>Jon Adams</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.enkitec.com/?p=605</guid>
		<description><![CDATA[As database administrators, we should have the ability to review and evaluate resources on the underlying hardware where our databases reside. Often this review is done during times of stress when there is a current performance problem. Fortunately, there are a number of tools that are useful for determining the resource usage on these platforms. [...]]]></description>
			<content:encoded><![CDATA[<p>As database administrators, we should have the ability to review and evaluate resources on the underlying hardware where our databases reside.  Often this review is done during times of stress when there is a current performance problem.  Fortunately, there are a number of tools that are useful for determining the resource usage on these platforms.  I will focus on the VMSTAT tool in this blog entry.</p>
<p>VMSTAT is a tool on Unix type plaforms that provides an impressive amount of resource information, but is formatted in such a way that it can be difficult to read much less determine when the snapshot occurred if looking at historic snapshots.  Here is an example</p>
<p>[root@new-host ~]# vmstat 2<br />
procs &#8212;&#8212;&#8212;&#8211;memory&#8212;&#8212;&#8212;- &#8212;swap&#8211; &#8212;&#8211;io&#8212;- &#8211;system&#8211; &#8212;&#8211;cpu&#8212;&#8212;<br />
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st<br />
 0  0      0 1916352  39376 906944    0    0   186    39 1024 1139  1  2 93  4  0<br />
 1  0      0 1916352  39384 906968    0    0     0    76 1015 1203  0  2 95  4  0<br />
 0  0      0 1916260  39392 906976    0    0     0    58 1014 1118  0  2 98  0  0</p>
<p>Through some simple Unix scripting commands, you can get more user-friendly information from this tool.</p>
<p>The vmstat_tool.sh script below works for most Linux versions:</p>
<p>#!/bin/sh<br />
#vmstat_tool.sh<br />
#vmstat parser script. Makes the information easily readable.</p>
<p>#Ensure that the number of loops and delay parameters<br />
#were passed to this script<br />
if [ $# -ne 2 ]<br />
then<br />
  echo &#8220;Usage: $0 <loop_count> <delay_in_seconds_between_loops>&#8221;<br />
  exit<br />
fi</p>
<p>export LPCNT=$1<br />
export DLAY=$2</p>
<p>c=0</p>
<p>while [ "$c" -lt $LPCNT ]<br />
do<br />
date<br />
vmstat | tail -n 1 | awk &#8216;{printf(&#8220;%d processes are waiting\n%d processes are blocked\n%d virtual memory used, %d idle memory, %d buffer memory, %d cache memory\n%d memory swapped in from disk, %d memory swapped out to disk\n%d blocks per second written\n%d blocks per second read\n%d interrupts per second\n%d context switches per second\nCPU usage: %d%% (user, non-kernel), %d%% (system, kernel), %d%% idle, %d%% wait\n\n&#8221;,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16)}&#8217;</p>
<p>sleep $DLAY<br />
c=$((c+1))<br />
done</p>
<p>Sample Output (Single Loop):</p>
<p>Sat Feb 18 11:15:48 PST 2012<br />
1 processes are waiting<br />
0 processes are blocked<br />
0 virtual memory used, 1990308 idle memory, 32964 buffer memory, 843564 cache memory<br />
0 memory swapped in from disk, 0 memory swapped out to disk<br />
928 blocks per second written<br />
75 blocks per second read<br />
1062 interrupts per second<br />
1128 context switches per second<br />
CPU usage: 4% (user, non-kernel), 2% (system, kernel), 77% idle, 17% wait</p>
<p>As you can see. the output is much more readable than the regular vmstat output.</p>
<p>Should you need to do more than just a cursory examination of the VMSTAT output, you can use these scripts to generate an output file for examination with the following method:</p>
<p>nohup vmstat_tool.sh 288 300 > ./vmstat.log &#038;</p>
<p>In the above example, you are using the native nohup command to run the vmstat_tool.sh script to loop every 5 minutes (300 seconds) for 24 hours (288 5-minute loops).  The output will to the vmstat.log script in the local directory and will run in the background by using &#8216;&#038;&#8217; at the end of the command.  Examining the output is a simple matter of using the native cat and grep commands in the following manner:</p>
<p>cat ./vmstat.log | grep &#8220;processes are waiting&#8221; | more</p>
<p>Sample Output:</p>
<p>0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked<br />
0 processes are waiting 0 processes are blocked</p>
<p>You can now see the output of the first line of the VMSTAT tool scrolled one screen at a time.  If you see a line that has some abnormal values, you can then use the vi utility to zero in on that particular value and get the timestamp from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.enkitec.com/2012/02/vmstat-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enkitec is at RMOUG Training Days &#8211; Booth 25</title>
		<link>http://www.enkitec.com/2012/02/16/enkitec-is-at-rmoug-training-days-booth-25/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enkitec-is-at-rmoug-training-days-booth-25</link>
		<comments>http://www.enkitec.com/2012/02/16/enkitec-is-at-rmoug-training-days-booth-25/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 05:30:19 +0000</pubDate>
		<dc:creator>jgibson</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[enkitec]]></category>
		<category><![CDATA[exadata]]></category>
		<category><![CDATA[exadata course]]></category>
		<category><![CDATA[exadata training]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle exadata]]></category>
		<category><![CDATA[rmoug]]></category>
		<category><![CDATA[rmoug training days]]></category>

		<guid isPermaLink="false">http://www.enkitec.com/?p=1674</guid>
		<description><![CDATA[We&#8217;re having a great time here at RMOUG Training Days. Tomorrow, February 16, is the last day, so come by booth #25. We&#8217;d like to meet you! If you can&#8217;t make it by but want more information about Enkitec, just send us an e-mail: info@enkitec.com]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re having a great time here at RMOUG Training Days. Tomorrow, February 16, is the last day, so come by booth #25. We&#8217;d like to meet you! If you can&#8217;t make it by but want more information about Enkitec, just send us an e-mail:</p>
<p>info@enkitec.com</p>
<p><a href="http://www.enkitec.com/wp-content/uploads/2012/02/RMOUG-Banner.jpg"><img class="alignnone size-medium wp-image-1678" title="Enkitec RMOUG Training Days 2012" src="http://www.enkitec.com/wp-content/uploads/2012/02/RMOUG-Banner-141x300.jpg" alt="" width="141" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.enkitec.com/2012/02/16/enkitec-is-at-rmoug-training-days-booth-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RMOUG 2012 training days</title>
		<link>http://karlarao.wordpress.com/2012/02/13/rmoug-2012-training-days/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rmoug-2012-training-days</link>
		<comments>http://karlarao.wordpress.com/2012/02/13/rmoug-2012-training-days/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 07:44:50 +0000</pubDate>
		<dc:creator>karlarao</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://karlarao.wordpress.com/?p=3165</guid>
		<description><![CDATA[In the next few days I&#8217;ll be at RMOUG 2012 training days! and I&#8217;ll be again presenting the topic so dear to my heart. Mining the AWR I&#8217;ve updated the material with a couple of new research and findings, some of them are as follows: CPU Wait (new metric in 11g Performance page) Latency issues on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=karlarao.wordpress.com&#38;blog=5436406&#38;post=3165&#38;subd=karlarao&#38;ref=&#38;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the next few days I&#8217;ll be at <a href="http://www.teamycc.com/RMOUG_2012_Conference/index.html" >RMOUG 2012 training days</a>! and I&#8217;ll be again presenting the topic so dear to my heart. Mining the AWR <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I&#8217;ve updated the material with a couple of new research and findings, some of them are as follows:</p>
<ul>
<li>CPU Wait (new metric in 11g Performance page)</li>
<li>Latency issues on virtualized environments</li>
</ul>
<p>So if you are attending the RMOUG training days, stop by at my session <a href="http://www.technicalconferencesolutions.com/pls/caat/caat_abstract_reports.display_presenter_abstract?conference_id=99&amp;presenter_id=463&amp;abstract_id=296143" >@ room 401 Thursday 9:45 am-10:45 am</a></p>
<p>There will also be a <a href="http://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/Hardware_and_Windows_Minimum_Requirements" >RAC Attack</a> at the exhibition area so that must be fun <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>and don&#8217;t forget to follow RMOUG&#8217;s twitter <a href="https://twitter.com/#!/RMOUG_ORG" >@RMOUG_ORG</a> for updates during the conference!</p>
<p>See yah!</p>
<p>&nbsp;</p>
<p><span style="text-decoration:underline;"><strong>Update: </strong></span></p>
<p>I had a great time at RMOUG, was able to meet old/new friends and had a good number of attendees. The organizers really did a good job <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Here&#8217;s the updated PPT I used during the presentation.<br />
That’s the most recent, the one on the RMOUG is not yet updated. For the scripts <a title="http://karlarao.wordpress.com/scripts-resources/" href="http://karlarao.wordpress.com/scripts-resources/" >http://karlarao.wordpress.com/scripts-resources/</a> they are all at the “PerformanceAndTroubleshooting” folder</p>
<p>Thanks to all who attended my presentation, I know that’s a bit too much technical stuff for 1hour presentation squeezing all 101 slides and all that info. The best way is to go through my notes on the slides, check out all the links I pointed, and try to poke around on the scripts. And I assure you will learn tons of stuff &amp; greatly appreciate the material  :)</p>
<div id="__ss_11642452" style="width:425px;padding-left:150px;" align="center">
<p><strong><a title="RMOUG - Mining the AWR" href="http://www.slideshare.net/karlarao/rmoug-mining-the-awr" >RMOUG &#8211; Mining the AWR</a></strong> <iframe src='http://www.slideshare.net/slideshow/embed_code/11642452' width='425' height='348' scrolling='no'></iframe></p>
<div style="padding:5px 0 12px;">View more <a href="http://www.slideshare.net/thecroaker/death-by-powerpoint" >PowerPoint</a> from <a href="http://www.slideshare.net/karlarao" >karlarao</a></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/karlarao.wordpress.com/3165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/karlarao.wordpress.com/3165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/karlarao.wordpress.com/3165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=karlarao.wordpress.com&amp;blog=5436406&amp;post=3165&amp;subd=karlarao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://karlarao.wordpress.com/2012/02/13/rmoug-2012-training-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://0.gravatar.com/avatar/8e16f8e02c09742fdcb4f0902225d1bb?s=96&amp;amp;d=monsterid" length="" type="" />
		</item>
		<item>
		<title>SQLTXPLAIN quick tips and tricks and DB Optimizer VST</title>
		<link>http://karlarao.wordpress.com/2012/02/11/sqltxplain-quick-tips-and-tricks-and-db-optimizer-vst/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sqltxplain-quick-tips-and-tricks-and-db-optimizer-vst</link>
		<comments>http://karlarao.wordpress.com/2012/02/11/sqltxplain-quick-tips-and-tricks-and-db-optimizer-vst/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 16:23:29 +0000</pubDate>
		<dc:creator>karlarao</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://karlarao.wordpress.com/?p=3110</guid>
		<description><![CDATA[Lately I&#8217;ve been busy on projects and research so I&#8217;m putting more and more stuff on my wiki/braindump&#8230; and really I need to catch up on blogging. I have a longer draft post about SQLTXPLAIN.. but I haven&#8217;t finished it yet so I&#8217;ll just go with the quick post for now. SQLTXPLAIN: I&#8217;ve been using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=karlarao.wordpress.com&#38;blog=5436406&#38;post=3110&#38;subd=karlarao&#38;ref=&#38;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been busy on projects and research so I&#8217;m putting more and more stuff on my <a href="http://karlarao.tiddlyspot.com" >wiki/braindump</a>&#8230; and really I need to catch up on <strong>blogging</strong>.<br />
I have a longer draft post about SQLTXPLAIN.. but I haven&#8217;t finished it yet so I&#8217;ll just go with the quick post for now.</p>
<h1><span style="color:#000000;">SQLTXPLAIN:</span></h1>
<p>I&#8217;ve been using SQLTXPLAIN for quite a while, and I can say I&#8217;m a really big fan. It&#8217;s a cool tool to use for systematic SQL Tuning so I got them all neatly documented here <a href="http://karlarao.tiddlyspot.com/#SQLTXPLAIN" >http://karlarao.tiddlyspot.com/#SQLTXPLAIN</a>.</p>
<p><a href="http://karlarao.tiddlyspot.com/#SQLTXPLAIN" ><img class="aligncenter" src="https://lh4.googleusercontent.com/-u5X1DHdQ_SQ/TzaXknGLYKI/AAAAAAAABYE/WXg4zX6-AXA/s2048/sqltxplainwiki.png" alt="" width="903" height="822" /></a></p>
<p>BTW, Carlos Sierra, the author of the tool will present at Hotsos 2012 <a href="http://www.hotsos.com/sym12/sym_speakers_sierra.html" >http://www.hotsos.com/sym12/sym_speakers_sierra.html</a> so I may drop by the conference and say hello <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The <a href="http://karlarao.tiddlyspot.com/#SQLTXPLAIN" >wiki link</a> will probably show you all the things you need to know about SQLTXPLAIN. My personal use case favorites would be the following:</p>
<ul>
<li>Mining 10053 output
<ul>
<li>On the execution plan view of the main HTML report whenever you hover on each step of the plan it will pop up an info about the Query Block (QB) details which you can mine on the raw 10053 text file that is also on the zip file. This is helpful when troubleshooting the specific part of the SQL where it has gone wrong.</li>
</ul>
</li>
<li>Instant SQL Monitor output
<ul>
<li>The HTML and text versions of SQL Monitor is readily available for the particular SQL_ID you are troubleshooting <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
</li>
<li>Compare good/bad plan of SQLs
<ul>
<li>This is pretty handy because the output report of the SQLT-compare highlights the difference in <span style="color:#ff0000;"><strong>red text</strong></span>. So instead of chasing some delta numbers, you can just go straight to the <span style="color:#ff0000;"><strong>red text</strong></span>!</li>
</ul>
</li>
<li>Fix bad stats
<ul>
<li>Let&#8217;s say you have a prod and dev that have completely different run times. And you found out that the problem is the stats, you can do a SQLT on the good plan and transfer the stats to the other environment. You will be using the <a href="http://karlarao.tiddlyspot.com/#%5B%5BSQLT%20restore%20CBO%20stats%5D%5D" >sqltimp.sql</a> for this</li>
</ul>
</li>
<li>Transfer stored outline/profiles
<ul>
<li>This makes use of exp/imp to transfer and outline + DBMS_SQLTUNE for the SQL Profile</li>
<li>Manual SQL Profile is readily available as sqlt_&lt;sqlt_id&gt;_sqlprof.sql or can be created using sqlt/utl/coe_xfr_sql_profile.sql</li>
</ul>
</li>
<li>Reproducing an execution plan from one system to another and Creating test cases
<ul>
<li>I usually pull SQLT from the server I&#8217;m troubleshooting and load it on my laptop. And from there I can have the same optimizer environment then I can do anything I want with it. (well you can also do this from prod then load the SQLT to dev/QA environment)</li>
<li>I mainly use the <strong>SQLT-tc</strong> (test case builder) and that is totally different from the <strong>TCB</strong> (test case builder) which uses the <strong>DBMS_SQLDIAG</strong>.. wait, am I confusing you with the <strong>TCB </strong>terms? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<ul>
<li>Let me give you a little background</li>
</ul>
</li>
</ul>
</li>
</ul>
<p style="padding-left:120px;">Each SQLTXPLAIN run (START sqltxtract.sql SQL_ID) packages everything in one zip file</p>
<pre style="padding-left:150px;">[oracle@karl sqlt_s54491-good]$ du -sm sqlt_s54491.zip
 47 sqlt_s54491.zip</pre>
<p style="padding-left:120px;">and inside that zip file includes the test case zip file that has a <strong>*_tc.zip</strong> extension (<strong>sqlt_s54491_tc.zip</strong>)<br />
Note that this is different from the <strong>*_tcb.zip</strong> extension (<strong>sqlt_s54491_tcb.zip</strong>) which is using the DBMS_SQLDIAG TCB (test case builder) package</p>
<pre style="padding-left:150px;">[oracle@karl sqlt_s54491-good]$ unzip -l sqlt_s54491.zip
 Archive: sqlt_s54491.zip
 Length Date Time Name
 --------- ---------- ----- ----
 104557695 11-27-2011 02:36 sqlt_s54491_10053_explain.trc
 2587 11-27-2011 09:18 sqlt_s54491_driver.zip
 660035 11-27-2011 02:35 sqlt_s54491_lite.html
 28711 11-27-2011 09:18 sqlt_s54491_log.zip
 34589692 11-27-2011 02:35 sqlt_s54491_main.html
 316568 11-27-2011 09:18 sqlt_s54491_opatch.zip
 40487 11-27-2011 02:35 sqlt_s54491_p73080644_sqlprof.sql
 21526 11-27-2011 02:35 sqlt_s54491_readme.html
 461504 11-27-2011 02:35 sqlt_s54491_sql_detail_active.html
 385239 11-27-2011 02:35 sqlt_s54491_sql_monitor_active.html
 424680 11-27-2011 02:35 sqlt_s54491_sql_monitor.html
 57213 11-27-2011 02:35 sqlt_s54491_sql_monitor.txt
 333117 11-27-2011 02:35 sqlt_s54491_sta_report_mem.txt
 1488 11-27-2011 02:35 sqlt_s54491_sta_script_mem.sql
 616556 11-27-2011 02:36 <strong><span style="color:#ff0000;">sqlt_s54491_tcb.zip</span></strong>         <span style="color:#ff0000;"><strong>&lt;-- ''DBMS_SQLDIAG TCB'' (test case builder) package zip file</strong></span>
 8659 11-27-2011 09:18 sqlt_s54491_tc_script.sql
 7793 11-27-2011 09:18 sqlt_s54491_tc_sql.sql
 4254816 11-27-2011 09:18 <strong><span style="color:#ff0000;">sqlt_s54491_tc.zip</span></strong>         <span style="color:#ff0000;"><strong>&lt;-- ''SQLT-tc test case'' zip file</strong></span>
 33308174 11-27-2011 09:18 sqlt_s54491_trc.zip
 --------- -------
 180076540 19 files</pre>
<ul>
<li>And from the wiki, you will see the related wiki topics that starts with <strong>&#8220;testcase -&#8221;</strong>. Actually, you can generate test cases using the following methods:
<ul>
<li>by <strong><a href="http://karlarao.tiddlyspot.com/#%5B%5Btestcase%20-%20Manually%20reproduce%20SQL%5D%5D" >Manually</a></strong> reproducing the SQL</li>
<li>by using <a href="http://karlarao.tiddlyspot.com/#%5B%5Btestcase%20-%20SQLT-tc%20(test%20case%20builder)%5D%5D" ><strong>SQLT-tc</strong> </a></li>
<li>by using the <strong>DBMS_SQLDIAG TCB</strong> (test case builder) package</li>
<li>by using the <strong><a href="http://karlarao.tiddlyspot.com/#%5B%5Btestcase%20-%20SQLTCB%20from%20ADRCI%5D%5D" >DBMS_SQLDIAG TCB from ADRCI</a></strong></li>
</ul>
</li>
</ul>
<ul>
<li><span style="text-decoration:underline;"><strong>And last but not the least</strong></span>, the most awesome part is <span style="text-decoration:underline;"><strong><span style="color:#ff0000;text-decoration:underline;">1)</span> using the generated SQLT zip file, <span style="color:#ff0000;text-decoration:underline;">2)</span> building the testcase using SQLT-tc, and <span style="color:#ff0000;text-decoration:underline;">3)</span> then generating a DB Optimizer VST on the SQL_ID!</strong></span>
<ul>
<li>Right after the DB Optimizer <a href="http://dboptimizer.com/db-optimizer" >http://dboptimizer.com/db-optimizer</a> was released last 2010, and right after I got the tool for $99! <a href="http://www.freelists.org/post/oracle-l/Special-Offer-for-readers-of-OracleL" >http://www.freelists.org/post/oracle-l/Special-Offer-for-readers-of-OracleL</a> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I was chatting with Kyle Hailey about the possibilities of making a VST out of SQLTXPLAIN.. and all along I was right <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
</li>
</ul>
<h1><span style="color:#000000;">DB Optimizer:</span></h1>
<p>Below you will see that the highlighted table name starts with the schema <strong>TC&lt;sqlt_id&gt;</strong>, that means it was generated from SQLT-tc and I was also able to reproduce underlying objects of the SQL_ID and the optimizer environment <strong>on my laptop</strong>.</p>
<p>The cool thing about DB Optimizer is that it automates a lot of tedious tasks for you. It takes away the pain of manual diagramming just like what I&#8217;m doing here <a href="http://goo.gl/VZFB" >http://goo.gl/VZFB</a> that turns out just look like this <a href="http://goo.gl/ttrh" >http://goo.gl/ttrh</a></p>
<table border="0" align="center">
<tbody>
<tr>
<td valign="top"><a href="http://lh6.ggpht.com/_F2x5WXOJ6Q8/SyrpkTc2BII/AAAAAAAAAig/clY9RCvta08/bad.jpg"><img title="Bad Plan" src="http://lh6.ggpht.com/_F2x5WXOJ6Q8/SyrpkTc2BII/AAAAAAAAAig/clY9RCvta08/s288/bad.jpg" alt="Bad Plan" /></a></td>
<td valign="top"><a href="http://lh3.ggpht.com/_F2x5WXOJ6Q8/SyrpkUCfSJI/AAAAAAAAAik/fWfxUoJbmV0/patrickstar.png"><img title="Patrick Star" src="http://lh3.ggpht.com/_F2x5WXOJ6Q8/SyrpkUCfSJI/AAAAAAAAAik/fWfxUoJbmV0/s288/patrickstar.png" alt="Patrick Star" /></a></td>
</tr>
</tbody>
</table>
<p>I&#8217;m a very visual guy, and I can have a better understanding of the problem and solve things quickly (and creatively) by making use of visualization.</p>
<p>The highlighted table on the diagram below shows a missing join condition. This version of the SQL takes <strong>FOREVER</strong>!&#8230; here with <a href="http://dboptimizer.com/db-optimizer/" >DB Optimizer</a>, right after it prints the <strong>VST diagram</strong> and correlating it with the <strong>&#8220;merge join cartesian&#8221; on the SQLT</strong>.. it&#8217;s pretty <span style="text-decoration:underline;"><strong>easy to identify the missing join</strong></span> (see highlighted SQL on the left) which is the root cause of the performance problem.</p>
<p><a href="https://lh4.googleusercontent.com/-66mlcOjgDX4/TzaXkTacezI/AAAAAAAABX0/45Vjj8N6gsE/s2048/sqlt2.png" ><img class="aligncenter" src="https://lh4.googleusercontent.com/-66mlcOjgDX4/TzaXkTacezI/AAAAAAAABX0/45Vjj8N6gsE/s2048/sqlt2.png" alt="" width="1379" height="635" /></a></p>
<p>and a quick modification on the SQL made it run for just <span style="text-decoration:underline;"><strong>10 seconds!</strong></span> that&#8217;s the power of <strong>SQLTXPLAIN</strong> and<strong> DB Optimizer VST</strong>  <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="https://lh4.googleusercontent.com/-Iat2UL1-cME/TzaXkZgsV8I/AAAAAAAABX4/Jj0prk_mwL4/s2048/sqlt3.png" ><img class="aligncenter" src="https://lh4.googleusercontent.com/-Iat2UL1-cME/TzaXkZgsV8I/AAAAAAAABX4/Jj0prk_mwL4/s2048/sqlt3.png" alt="" width="1379" height="613" /></a></p>
<p>You may also want to check out this ultimate SQL tune off by <a href="http://dboptimizer.com/" >Kyle Hailey</a> and <a href="http://jonathanlewis.wordpress.com/2010/05/26/visual-tuning/" >Jonathan Lewis</a> to know more about DB Optimizer <a href="http://dboptimizer.com/2010/06/14/jonathan-lewis-kyle-hailey-webinar-replay/" >http://dboptimizer.com/2010/06/14/jonathan-lewis-kyle-hailey-webinar-replay/</a></p>
<p>And my example usage of the tool on a high load SAP OLTP environment &#8211; <a href="http://karlarao.tiddlyspot.com/#%5B%5BDB%20Optimizer%20example%20-%203mins%20to%2010secs%5D%5D" >DB Optimizer example &#8211; 3mins to 10secs</a></p>
<p>That&#8217;s it for now, hope I&#8217;ve shared you some good stuff <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/karlarao.wordpress.com/3110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/karlarao.wordpress.com/3110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/karlarao.wordpress.com/3110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=karlarao.wordpress.com&amp;blog=5436406&amp;post=3110&amp;subd=karlarao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://karlarao.wordpress.com/2012/02/11/sqltxplain-quick-tips-and-tricks-and-db-optimizer-vst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://lh6.ggpht.com/_F2x5WXOJ6Q8/SyrpkTc2BII/AAAAAAAAAig/clY9RCvta08/s288/bad.jpg" length="" type="" />
<enclosure url="http://lh3.ggpht.com/_F2x5WXOJ6Q8/SyrpkUCfSJI/AAAAAAAAAik/fWfxUoJbmV0/s288/patrickstar.png" length="" type="" />
<enclosure url="https://lh4.googleusercontent.com/-66mlcOjgDX4/TzaXkTacezI/AAAAAAAABX0/45Vjj8N6gsE/s2048/sqlt2.png" length="" type="" />
<enclosure url="https://lh4.googleusercontent.com/-Iat2UL1-cME/TzaXkZgsV8I/AAAAAAAABX4/Jj0prk_mwL4/s2048/sqlt3.png" length="" type="" />
<enclosure url="https://lh4.googleusercontent.com/-u5X1DHdQ_SQ/TzaXknGLYKI/AAAAAAAABYE/WXg4zX6-AXA/s2048/sqltxplainwiki.png" length="" type="" />
<enclosure url="http://0.gravatar.com/avatar/8e16f8e02c09742fdcb4f0902225d1bb?s=96&amp;amp;d=monsterid" length="" type="" />
		</item>
		<item>
		<title>Upcoming Speaking Engagements</title>
		<link>http://kerryosborne.oracle-guy.com/2012/02/upcoming-speaking-engagements/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upcoming-speaking-engagements</link>
		<comments>http://kerryosborne.oracle-guy.com/2012/02/upcoming-speaking-engagements/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 02:14:20 +0000</pubDate>
		<dc:creator>Kerry Osborne</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=3830</guid>
		<description><![CDATA[I&#8217;ll be speaking at a couple of conferences over the next month or so. Here&#8217;s the schedule: February 16th, in Denver at RMOUG Training Days 2012 - Topic: DIY Exadata February 23rd, in Redwood Shores at NoCOUG Winter Conference - Topic: DIY Exadata March 7th, in Dallas at Hotsos Symposium 2012 - Topic: Exadata Optimization &#8211; Case Studies Hope [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be speaking at a couple of conferences over the next month or so. Here&#8217;s the schedule:</p>
<p>February 16th, in Denver at <a href="http://www.rmoug.org/training.htm">RMOUG Training Days 2012</a> - Topic: <a href="http://www.technicalconferencesolutions.com/pls/caat/caat_abstract_reports.display_presenter_abstract?conference_id=99&amp;presenter_id=353&amp;abstract_id=296183">DIY Exadata</a><br />
February 23rd, in Redwood Shores at <a href="http://www.technicalconferencesolutions.com/pls/caat/caat_abstract_reports.schedule?conference_id=106">NoCOUG Winter Conference</a> - Topic: <a href="http://www.technicalconferencesolutions.com/pls/caat/caat_abstract_reports.display_presenter_abstract?conference_id=106&amp;presenter_id=480&amp;abstract_id=300175">DIY Exadata</a><br />
March 7th, in Dallas at <a href="http://www.hotsos.com/sym12.html">Hotsos Symposium 2012</a> - Topic: <a href="http://www.hotsos.com/sym12/sym_speakers_osborne.html">Exadata Optimization &#8211; Case Studies</a></p>
<p>Hope to see you at one of these events.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://kerryosborne.oracle-guy.com/2012/02/upcoming-speaking-engagements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enkitec to Participate in Oracle Database 12c Beta Program</title>
		<link>http://www.enkitec.com/2012/02/01/oracle-12c-beta-program/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-12c-beta-program</link>
		<comments>http://www.enkitec.com/2012/02/01/oracle-12c-beta-program/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 22:32:48 +0000</pubDate>
		<dc:creator>jgibson</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.enkitec.com/?p=1646</guid>
		<description><![CDATA[Enkitec has been selected to participate in the Oracle 12c Database Beta Program.]]></description>
			<content:encoded><![CDATA[<p><a href="../" target="_blank">Enkitec</a> has been selected to participate in the Oracle 12c Database Beta Program.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enkitec.com/2012/02/01/oracle-12c-beta-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kerry Osborne Speaking at Hotsos Symposium</title>
		<link>http://www.enkitec.com/2012/01/25/kerry-osborne-speaking-at-hotsos-symposium/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kerry-osborne-speaking-at-hotsos-symposium</link>
		<comments>http://www.enkitec.com/2012/01/25/kerry-osborne-speaking-at-hotsos-symposium/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 22:37:58 +0000</pubDate>
		<dc:creator>jgibson</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.enkitec.com/?p=1615</guid>
		<description><![CDATA[Enkitec CTO and Exadata Evangelist Kerry Osborne has been selected to present Exadata Optimization – Case Studies at this year&#8217;s Hotsos Symposium in Irving, Texas. The Symposium runs from March 4 &#8211; 8, 2012 &#8211; click HERE to register.  &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.enkitec.com">Enkitec</a> CTO and Exadata Evangelist <a href="http://kerryosborne.oracle-guy.com/">Kerry Osborne</a> has been selected to present <a href="http://www.hotsos.com/sym12/sym_speakers_osborne.html" target="_blank"><em>Exadata Optimization – Case Studies </em></a>at this year&#8217;s <a href="http://www.hotsos.com/sym12.html">Hotsos Symposium</a> in Irving, Texas. The Symposium runs from March 4 &#8211; 8, 2012 &#8211; click <a href="https://www.badgeguys.com/reg/2012/hotsos/register.aspx">HERE</a> to register. <strong></strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enkitec.com/2012/01/25/kerry-osborne-speaking-at-hotsos-symposium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at Miracle Open World 2012</title>
		<link>http://blog.oracle-ninja.com/2012/01/speaking-at-miracle-open-world-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=speaking-at-miracle-open-world-2012&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=speaking-at-miracle-open-world-2012</link>
		<comments>http://blog.oracle-ninja.com/2012/01/speaking-at-miracle-open-world-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=speaking-at-miracle-open-world-2012#comments</comments>
		<pubDate>Wed, 25 Jan 2012 01:09:25 +0000</pubDate>
		<dc:creator>Andy Colvin</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.oracle-ninja.com/?p=417</guid>
		<description><![CDATA[I've been invited to speak at Miracle Open World 2012 in Billund, Denmark!  My topic will be "Oracle Database Appliance Internals," which I'll try to make fun and exciting.  I'm definitely looking forward to the experience, and it'll be great to spend time with the other speakers and attendees.  My session is currently scheduled for Thursday [...]]]></description>
			<content:encoded><![CDATA[<p>I've been invited to speak at <a href="http://www.mow2012.dk/">Miracle Open World 2012</a> in Billund, Denmark!  My topic will be "<a href="http://www.mow2012.dk/program/oracle-database-appliance-internals.aspx">Oracle Database Appliance Internals</a>," which I'll try to make fun and exciting.  I'm definitely looking forward to the experience, and it'll be great to spend time with the other speakers and attendees.  My session is currently scheduled for Thursday afternoon at 4PM, before the dinner and beach party.  If you're coming to the conference, come by my session and say hi!</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blog.oracle-ninja.com/2012/01/speaking-at-miracle-open-world-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Riyaj Shamsudeen has Teamed up with Enkitec</title>
		<link>http://www.enkitec.com/2012/01/23/riyaj-shamsudeen-has-teamed-up-with-enkitec-to/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=riyaj-shamsudeen-has-teamed-up-with-enkitec-to</link>
		<comments>http://www.enkitec.com/2012/01/23/riyaj-shamsudeen-has-teamed-up-with-enkitec-to/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 19:43:03 +0000</pubDate>
		<dc:creator>jgibson</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.enkitec.com/?p=1585</guid>
		<description><![CDATA[Riyaj Shamsudeen has teamed up with Enkitec to build a complex system that uses GoldenGate to do multi-way replication between multiple 16-node RAC clusters.]]></description>
			<content:encoded><![CDATA[<p><a href="http://orainternals.wordpress.com/about/"><strong>Riyaj Shamsudeen</strong></a> has teamed up with <a href="http://www.enkitec.com">Enkitec</a> to build a complex system that uses <a href="http://www.enkitec.com/wp-content/uploads/2012/01/goldengate11g-datasheet.pdf" target="_blank">GoldenGate</a> to do multi-way replication between multiple 16-node RAC clusters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enkitec.com/2012/01/23/riyaj-shamsudeen-has-teamed-up-with-enkitec-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

