<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-434987002285894616</id><updated>2024-10-23T23:55:33.268-07:00</updated><title type='text'>Dr.Oracle</title><subtitle type='html'>An Oracle Database Specialist with over 6 years of hands on experience of handling Single instance and RAC on High End servers. &#xa;An expert in Oracle Performance Tuning and with vast experience of diagnosing and rectifying complex Performance issues of Mission Critical systems.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-9179609365639802954</id><published>2011-01-05T05:10:00.000-08:00</published><updated>2011-01-05T05:10:43.196-08:00</updated><title type='text'>Another Performance mystery unfolded or not?</title><content type='html'>FULL TABLE SCANS on LAST PARTITION of RANGE BASED PARTITIONED TABLE&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
A few days back I came accross a rather strange scenario. Our application team started complaining of&amp;nbsp; BAD PERFORMANCE on a 3 node RAC server which until a day before was hardly 50% loaded. Transactions which used to complete in a second had started taking more than 5 seconds which, to a normal application may not sound as bad as it seems but for a financial application it pretty damn is... &lt;br /&gt;
&lt;br /&gt;
Anyways, upon scrutizing the system I realized that major waits on DB were due to FULL TABLE SCANS on a 70GB WEEKLY partitioned table and the frequency of the query doing FTS was&amp;nbsp; approx. 50/sec. &lt;br /&gt;
&lt;br /&gt;
Surprisingly the relevant indexes were present but not being used despite the existence of latest statistics. Upon further investigation it was dug out that the data was now being inserted in last partition of table whose HIGH_VALUE in dba_partitions was MAXVALUE since the weekly partitions had exhausted.&lt;br /&gt;
&lt;br /&gt;
...SURPRISE SURPRISE...&lt;br /&gt;
&lt;br /&gt;
The resolution was to SPLIT the MAXVALUE partition into valid current week partition. After having done that the tables turned and FULL TABLE SCANS vanished...&lt;br /&gt;
&lt;br /&gt;
Strange.. I did not come across a single document in Oracle which could relate our experience to any particular feature/constraint of Oracle. But somehow the optimizer refused to use EXISTING INDEXES when data was being queried from LAST PARITION (MAXVALUE).</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/9179609365639802954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2011/01/another-performance-mystery-unfolded-or.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/9179609365639802954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/9179609365639802954'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2011/01/another-performance-mystery-unfolded-or.html' title='Another Performance mystery unfolded or not?'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-3441802894833372802</id><published>2010-11-25T05:24:00.000-08:00</published><updated>2010-11-25T05:24:11.178-08:00</updated><title type='text'>SECRETS of ORACLE STREAMS REVEALED</title><content type='html'>I recently had an exhausting experience to implement STREAMS for a HIGH END TRANSACTIONAL SYSTEM hosted on Oracle 10g RAC which was not less than a CHALLENGE. &lt;br /&gt;
&lt;br /&gt;
Surprisingly I came across alot of issues which had not been published before and &lt;br /&gt;
&lt;br /&gt;
The Business requirement was simple: &lt;br /&gt;
Make a SINGLE INSTANCE REPLICA of PRODUCTION SYSTEM running on TWO NODE RAC with near to real time REPLICATION of TWO SCHEMAS without impacting the PERFORMANCE of Production DB in any way. A challenge we took HEAD ON. Ultimately DOWNSTREAM CAPTURE using ARCHIVELOG SHIPPING was chosen as the OPTIMAL MECHANISM to acheive the target. Here under I will elaborate the&amp;nbsp; never before documented steps to succesfully implement this solution.&lt;br /&gt;
&lt;br /&gt;
Oracle documentation specifies you to create THREE BASIC COMPONENTS for STREAMS :&lt;br /&gt;
1- CAPTURE PROCESS - To capture the changes from SOURCE DB&lt;br /&gt;
2- PROPAGATION PROCESS - To propagate the captured changes tp APPLY site&lt;br /&gt;
3 APPLY PROCESS - To apply captures changes on TARGET DB&lt;br /&gt;
&lt;br /&gt;
The above processes are hosted on 2 QUEUES : CAPTURE QUEUE which hosts CAPTURE and PROPAGATION PROCESS and APPLY QUEUE which hosts APPLY PROCESS.&lt;br /&gt;
&lt;br /&gt;
There is a fundamental FLAW with the above configuration for the CHOSEN DEPLOYMENT : DOWNSTREAM CAPTURE using ARCHIVE LOG SHIPPING for TWO SCHEMAS.&lt;br /&gt;
&lt;br /&gt;
Since the CAPTURE and APPLY process will both be hosted on TARGET DB so you do not require a PROPAGATION PROCESS as the latter is used only in the case where CAPTRUE PROCESS in hosted on SOURCE DB, a configuration for REAL TIME replication using LOG WRITER. Hence for our configuration we will OMIT the PROPAGATION PROCESS. Further we DO NOT require seperate queues to HOST CAPTURE and APPLY PROCESS. A single queue is sufficient to host both CAPTURE and APPLY PROCESS. &lt;br /&gt;
&lt;br /&gt;
The above change , once in place, will ensure a succesful replication for more than one SCHEMA, without this configuration STREAMS REPLICATION will NEVER WORK for DOWNSTREAM CAPTURE using ARCHIVE LOG CAPTURE.&lt;br /&gt;
&lt;br /&gt;
Secondly , the scary part for DBAs is to figure out how RAC will behave with STREAMS , what happens if one node fails, what impact would that have on the STREAMS configuration. Well, good news is that RAC handles this anomaly itself.&lt;br /&gt;
You just need to add the TNS entry of the TARGET DB on all nodes of RAC CLUSTER&lt;br /&gt;
&lt;br /&gt;
Wait for my next article wherein I will explain the steps required to configure the STREAMS and some inetresting solutions to challenges faced in PRODUCTION STREAMS DEPLOYMENT.</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/3441802894833372802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/11/secrets-of-oracle-streams-revealed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/3441802894833372802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/3441802894833372802'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/11/secrets-of-oracle-streams-revealed.html' title='SECRETS of ORACLE STREAMS REVEALED'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-6426289064611451147</id><published>2010-09-17T02:55:00.000-07:00</published><updated>2010-09-17T03:18:05.350-07:00</updated><title type='text'>Oracle Performance Tuning Secrets Revealed - Insight to BIND PEEKING</title><content type='html'>&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;The influence of BIND PEEKING (probability of Optimizer choosing an execution plan based on values of Bind Variables) is often underestimated in PERFORMANCE RELATED ISSUES by&amp;nbsp;even DBAs and most often than not usually developers or flawed application design is blamed for poor performance of a application screen (process) which had been working perfect before.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Behind all this so called&amp;nbsp; confusing behaviour of optimizer there is a LEGITIMATE reason...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Oracle Optimizer builds an execution plan for a query based on the values passed to its variables at run time and locks the EXECUTION PLAN in memory which is then referred to as a CURSOR. For subsequent execution of the same query the Optimzer uses the same CURSOR to execute the query thereby reducing PARSE TIMES by avoiding HARD PARSES.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;It is quite possible that for a particular set of variables the same execution plan is not suitable hence the end user start to complain of SLOW performance.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Solution to such a scenario is very simple once your DBA , with the help of the architect has been able to figgure out the possible combination of variables and&amp;nbsp;the data&amp;nbsp;distribution in the base tables. Thats why I always say that a GOOD DBA is a GOOD ARCHITECT since he/she should be completely aware of the ARCHITECTURE of the system.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Now with the consent of Application Operation guys the DBA invalidates the relevant CURSOR,various methods to do so; common amongst them prior to 10.2.0.4 is to grant or revoke privileges on the MAIN TABLE involved in the query , so as to influence the Optimizer to build a FRESH execution plan upon the NEXT execution of this query. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: x-small;&quot;&gt;The DBA can repeat this excerse with various combination of VARIABLES possible for the BIND VARIABLES present in the contending QUERY until an OPTIMAL PLAN is achieved.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;DOWNSIDE to invalidating a CURSOR:&lt;br /&gt;
HARD PARSE occurs for all those queries who are using the TABLE which has been used by DBA to purge the CURSOR. Consequently all the CURSORS involving the table gets invalidated and your ENTRPRISE GRID shows a SPIKE which represents the HARD PARSING of multiple queries, this usually effects the performance of application and the end users must be ready for this effect which usually lasts for a few minutes. Best time to try this exercise on a&amp;nbsp; production machine is in off peak hours.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;em&gt;Background is very simple. Consider the following example&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;em&gt;Table COMPANY has two columns NAME , Value SULMAN appears 100000 times and value TOM appears 10 times.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;imagine a user running following following command:&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;A)select * from COMPANY where NAME = &#39;TOM&#39;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Second user runs the following command&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;B)select * from COMPANY where NAME = &#39;SULMAN&#39;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Second user now starts to complain that performance of query has drastically degraded. REASON: Initially Optimizer chose to use INDEX RANGE SCAN for QUERY&amp;nbsp;A and cached the plan in memory, when user 2 ran&amp;nbsp;QUERY B, an optimal plan would have been a FULL TABLE SCAN since the user is querying more than 90% of total rows of the table , however due to the previous PLAN being cached in memory it is compelled to do a INDEX RANGE SCAN, hence a BAD PERFORMANCE experience.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;However, it is NOT ALWAYS necessary that the NEW EXECUTION PLAN is a suitable one, or that the OPTIMIZER engine has infact generated TWO plans in memory for a particluar query. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;In such situations the LINE OF ACTION for a DBA varies... Stay updated to look out for the solution to tackle such situations.... :) &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;strong&gt;#############################################################################################################################&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;This demonstration assumes that the DBA has already pinpointed the CONTENDING query which is causing the problem.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; executions, invalidations, sql_id, plan_hash_value from v$sql where sql_id = &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;cuxp1ra2nkshf&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 417px;&quot;&gt;&lt;colgroup&gt;&lt;/colgroup&gt;&lt;&gt;&amp;lt;&amp;gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/colgroup&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/&gt;&lt;/&gt;&lt;/span&gt;&lt;/&gt; &lt;/&gt;&lt;colgroup&gt;&lt;/colgroup&gt;&lt;&gt;&amp;lt;&amp;gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/&gt; &lt;/&gt;&lt;colgroup&gt;&lt;col style=&quot;mso-width-alt: 3072; mso-width-source: userset; width: 63pt;&quot; width=&quot;84&quot;&gt;&lt;col style=&quot;mso-width-alt: 3876; mso-width-source: userset; width: 80pt;&quot; width=&quot;106&quot;&gt;&lt;col style=&quot;mso-width-alt: 3547; mso-width-source: userset; width: 73pt;&quot; width=&quot;97&quot;&gt;&lt;col style=&quot;mso-width-alt: 4754; mso-width-source: userset; width: 98pt;&quot; width=&quot;130&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; height: 15pt; width: 63pt;&quot; width=&quot;84&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;EXECUTIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 80pt;&quot; width=&quot;106&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;INVALIDATIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 73pt;&quot; width=&quot;97&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;SQL_ID&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 98pt;&quot; width=&quot;130&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;PLAN_HASH_VALUE&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext; height: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;cuxp1ra2nkshf&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3301931525&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext; height: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3295&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;cuxp1ra2nkshf&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3839839006&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;By looking at both the execution plan after analyzing the dynamics of the underlying tables you determine that the plan against which EXECUTIONS is shown as null is a better plan and should be used instead.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;select * from table(dbms_xplan.display_cursor(&#39;cuxp1ra2nkshf&#39;,null))&lt;/span&gt;&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
SQL_ID&amp;nbsp; cuxp1ra2nkshf, child number 0 &lt;br /&gt;
------------------------------------- &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp; &lt;br /&gt;
Plan hash value: 3301931525 &lt;/span&gt;&amp;nbsp; &lt;br /&gt;
--------------------------------------------------------------------------------------------------- &lt;br /&gt;
| Id&amp;nbsp; | Operation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Rows&amp;nbsp; | Bytes | Cost (%CPU)| Time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
--------------------------------------------------------------------------------------------------- &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 0 | SELECT STATEMENT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 (100)|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp; SORT ORDER BY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 694 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp; (20)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 2 |&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 694 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 3 |&amp;nbsp;&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 553 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 4 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 532 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 5 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID| CX_MNP_NPR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 504 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 6 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX RANGE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | CX_MNP_NPR_I6&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 7 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX RANGE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | S_POSTN_M50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp; 28 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 8 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID | S_USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 9 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX UNIQUE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | S_USER_P1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp; 10 |&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID&amp;nbsp; | CX_MNP_NPR_X&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 141 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|* 11 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX RANGE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | CX_MNP_NPR_X_U1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
--------------------------------------------------------------------------------------------------- &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
SQL_ID&amp;nbsp; cuxp1ra2nkshf, child number 1 &lt;br /&gt;
------------------------------------- &lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;Plan hash value: 3839839006&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
--------------------------------------------------------------------------------------------------- &lt;br /&gt;
| Id&amp;nbsp; | Operation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Rows&amp;nbsp; | Bytes | Cost (%CPU)| Time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
--------------------------------------------------------------------------------------------------- &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 0 | SELECT STATEMENT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 (100)|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp; SORT ORDER BY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 694 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp; (20)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 2 |&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 694 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 3 |&amp;nbsp;&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 553 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 4 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NESTED LOOPS OUTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 532 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 5 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID| CX_MNP_NPR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 504 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 6 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX SKIP SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | CX_MNP_NPR_I3&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 7 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX RANGE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | S_POSTN_M50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp; 28 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp;&amp;nbsp; 8 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID | S_USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|*&amp;nbsp; 9 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX UNIQUE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | S_USER_P1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|&amp;nbsp; 10 |&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE ACCESS BY INDEX ROWID&amp;nbsp; | CX_MNP_NPR_X&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp; 141 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
|* 11 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INDEX RANGE SCAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | CX_MNP_NPR_X_U1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; (0)| 00:00:01 | &lt;br /&gt;
---------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;Purge the relevant cursor through following command;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;grant update on table to sulmandba; (name of the table should ideally be the one which is referenced in PREDICATE with bind variables) &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Run the following query to ensure that the cursor has been invalidated. (the value INVALIDATION COLUMN would increment)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; executions, invalidations, sql_id, plan_hash_value from v$sql where sql_id = &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;cuxp1ra2nkshf&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 417px;&quot;&gt;&lt;colgroup&gt;&lt;/colgroup&gt;&lt;&gt;&amp;lt;&amp;gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/colgroup&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/&gt;&lt;/&gt;&lt;/span&gt;&lt;/&gt; &lt;/&gt;&lt;colgroup&gt;&lt;/colgroup&gt;&lt;&gt;&amp;lt;&amp;gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/&gt; &lt;/&gt;&lt;colgroup&gt;&lt;col style=&quot;mso-width-alt: 3072; mso-width-source: userset; width: 63pt;&quot; width=&quot;84&quot;&gt;&lt;col style=&quot;mso-width-alt: 3876; mso-width-source: userset; width: 80pt;&quot; width=&quot;106&quot;&gt;&lt;col style=&quot;mso-width-alt: 3547; mso-width-source: userset; width: 73pt;&quot; width=&quot;97&quot;&gt;&lt;col style=&quot;mso-width-alt: 4754; mso-width-source: userset; width: 98pt;&quot; width=&quot;130&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; height: 15pt; width: 63pt;&quot; width=&quot;84&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;EXECUTIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 80pt;&quot; width=&quot;106&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;INVALIDATIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 73pt;&quot; width=&quot;97&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;SQL_ID&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 98pt;&quot; width=&quot;130&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;PLAN_HASH_VALUE&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext; height: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;cuxp1ra2nkshf&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3301931525&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext; height: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3295&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;background-color: yellow; color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;cuxp1ra2nkshf&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3839839006&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Now re-execute the query from application process and see if the NEW CURSOR with NEW EXECUTION PLAN has been created. &lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 417px;&quot;&gt;&lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; height: 15pt; width: 63pt;&quot; width=&quot;84&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;EXECUTIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 80pt;&quot; width=&quot;106&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;INVALIDATIONS&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 73pt;&quot; width=&quot;97&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;SQL_ID&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl63&quot; style=&quot;background-color: yellow; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; width: 98pt;&quot; width=&quot;130&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;PLAN_HASH_VALUE&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid; border-top: windowtext; height: 15pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;cuxp1ra2nkshf&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; class=&quot;xl64&quot; style=&quot;background-color: transparent; border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-right: windowtext 0.5pt solid; border-top: windowtext;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: xx-small;&quot;&gt;3301931525&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/6426289064611451147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/oracle-performance-tuning-secrets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/6426289064611451147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/6426289064611451147'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/oracle-performance-tuning-secrets.html' title='Oracle Performance Tuning Secrets Revealed - Insight to BIND PEEKING'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-7901746474323086524</id><published>2010-09-16T00:02:00.000-07:00</published><updated>2010-09-16T00:02:23.189-07:00</updated><title type='text'>dbca unable to open display on HP-UX Itanium mv 11.31</title><content type='html'>Workaround ....&lt;br /&gt;
&lt;br /&gt;
take backup of existing dbca file ($ORACLE_HOME/bin/dbca)&lt;br /&gt;
&lt;br /&gt;
open dbca file and change path of JRE_DIR to point towards JAVA installation bundled with OS &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;vi dbca&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;JRE_DIR=/opt/java1.4/jre&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy :) &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;KNOWN ISSUE: JRE bundled with ORacle 10g is incompatible with HO-UXI v11.31 hence to display any console you have to explicitly use the JRE bundled with the OS.&lt;/u&gt;</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/7901746474323086524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/dbca-unable-to-open-display-on-hp-ux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/7901746474323086524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/7901746474323086524'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/dbca-unable-to-open-display-on-hp-ux.html' title='dbca unable to open display on HP-UX Itanium mv 11.31'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-698351240844364834</id><published>2010-09-15T03:10:00.000-07:00</published><updated>2010-09-15T03:10:29.740-07:00</updated><title type='text'>Unable to install Oracle 10g on HP-UX Itanium 11.31</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Today was a pleasant day since the task on hand was the one given to novice DBAs, however my assumption soon turned out to be a HUGE misconception....&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;While installing Oracle Database 10g base release on HP Unix Itanium Server with OS kernel version 11.31 we were unable to start the OUI and got following error:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;div style=&quot;-webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white; color: black; font: 13px/19px &amp;quot;Lucida Grande&amp;quot;, &amp;quot;Lucida Sans Unicode&amp;quot;, Tahoma, Verdana, sans-serif; margin: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: red; color: #333333;&quot;&gt;&lt;u&gt;&lt;strong&gt;&lt;em&gt;Checking Operating System Version Must be B.11.23 Actual B.11.31&lt;/em&gt;&lt;/strong&gt;&lt;/u&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white; color: black; font: 13px/19px &amp;quot;Lucida Grande&amp;quot;, &amp;quot;Lucida Sans Unicode&amp;quot;, Tahoma, Verdana, sans-serif; margin: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;After hours of digging through the the documentation available on the internet specifies the following reason for it and proposes a workaround which unfortunately is not entirely correct...&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white; color: black; font: 13px/19px &amp;quot;Lucida Grande&amp;quot;, &amp;quot;Lucida Sans Unicode&amp;quot;, Tahoma, Verdana, sans-serif; margin: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;em&gt;&lt;strong&gt;The installer attempts to make sure that you are using a certified combination of product and OS.&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white; color: black; font: 13px/19px &amp;quot;Lucida Grande&amp;quot;, &amp;quot;Lucida Sans Unicode&amp;quot;, Tahoma, Verdana, sans-serif; margin: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If you want to override this, try using:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white; color: black; font: 13px/19px &amp;quot;Lucida Grande&amp;quot;, &amp;quot;Lucida Sans Unicode&amp;quot;, Tahoma, Verdana, sans-serif; margin: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;&lt;em&gt;./runInstaller -ignoreSysPrereqs&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;To quote the documentation: &lt;br /&gt;
&lt;em&gt;__________________________________________ &lt;br /&gt;
Install following operating system patch. &lt;br /&gt;
PHKL_35936 &lt;br /&gt;
&lt;br /&gt;
To ignore the system pre-requisite test during installation use-ignoreSysPreReqs flag with runInstaller. &lt;br /&gt;
__________________________________________ &lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
It is telling you that install the required OS PATCH and when you run the Oracle installer use the -ignoreSysPrereqs option on the command line: &lt;br /&gt;
&lt;br /&gt;
./runInstaller -ignoreSysPrereqs &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;However even after installing the required Kernel Patch and executing the runInstaller with the required switch the OUI failed to start...&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Further investigation relvealed the following and a FIX for it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;This is due to internal OUI bug with &lt;u&gt;Montecito Processor.&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;What it means is that the JRE version bundled with Oracle Installation is incompatible to invoke the OUI while running on a machine hosting MONTECITO PROCESSOR. It is worth to mention that it is not possible for any&amp;nbsp;System Admin to diagnoze the exact Processor Family from command line. Your Harware vendor needs to be contacted for this diagnoses..&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;However, this provided the much required solution to our problem... and we were able to invoke OUI by using following command.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;&lt;em&gt;./runInstaller -jreLoc &amp;lt;path of JAVA1.4&amp;gt;/jre -ignoreSysPrereqs&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;&lt;em&gt;Lesson learnt: never underestimate any task&amp;nbsp; :) &lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/698351240844364834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/unable-to-install-oracle-10g-on-hp-ux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/698351240844364834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/698351240844364834'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/unable-to-install-oracle-10g-on-hp-ux.html' title='Unable to install Oracle 10g on HP-UX Itanium 11.31'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-7482953247433475452</id><published>2010-09-14T05:34:00.000-07:00</published><updated>2010-09-14T05:35:19.550-07:00</updated><title type='text'>Oracle RAC Architecture</title><content type='html'>&lt;h3&gt;A peek into &lt;span style=&quot;font-family: inherit;&quot;&gt;RAC Architecture &lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Let&#39;s begin with a brief overview of RAC architecture.&lt;/span&gt;&lt;br /&gt;
&lt;ul class=&quot;bb-list&quot; style=&quot;list-style-type: circle;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A cluster is a set of 2 or more machines (nodes) that share or coordinate resources to perform the same task. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A RAC database is 2 or more instances running on a set of clustered nodes, with all instances accessing a shared set of database files. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Depending on the O/S platform, a RAC database may be deployed on a cluster that uses vendor clusterware plus Oracle&#39;s own clusterware (Cluster Ready Services), or on a cluster that solely uses Oracle&#39;s own clusterware.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Thus, every RAC sits on a cluster that is running Cluster Ready Services. &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt; is the primary tool DBAs use to configure CRS for their RAC database and processes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cluster Ready Services and the OCR&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Cluster Ready Services, or CRS, is a new feature for 10g RAC. Essentially, it is Oracle&#39;s own clusterware. On most platforms, Oracle supports vendor clusterware; in these cases, CRS interoperates with the vendor clusterware, providing high availability support and service and workload management. On Linux and Windows clusters, CRS serves as the sole clusterware. In all cases, CRS provides a standard cluster interface that is consistent across all &lt;br /&gt;
platforms.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;CRS consists of four processes (&lt;span style=&quot;font-style: italic;&quot;&gt;crsd, occsd, evmd,&lt;/span&gt; and &lt;span style=&quot;font-style: italic;&quot;&gt;evmlogger&lt;/span&gt;) and two disks: the Oracle Cluster Registry (OCR), and the voting disk. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;CRS manages the following resources: &lt;/span&gt;&lt;br /&gt;
&lt;ul class=&quot;bb-list&quot; style=&quot;list-style-type: circle;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The ASM instances on each node &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Databases &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The instances on each node &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Oracle Services on each node &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The cluster nodes themselves, including the following processes, or &quot;nodeapps&quot;: &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VIP &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;GSD &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The listener &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The ONS daemon &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;CRS stores information about these resources in the OCR. If the information in the OCR for one of these resources becomes damaged or inconsistent, then CRS is no longer able to manage that resource. Fortunately, the OCR automatically backs itself up regularly and frequently.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Interacting with CRS and the OCR: &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt; is the tool Oracle recommends that DBAs use to interact with CRS and the cluster registry. Oracle does provide several tools to interface with the cluster registry and CRS more directly, at a lower level, but these tools are deliberately undocumented and intended only for use by Oracle Support. &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt;, in contrast, is well documented and easy to use. Using other tools to modify the OCR or manage CRS without the assistance of Oracle Support runs the risk of damaging the OCR.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Using &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Even if you are experienced with 9i &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt;, it&#39;s worth taking a look at this section; 9i and 10g &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt; commands are slightly different.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt; must be run from the $ORACLE_HOME of the RAC you are administering. The basic format of a &lt;span style=&quot;font-style: italic;&quot;&gt;srvctl&lt;/span&gt; command is &lt;/span&gt;&lt;br /&gt;
&lt;code class=&quot;bb-code&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;srvctl &amp;lt;command&amp;gt; &amp;lt;target&amp;gt; [options]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;where &lt;span style=&quot;font-style: italic;&quot;&gt;command&lt;/span&gt; is one of&lt;/span&gt;&lt;br /&gt;
&lt;code class=&quot;bb-code&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;and the &lt;span style=&quot;font-style: italic;&quot;&gt;target&lt;/span&gt;, or &lt;span style=&quot;font-style: italic;&quot;&gt;object&lt;/span&gt;, can be a database, instance, service, ASM instance, or the nodeapps.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/7482953247433475452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/oracle-rac-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/7482953247433475452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/7482953247433475452'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/oracle-rac-architecture.html' title='Oracle RAC Architecture'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-434987002285894616.post-629274919485797409</id><published>2010-09-14T05:31:00.000-07:00</published><updated>2010-09-14T05:31:01.912-07:00</updated><title type='text'>CLONE ORACLE RAC 10g</title><content type='html'>&lt;strong&gt;&lt;u&gt;Follow these easy steps to clone your existing RAC environment on the same machine hosted on ASM.&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
In this exercise we duplicate the Two node RAC-instance into a single instance Database and then put that single instace into a two node RAC database&lt;br /&gt;
&lt;br /&gt;
1) Created passwdfile for the AUX_DB instace. This file is at $ORACLE_HOME/dbs&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
2)Updated the parameter file.&lt;br /&gt;
&lt;br /&gt;
Following Two parameter must be included &lt;br /&gt;
*.db_file_name_convert=&#39;+DATADG/source/&#39;,&#39;+DATADG/clone/&#39;&lt;br /&gt;
*.log_file_name_convert=&#39;+DATADG/source/&#39;,&#39;+DATADG/clone/&#39;&lt;br /&gt;
Remove RAC specific paramaters from the parameter file.&lt;br /&gt;
&lt;br /&gt;
3) place the AUXILARY&amp;nbsp; instance in no-mount mode&lt;br /&gt;
&lt;br /&gt;
Using RMAN restore the backup &lt;br /&gt;
$ rman target &lt;a href=&quot;mailto:sys/xxxx@clone&quot;&gt;sys/xxxx@clone&lt;/a&gt;;&lt;br /&gt;
RMAN&amp;gt; connect AUXILIARY SYS/xxxx&lt;br /&gt;
connected to auxiliary database (not started)&lt;br /&gt;
RMAN&amp;gt; connect catalog &lt;a href=&quot;mailto:username/password@service_catalogDB&quot;&gt;username/password@service_catalogDB&lt;/a&gt;&lt;br /&gt;
connected to recovery catalog database&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; run {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
2&amp;gt; ALLOCATE CHANNEL disk1 DEVICE TYPE DISK;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
3&amp;gt; ALLOCATE CHANNEL disk2 DEVICE TYPE DISK;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
4&amp;gt; ALLOCATE CHANNEL disk3 DEVICE TYPE DISK;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
5&amp;gt; ALLOCATE CHANNEL disk4 DEVICE TYPE DISK;&amp;nbsp; &lt;br /&gt;
6&amp;gt; ALLOCATE AUXILIARY CHANNEL&amp;nbsp;&amp;lt;ANY_NAME&amp;gt;&amp;nbsp; DEVICE TYPE DISK;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
7&amp;gt; DUPLICATE TARGET DATABASE TO&amp;nbsp;&amp;lt;CLONE_DB_NAME&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
8&amp;gt;&amp;nbsp;&amp;nbsp; LOGFILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
9&amp;gt;&amp;nbsp;&amp;nbsp; GROUP 1 (&#39;+DATADG/clone/redo01.log&#39;) SIZE 512M,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
10&amp;gt;&amp;nbsp;&amp;nbsp; GROUP 2 (&#39;+DATADG/clone/redo02.log&#39;) SIZE 512M,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
11&amp;gt;&amp;nbsp;&amp;nbsp; GROUP 3 (&#39;+DATADG/clone/redo03.log&#39;) SIZE 512M,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
12&amp;gt;&amp;nbsp;&amp;nbsp; GROUP 4 (&#39;+DATADG/clone/redo04.log&#39;) SIZE 512M;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
13&amp;gt; RELEASE CHANNEL disk1;&lt;br /&gt;
14&amp;gt; RELEASE CHANNEL disk2;&lt;br /&gt;
15&amp;gt; RELEASE CHANNEL disk3;&lt;br /&gt;
16&amp;gt; RELEASE CHANNEL disk4;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
17&amp;gt; release channel &amp;lt;NAME_GIVEN_IN_LINE_6&amp;gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
18&amp;gt; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) during Clone you may get the error &lt;br /&gt;
RMAN-06136: ORACLE error from auxiliary database: ORA-38856: cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabled&lt;br /&gt;
its solution is to add the following hidden parameter in the parameter file&lt;br /&gt;
_no_recovery_through_resetlogs=TRUE&lt;br /&gt;
shutdown the instance, and open with RESETLOGS option.&lt;br /&gt;
&lt;br /&gt;
5) Before moving the single instance i had to move it into TWO node RAC instance, so first i moved the controlfile onto ASM ,&lt;br /&gt;
so for that open the database in NO-MOUNt mode and using RMAN moved it onto ASM&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; restore controlfile to &#39;+DATADG/clone/controlfile/controlfile.ctl&#39; from &#39;$ORACLE_HOME/dbs/control01.ctl&#39;;&lt;br /&gt;
&lt;br /&gt;
6) Now changed the single instance&amp;nbsp;parameter file init.ora with initCLONE1.ora on NODE1 node and initCLONE2.ora on node-2. &lt;br /&gt;
&amp;nbsp;(You can use your existing RAC parameter files as sample)&lt;br /&gt;
&lt;br /&gt;
7) open the database on both the instances. &lt;br /&gt;
&lt;br /&gt;
8) Add it into cluster with following command.&lt;br /&gt;
&lt;br /&gt;
$ srvctl add database -d&amp;nbsp;DB_NAME -o $ORACLE_HOME [Execute From only 1 instance, $ORACLE_HOME should be replaced with Actual Value]&lt;br /&gt;
$ srvctl add instance -d&amp;nbsp;DB_NAME -i CLONE1 -n node1 [Execute From only 1 instance]&lt;br /&gt;
$ srvctl add instance -d&amp;nbsp;DB_NAME -i CLONE2 -n node2 [Execute From only 1 instance]&lt;br /&gt;
===================== NOTE =================&lt;br /&gt;
As this clone was created with RAC DATABASE, So while moving it onto the two instance cluster database, i didnt need to add a UNDO tablespace,&lt;br /&gt;
but i had to create the redologs.&lt;br /&gt;
while starting the instance at node-2 i got the following error&lt;br /&gt;
ORA-01618: redo thread 2 is not enabled - cannot mount&lt;br /&gt;
so for that i followed the following steps&lt;br /&gt;
thread&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
SQL&amp;gt; select thread#, enabled from v$thread;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; THREAD# ENABLED&lt;br /&gt;
---------- --------&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 PUBLIC&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 DISABLED&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter database enable public thread 2;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Users might face multiple issues while performing this process, for example LOG GROUP THREAD 2 will have to be created from instance 1 before starting instance 2. You may post your errors here for me to investigate and give suggestions.</content><link rel='replies' type='application/atom+xml' href='http://sulmanoracledba.blogspot.com/feeds/629274919485797409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/clone-oracle-rac-10g.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/629274919485797409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/434987002285894616/posts/default/629274919485797409'/><link rel='alternate' type='text/html' href='http://sulmanoracledba.blogspot.com/2010/09/clone-oracle-rac-10g.html' title='CLONE ORACLE RAC 10g'/><author><name>Sulman</name><uri>http://www.blogger.com/profile/06324383984965844073</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7IkzI3KgnqAtOyyDeXsFahcLxAtJK_r9O74GYgcb5GF_CLf6PCiUsaDL1nwkVJOizXqRTpgQyHmUe0gp-poKRAc6WyyiyA0FCPNLMRc91XClj0EOOb83kbbRCD8MaA/s220/pic.jpg'/></author><thr:total>1</thr:total></entry></feed>