<?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>Ryan Cromwell &#187; Oracle</title>
	<atom:link href="http://blog.cromwellhaus.com/index.php/category/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cromwellhaus.com</link>
	<description>Improving my craft...</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:06:59 +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>Bringing down an Oracle 9i on Windows instance</title>
		<link>http://blog.cromwellhaus.com/2007/03/bringing-down-an-oracle-9i-on-windows-instance/</link>
		<comments>http://blog.cromwellhaus.com/2007/03/bringing-down-an-oracle-9i-on-windows-instance/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 16:14:00 +0000</pubDate>
		<dc:creator>cromwellryan</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">/blogs/ryanc/archive/2007/03/27/bringing-down-an-oracle-9i-on-windows-instance.aspx</guid>
		<description><![CDATA[The Speedy Rewards&#160;program is backed by two pretty hefty Oracle 9i RAC instances.&#160; One is for the OLTP and the other for data-warehousing analytics.&#160; Since it&#8217;s inception we&#8217;ve pretty impressive success with the uptime and performance, though one glaring problem has plagued us now for going on 4 years.&#160; Every 3 days, whoever is on [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.speedyrewards.com" mce_href="http://www.speedyrewards.com">Speedy Rewards</a>&nbsp;program is backed by two pretty hefty <a href="http://www.oracle.com/technology/products/oracle9i/datasheets/rac/rac_rel2_ds.html" mce_href="http://www.oracle.com/technology/products/oracle9i/datasheets/rac/rac_rel2_ds.html">Oracle 9i RAC</a> instances.&nbsp; One is for the OLTP and the other for data-warehousing analytics.&nbsp; Since it&#8217;s inception we&#8217;ve pretty impressive success with the uptime and performance, though one glaring problem has plagued us now for going on 4 years.&nbsp; Every 3 days, whoever is on call is required to reboot EACH instance of the cluster to avoid a &#8220;<a href="http://docs.huihoo.com/oracle/docs/B19306_01/rac.102/b14197/rac_glossary.htm#CHDBEGFH" mce_href="http://docs.huihoo.com/oracle/docs/B19306_01/rac.102/b14197/rac_glossary.htm#CHDBEGFH">Split Brain</a>&#8220;.&nbsp; This is compounded by the fact that the third-party software that we have purchased to manage high-performance points, offers, awards, etc. presentation to our members maintains open connections as long as the application server is running, never closing them or validating themselves.&nbsp; So basically, this third-party software has negated most of the benefit of a RAC cluster in that there is no load balancing (RAC redirects on the initial connection.Open, not between command executions &#8211; sticky connections) and there is no failover during our 3 day reboots.&nbsp; We must effectively go offline every three days for about 10 minutes.&nbsp; Not good for a &lt;1% SLA on greater than &#8220;a lot&#8221; (that&#8217;s lawyer speak) per day.</p>
<p>I could spend all day trying to&nbsp;reiterate their reasoning for maintaining open connections forever, not&nbsp;re-connecting them, or even their decision to take down their entire application server (not physical server but the windows services that encompass their application) when connections begin to fail.&nbsp; I&#8217;ll allow you all to come to your own conclusions as to the competence of this company that shall remain nameless.</p>
<p>After 4 years of open &#8220;TAR&#8217;s&#8221; with Oracle, numerous consultants, configuration changes, and eventually a plan to migrate these instances to 10g on Linux we believe we stumbled upon the root cause.&nbsp; We are all aware, I hope, of Windows Perfmon/Performance Counters and how very helpful they can be in giving insight into your running applications.&nbsp; Well it turns out that Oracle exposes performance counters, but the underlying implementation of these counters login and extract the counter data directly from the target instances.&nbsp; In order for Oracle to do this it provides a set of configurations for specifying the login, instance information, etc for the counters to use.&nbsp; Here comes the kicker &#8211; that login must be VALID.&nbsp; Yes, if it&#8217;s not valid and you have a tool which try to open these performance counters pretty often like <a href="http://g.msn.com/9SE/1?http://www.microsoft.com/mom/&amp;&amp;DI=6244&amp;IG=c74083987ee44fa690049d6c513c311b&amp;POS=1&amp;CM=DEF&amp;CE=1&amp;CS=AWP&amp;SR=1" title="Microsoft Operations Manager" mce_href="http://g.msn.com/9SE/1?http://www.microsoft.com/mom/&amp;&amp;DI=6244&amp;IG=c74083987ee44fa690049d6c513c311b&amp;POS=1&amp;CM=DEF&amp;CE=1&amp;CS=AWP&amp;SR=1">MOM</a>&nbsp;your&nbsp;Oracle process&nbsp;will, over time, leak Virtual Bytes and the Oracle Process will crash, causing a Split Brain.</p>
<p>Long story short, if you&#8217;re interested in crashing an Oracle 9i instance, try to login over and over with an invalid login.&nbsp; Now would you call that a bug?&nbsp; A pretty glaring one if you ask me.</p>
<p>Here is a <a href="http://download-east.oracle.com/docs/cd/B10501_01/win.920/a95490/registry.htm#1005939" title="Parameters for Oracle Performance Monitor for Windows NT" mce_href="http://download-east.oracle.com/docs/cd/B10501_01/win.920/a95490/registry.htm#1005939">link</a> to the configuration settings article which details what we had to do to resolve this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cromwellhaus.com/2007/03/bringing-down-an-oracle-9i-on-windows-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

