<?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>2DEV &#187; Oracle Consulting, Oracle Based Solutions, Tips</title>
	<atom:link href="http://blog.2dev.com/category/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.2dev.com</link>
	<description>IT &#38; Management Blogs</description>
	<lastBuildDate>Sun, 18 Dec 2011 22:01:07 +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>Oracle Database &#8211; SQL trace &amp; capturing the value of bind variables</title>
		<link>http://blog.2dev.com/2010/11/oracle-database-sql-trace-file-capturing-bind-variable-values/</link>
		<comments>http://blog.2dev.com/2010/11/oracle-database-sql-trace-file-capturing-bind-variable-values/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 00:00:29 +0000</pubDate>
		<dc:creator>Payam Moghtader</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[oracle database]]></category>
		<category><![CDATA[Payam Moghtader]]></category>
		<category><![CDATA[sql tuning]]></category>

		<guid isPermaLink="false">http://blog.2dev.com/?p=271</guid>
		<description><![CDATA[The value of the bind variable has a direct impact on the selectivity of your SQL predicates.  Often it is useful to capture the value of the bind variables to investigate the SQL performance issues.<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2010/11/oracle-database-sql-trace-file-capturing-bind-variable-values/">Oracle Database &#8211; SQL trace &#038; capturing the value of bind variables</a></p>

No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The value of the bind variable has a direct impact on the selectivity of your SQL predicates.  Often it is useful to capture the value of the bind variables to investigate the SQL performance issues.</p>
<p>Here are the steps to capture your Oracle SQL trace file that includes the value of the bind variables.</p>
<blockquote><p>Alter session set statistics_level=ALL;<br />
Alter session set max_dump_file_size=UNLIMITED;<br />
Alter session set events <strong>&#8217;10046</strong> trace name context forever, <strong>level 12</strong>&#8216;;</p>
<p>var g_city char(20)</p>
<p>begin<br />
:g_city := &#8216;<span style="color: #ff0000;"><strong>Toronto</strong></span>&#8216;;<br />
end;<br />
/</p>
<p>select * from customers where cust_city = :g_name;</p>
<p>alter session set events &#8217;10046 trace name context off&#8217;;</p></blockquote>
<p>Open up the trace file and search for string &#8220;Bind&#8221; and followed by value and of course the value.  Not the prettiest output but it does not the job;</p>
<blockquote><p>BINDS #2:<br />
<strong>Bind</strong>#0<br />
oacdty=96 mxl=128(90) mxlc=00 mal=00 scl=00 pre=00<br />
oacflg=03 fl2=1000000 frm=01 csi=873 siz=128 off=0<br />
kxsbbbfp=006061e4  bln=128  avl=30  flg=05<br />
<strong>value=&#8221;<span style="color: #ff0000;">Toronto</span></strong> &#8220;</p></blockquote>
<p>Recall that in Oracle 11g you can provide an identifier for for your trace file to ease the pain of locating the right trace file.</p>
<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2010/11/oracle-database-sql-trace-file-capturing-bind-variable-values/">Oracle Database &#8211; SQL trace &#038; capturing the value of bind variables</a></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.2dev.com/2010/11/oracle-database-sql-trace-file-capturing-bind-variable-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle WebLogic Server -WebLogic Diagnostic Framework &#8211; WLDF</title>
		<link>http://blog.2dev.com/2010/05/oracle-weblogic-server-webwogic-diagnostic-framework/</link>
		<comments>http://blog.2dev.com/2010/05/oracle-weblogic-server-webwogic-diagnostic-framework/#comments</comments>
		<pubDate>Sun, 23 May 2010 03:59:05 +0000</pubDate>
		<dc:creator>Marcos Cubric</dc:creator>
				<category><![CDATA[Appliction Server]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Marcos Cubric]]></category>
		<category><![CDATA[Metrics]]></category>
		<category><![CDATA[oracle fusion middleware]]></category>
		<category><![CDATA[Oracle WebLogic Server]]></category>
		<category><![CDATA[performance problems]]></category>
		<category><![CDATA[weblogic]]></category>
		<category><![CDATA[WLDF]]></category>

		<guid isPermaLink="false">http://blog.2dev.com/?p=200</guid>
		<description><![CDATA[What options do you have when users are complaining about the performance of applications running on WebLogic?

 One very useful option is the capability of generating, gathering, and analyzing diagnostics data about WebLogic servers to find out and fix performance problems.
<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2010/05/oracle-weblogic-server-webwogic-diagnostic-framework/">Oracle WebLogic Server -WebLogic Diagnostic Framework &#8211; WLDF</a></p>

No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h4>The Scenario</h4>
<p>What options do you have when users are complaining about the performance of applications running on WebLogic?</p>
<p>One very useful option is the capability of generating, gathering, and analyzing diagnostics data about WebLogic servers to find out and fix performance problems.</p>
<h4>The WebLogic Diagnostic Framework &#8211; WLDF</h4>
<p>The WebLogic Diagnostic Framework (WLDF) is a set of components orchestrated together to collect, archive, and access diagnostic information about a WebLogic Server instance and its applications.</p>
<p>Using WLDF services, diagnostic data generated by a running server and the applications deployed within its containers can be:</p>
<ul>
<li>Created</li>
<li>Collected</li>
<li>Analyzed</li>
<li>Archived</li>
<li>Accessed</li>
</ul>
<p>By analyzing this diagnostic data, you can look into the run-time performance of WebLogic servers and its applications, isolate and solve performance problems.</p>
<h4>Architecture</h4>
<p style="text-align: center;"><a href="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_architecture.png"><img class="size-full wp-image-201 aligncenter" title="WebLogic WLDF Architecture" src="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_architecture.png" alt="weblogic wldf architecture Oracle WebLogic Server  WebLogic Diagnostic Framework   WLDF" width="378" height="259" /></a></p>
<h4>The WLDF Console Extension</h4>
<p><strong> </strong>The WLDF Console Extension provides a set of visual tools you can use to directly manipulate objects to display diagnostic data about WebLogic Server instances.<strong> </strong></p>
<p><strong> </strong><strong> </strong></p>
<h4>WLDF Console Extension Example</h4>
<p><strong> </strong>After starting up WebLogic and still in an idle state:</p>
<p>The number of execute threads remains constant at 3.</p>
<p style="text-align: center;"><a href="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_execute_thread_total_count.png"><img class="size-full wp-image-203 aligncenter" title="WebLogic WLDF Execute Thread Total Count" src="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_execute_thread_total_count.png" alt="weblogic wldf execute thread total count Oracle WebLogic Server  WebLogic Diagnostic Framework   WLDF" width="542" height="217" /></a></p>
<p>There are zero queued requests.</p>
<p style="text-align: center;"><a href="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_queue_length_versus_throughput.png"><img class="size-full wp-image-209 aligncenter" title="WebLogic WLDF Queue Length Versus Throughput" src="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_queue_length_versus_throughput.png" alt="weblogic wldf queue length versus throughput Oracle WebLogic Server  WebLogic Diagnostic Framework   WLDF" width="541" height="206" /></a></p>
<p>As the load starts to ramp up, more execute threads are spawned and at some points it time requests have to wait to be executed.</p>
<p style="text-align: center;"><a href="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_metrics_chart.png"><img class="size-full wp-image-210 aligncenter" title="WebLogic WLDF Metrics Chart" src="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_metrics_chart.png" alt="weblogic wldf metrics chart Oracle WebLogic Server  WebLogic Diagnostic Framework   WLDF" width="465" height="362" /></a></p>
<p style="text-align: center;"><a href="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_self-tuning_thread_pool.png"><img class="size-full wp-image-211 aligncenter" title="WebLogic WLDF Self-Tuning Thread Pool" src="http://blog.2dev.com/wp-content/uploads/2010/05/weblogic_wldf_self-tuning_thread_pool.png" alt="weblogic wldf self tuning thread pool Oracle WebLogic Server  WebLogic Diagnostic Framework   WLDF" width="691" height="181" /></a></p>
<h4>Conclusion</h4>
<p>WLDF and the console extension can be extremely helpful while troubleshooting WebLogic server performance problems.</p>
<p>You can learn mote about WLDF by attending the WebLogic Monitoring and Performance Tuning course.</p>
<p>The greatest place to take such training is DesTech in Toronto, Ontario.</p>
<p>Here is a link to the <a href="http://www.destech.com/description.asp?Training=Toronto_ORACLE_Fusion%20Middleware&amp;cid=OWLS10R3MPT" target="_blank">Oracle WebLogic Monitoring and Performance Turning</a> course by Oracle University and delivered by Destech.</p>
<h4>Feedback</h4>
<p>Let us know how you have been using WLDF, what you like about it and what challenges you have faced for utilizing WLDF.</p>
<p>You can send your feedback online at <a href="http://www.2dev.com/">www.2dev.com</a> or by sending us an email at <a href="mailto:feedback@2dev.com">feedback@2dev.com</a>.</p>
<h4>Download</h4>
<p><a title="Oracle WebLogic Diagnostic Framework - WLDF" href="http://www.2dev.com/docs/Oracle_WebLogic_Monitoring_WLDF.pdf" target="_blank">Oracle_WebLogic_Monitoring_WLDF.pdf</a></p>
<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2010/05/oracle-weblogic-server-webwogic-diagnostic-framework/">Oracle WebLogic Server -WebLogic Diagnostic Framework &#8211; WLDF</a></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.2dev.com/2010/05/oracle-weblogic-server-webwogic-diagnostic-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Resources, Tips and Links</title>
		<link>http://blog.2dev.com/2009/02/oracle-resources-tips-links/</link>
		<comments>http://blog.2dev.com/2009/02/oracle-resources-tips-links/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 20:25:19 +0000</pubDate>
		<dc:creator>Payam Moghtader</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://2dev.com/weblog/?p=8</guid>
		<description><![CDATA[Working in the classroom environment, students always ask me about references and resources that can be reliable and used outside of the training environment.  On the page linked below I have tried to keep a relatively a current list of references documents that I find most useful to the students and the enthusiasts.  Hope you find [...]<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2009/02/oracle-resources-tips-links/">Oracle Resources, Tips and Links</a></p>

No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Working in the classroom environment, students always ask me about references and resources that can be reliable and used outside of the training environment.  On the page linked below I have tried to keep a relatively a current list of references documents that I find most useful to the students and the enthusiasts.  Hope you find this page useful.</p>
<p><a title="2Dev Links &amp; Resources Page" href="http://www.2dev.com/linksandresource.php" target="_self">2Dev Links &amp; Resources Page</a></p>
<p>Post from: <a href="http://blog.2dev.com">2DEV</a><br/><br/><a href="http://blog.2dev.com/2009/02/oracle-resources-tips-links/">Oracle Resources, Tips and Links</a></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.2dev.com/2009/02/oracle-resources-tips-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

