<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" 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" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-34560741</atom:id><lastBuildDate>Sun, 16 Jun 2013 11:48:17 +0000</lastBuildDate><category>Tuning</category><category>Off Topic</category><category>Dynamic Sampling</category><category>Oracle VirtualBox</category><category>SQL</category><category>Database Concepts</category><category>Article</category><category>Characterset</category><category>Performance Tuning</category><category>PL/SQL</category><category>Oracle 10g</category><category>ORA-07445</category><category>OCM</category><category>Syntax Highlighter</category><category>Encryption</category><category>Oracle 11g R2</category><category>VLDB</category><category>XE</category><category>Job</category><category>Cardinality</category><category>Grid Infrastructure</category><category>Oracle 12c</category><category>RAC</category><category>Rain</category><category>OOW-2012</category><category>Oracle University</category><category>Data Guard</category><category>Conference</category><category>Block Corruption</category><category>Library Cache Pin</category><category>Presentation</category><category>11g New Features</category><category>Virtual Conference</category><category>ACE</category><category>Error Message</category><category>AWR</category><category>Book</category><category>Operating System</category><category>SQL Functions</category><category>Tsunami</category><category>NoCOUG</category><category>ORA-00600</category><category>OEL</category><category>Oracle 11g</category><category>RMAN</category><category>Master Note</category><category>Initialization Parameters</category><category>Webcast</category><category>Redo Log Files</category><category>Oracle Streams</category><category>Control File</category><category>AIOUG</category><category>Free Courses</category><category>Upgrade</category><category>OTN</category><category>Database</category><category>Patchset</category><category>OOW</category><category>DBUA</category><category>OOW-2010</category><category>Database Upgrade</category><title>The Momen Blog</title><description>Views expressed here are solely that of my own. Please make sure that you test the code/queries that appear on my blog before applying them to the production environment.</description><link>http://momendba.blogspot.com/</link><managingEditor>noreply@blogger.com (Asif Momen)</managingEditor><generator>Blogger</generator><openSearch:totalResults>119</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheMomenBlog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="themomenblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-5045585919536552494</guid><pubDate>Wed, 13 Mar 2013 11:28:00 +0000</pubDate><atom:updated>2013-03-13T14:28:43.468+03:00</atom:updated><title>Connecting to Oracle Database Even if Background Processes are Killed</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;Yesterday, I received an email update from MOS Hot Topics Email alert regarding a knowledge article which discusses how to connect to an Oracle database whose background processes are killed.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;I bet every DBA must have encountered this situation at least once. When I am in this situation, I normally use "shutdown abort" to stop the database and then proceed with normal startup.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;After receiving the email, I thought of reproducing the same. My database (TGTDB) is 11.2.0.3 running on RHEL-5.5. The goal is to kill all Oracle background process and try to connect to the database.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Of course you don't want to test this in your production databases.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; select * from v$version;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;BANNER&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;--------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;PL/SQL Release 11.2.0.3.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;CORE &amp;nbsp; &amp;nbsp;11.2.0.3.0 &amp;nbsp; &amp;nbsp; &amp;nbsp;Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;TNS for Linux: Version 11.2.0.3.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;NLSRTL Version 11.2.0.3.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Below is the list of background processes for my test database "TGTDB":&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$ ps -ef|grep TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8249 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_pmon_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8251 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_psp0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8253 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_vktm_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8257 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_gen0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8259 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_diag_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8261 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_dbrm_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8263 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_dia0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8265 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;6 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:02 ora_mman_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8267 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_dbw0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8269 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;1 01:35 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_lgwr_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8271 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_ckpt_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8273 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_smon_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8275 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_reco_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8277 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;1 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_mmon_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8279 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_mmnl_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8281 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_d000_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8283 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_s000_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8319 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_p000_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8321 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_p001_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8333 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_arc0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8344 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;1 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_arc1_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8346 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_arc2_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8348 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_arc3_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8351 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_qmnc_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8366 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_cjq0_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8368 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_vkrm_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8370 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_j000_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8376 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_q000_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8378 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 01:36 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:00:00 ora_q001_TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8402 &amp;nbsp;4494 &amp;nbsp;0 01:36 pts/1 &amp;nbsp; &amp;nbsp;00:00:00 grep TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Let us kill all these processes at once as shown below:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$ kill -9 `ps -ef|grep TGTDB | awk '{print ($2)}'`&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;bash: kill: (8476) - No such process&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Make sure no processes are running for our database:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$ ps -ef|grep TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;oracle &amp;nbsp; &amp;nbsp;8520 &amp;nbsp;4494 &amp;nbsp;0 01:37 pts/1 &amp;nbsp; &amp;nbsp;00:00:00 grep TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Now, try to connect to the database using SQL*Plus:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;[oracle@ogg2 ~]$ sqlplus "/as sysdba"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL*Plus: Release 11.2.0.3.0 Production on Wed Mar 13 01:38:12 2013&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Copyright (c) 1982, 2011, Oracle. &amp;nbsp;All rights reserved.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Connected to:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Voila, I am connected. Not only you get connected to the database but you can query V$*, DBA* and other application schema views/tables. Let's give a try:&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; select name from v$database;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;---------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;TGTDB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; select name from v$tablespace;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SYSTEM&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SYSAUX&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;UNDOTBS1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;USERS&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;TEMP&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;TEST_TS&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;6 rows selected.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; select count(*) from dba_tables;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; COUNT(*)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;----------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2787&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; select count(*) from test.emp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; COUNT(*)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;----------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3333&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Let us try to update a record.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; update test.emp &amp;nbsp;set ename = 'test' where eno = 2;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;1 row updated.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
Wow, one record was updated. But when you try to commit/rollback, the instance gets terminated. And it makes sense as the background processes responsible for carrying out the change have all died.&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt; commit;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;commit&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;ERROR at line 1:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;ORA-03113: end-of-file on communication channel&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Process ID: 8917&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Session ID: 87 Serial number: 7&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Following is the error message recorded in the database alert log:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Wed Mar 13 01:41:44 2013&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;USER (ospid: 8917): terminating the instance due to error 472&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;Instance terminated by USER, pid = 8917&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;The user (client) session was able to retrieve data from the database as the shared memory was still available and the client session does not need background processes for this task.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Below mentioned MOS article discusses on how to identify and kill the shared memory segment(s) allocated to "oracle" user through UNIX/Linux commands.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;

&lt;span style="font-family: Verdana, sans-serif;"&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="background-color: white; font-family: Verdana, sans-serif; text-align: right;"&gt;Successfully Connect to Database Even if Background Processes are Killed [ID 166409.1]&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
</description><link>http://momendba.blogspot.com/2013/03/connecting-to-oracle-database-even-if.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-4723067647087379621</guid><pubDate>Thu, 07 Mar 2013 16:15:00 +0000</pubDate><atom:updated>2013-03-08T19:00:56.627+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">OEL</category><title>Oracle Linux 6.4 Announced</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;The Oracle Linux team has announced the availability of Oracle &lt;strike&gt;Enterprise &lt;/strike&gt;Linux (OL) 6.4. You can download OEL-6.4 from Oracle's EDelivery website (the link is below):&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="https://edelivery.oracle.com/EPD/Search/handle_go"&gt;https://edelivery.oracle.com/EPD/Search/handle_go&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;To learn more about OL-6.4 click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="http://docs.oracle.com/cd/E37670_01/E39522/html/"&gt;http://docs.oracle.com/cd/E37670_01/E39522/html/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Happy downloading!!!&amp;nbsp;&lt;/span&gt;</description><link>http://momendba.blogspot.com/2013/03/oracle-linux-64-announced.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-6520794200165485395</guid><pubDate>Mon, 04 Mar 2013 11:59:00 +0000</pubDate><atom:updated>2013-03-04T14:59:36.369+03:00</atom:updated><title>Exporting Multiple Tables on a Common Filter</title><description>&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;To be frank, I consider myself novice when it comes to
advanced export/import requirements. This is because I don’t deal with these
utilities on a day-to-day basis. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;A simple requirement came across my desk to export selected
tables from a schema based on a common filter. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Requirement: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Say, you have 5 tables T1, T2, T3, T4, and T5. All have “ID”
as the primary key column and you have to export data from these tables only if
it is found in COMMON_TABLE. The COMMON_TABLE stores “ID” to be exported. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Solution: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;The first place that I look for solution is “Oracle
Documentation”. I knew we can filter a table using “QUERY” parameter of Data Pump
Export but did not know how to apply it on multiple tables. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;The syntax of the QUERY parameter is:&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;span style="color: #222222; font-family: Verdana, sans-serif;"&gt;QUERY = [&lt;/span&gt;&lt;i style="font-family: Verdana, sans-serif;"&gt;&lt;span style="color: #222222;"&gt;schema&lt;/span&gt;&lt;/i&gt;&lt;span style="color: #222222; font-family: Verdana, sans-serif;"&gt;.][&lt;/span&gt;&lt;i style="font-family: Verdana, sans-serif;"&gt;&lt;span style="color: #222222;"&gt;table_name&lt;/span&gt;&lt;/i&gt;&lt;span style="color: #222222; font-family: Verdana, sans-serif;"&gt;:] &lt;/span&gt;&lt;i style="font-family: Verdana, sans-serif;"&gt;&lt;span style="color: #222222;"&gt;query_clause&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;If you omit [schema.][table_name:] then the query is applied
to all the tables in the export job. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;So, here’s my export command:&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;expdp test/test DIRECTORY=data_pump_dir TABLES=t1,t2,t3,t4,t5 DUMPFILE=test.dmp QUERY=\"WHERE id IN \(SELECT common_table.id FROM common_table\)\"&lt;/span&gt;

&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;You may click &lt;a href="http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#i1007859" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;to read more about the &lt;a href="http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#i1007859" target="_blank"&gt;QUERY&lt;/a&gt;&amp;nbsp;parameter of
Data Pump Export. &lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Thanks for reading!!!&lt;/span&gt;&lt;/div&gt;
</description><link>http://momendba.blogspot.com/2013/03/exporting-multiple-tables-on-common.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-183469380868609816</guid><pubDate>Tue, 12 Feb 2013 07:21:00 +0000</pubDate><atom:updated>2013-02-12T10:21:54.359+03:00</atom:updated><title>RACcheck for Single Instance Databases</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;Starting with RACcheck 2.2.0, RACcheck support is extended to Oracle Single Instance Databases, Oracle Restart and RAC One Node configurations.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;I downloaded the latest version of the tool and tested it against my play database. Below is a sample RACcheck output from a single instance database:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span style="font-size: 11px; line-height: 12px;"&gt;[oracle@localhost raccheck]$ ./raccheck -v&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span style="font-size: 11px; line-height: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span style="font-size: 11px; line-height: 12px;"&gt;RACCHECK &amp;nbsp;VERSION: 2.2.0_20121109&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span style="font-size: 11px; line-height: 12px;"&gt;[oracle@localhost raccheck]$&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Courier New;"&gt;&lt;span style="font-size: 11px; line-height: 12px;"&gt;[oracle@localhost raccheck]$&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;[oracle@localhost raccheck]$
./raccheck -a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;List of running databases&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;1. testdb&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;2. None of above&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;Select databases from list for
checking best practices. For multiple databases, select 1 for All or comma
separated number like 1,2 etc [1-2][1].&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;. . &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;Checking Status of Oracle Software
Stack - Clusterware, ASM, RDBMS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;. . . . . . . . . . . . . . . &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; line-height: 12px;"&gt;----------&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;---------------------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&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;
Oracle Stack Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; line-height: 12px;"&gt;----------&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;---------------------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;Host Name&amp;nbsp; CRS Installed&amp;nbsp;
ASM HOME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RDBMS
Installed&amp;nbsp; CRS UP&amp;nbsp;&amp;nbsp;&amp;nbsp; ASM UP&amp;nbsp;&amp;nbsp;&amp;nbsp;
RDBMS UP&amp;nbsp; DB Instance Name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;-------------------------------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;localhost&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
testdb&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; line-height: 12px;"&gt;----------&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"&gt;---------------------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Refer to the MOS document mentioned below to learn more about RACcheck tool.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;You may download the latest version of RACcheck from My Oracle Support (MOS).&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;References:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14px; text-align: right;"&gt;RACcheck - RAC Configuration Audit Tool [ID 1268927.1]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</description><link>http://momendba.blogspot.com/2013/02/raccheck-for-single-instance-databases.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-253034835371477157</guid><pubDate>Wed, 30 Jan 2013 19:51:00 +0000</pubDate><atom:updated>2013-01-30T23:26:41.529+03:00</atom:updated><title>Bug: ORA-00979: not a GROUP BY expression</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;Bugs and performance degradation are part of database upgrade stories and we have witnessed yet another post-upgrade bug after upgrading our database from Oracle 10gR2 (10.2.0.5) to Oracle 11gR2 (11.2.0.2).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Following query (I have simplified the query for the demonstration purpose) was running happily within Oracle 10gR2:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt; select * from ( select TRUNC(dt,'MM')&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;group by TRUNC(dt,'mm'));&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;TRUNC(DT,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;---------&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;01-JAN-13&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;However, the same query started to throws an error (ORA-00979) when executed in Oracle 11gR2 (11.2.0.2):&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt; select * from v$version;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;BANNER&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;--------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;PL/SQL Release 11.2.0.2.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;CORE &amp;nbsp; &amp;nbsp;11.2.0.2.0 &amp;nbsp; &amp;nbsp; &amp;nbsp;Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;TNS for Linux: Version 11.2.0.2.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;NLSRTL Version 11.2.0.2.0 - Production&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt; select * from ( select TRUNC(dt,'MM')&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group by TRUNC(dt,'mm'));&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; 2 &amp;nbsp; &amp;nbsp;3 &amp;nbsp;select * from ( select TRUNC(dt,'MM')&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&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;*&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;ERROR at line 1:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;ORA-00979: not a GROUP BY expression&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Verdana, sans-serif;"&gt;
At this point I normally do a search on My Oracle Support (MOS) to see if I get &amp;nbsp;some hits pertaining to this problem and found the following bug information:&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14px; font-weight: bold; text-align: right;"&gt;Bug 11067251 - False ORA-979 with TRUNC(date, format) or ROUND(date, format) - superceded [ID 11067251.8]&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14px; font-weight: bold; text-align: right;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Apparently, you hit the bug when you use either TRUNC or ROUND functions in an inline view. Executing the same query with little modification (removing inline view) in 11.2.0.2 was however successful.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt; select TRUNC(dt,'MM')&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;from test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;group by TRUNC(dt,'mm');&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; 2 &amp;nbsp; &amp;nbsp;3 &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;TRUNC(DT,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;---------&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;01-JAN-13&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;The above bug confirms that 11.2.0.2 is affected and proposes following two workarounds:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;1) Use NO_MERGE hint or&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;2) Disable view merging "_simple_view_merging=false"&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;As it was not possible to rewrite the application at this point, so we disabled view merging at the system level. Well, disabling view merging at the system level might appear as a bad choice but I think it is a right decision at this time. We will soon be upgrading this database to 11.2.0.3. This will kill two birds with one stone, a) bug fix and b) upgrading to the latest patch level (who knows what new bugs are waiting for us ???).&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;References:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;My Oracle Support: &amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; text-align: right;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Bug 11067251 - False ORA-979 with TRUNC(date, format) or ROUND(date, format) - superceded [ID 11067251.8]&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://momendba.blogspot.com/2013/01/bug-ora-00979-not-group-by-expression.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-7268396519551495898</guid><pubDate>Wed, 10 Oct 2012 08:56:00 +0000</pubDate><atom:updated>2012-10-27T00:32:48.622+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Free Courses</category><title>Online Free Courses from World's Best Universities</title><description>&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="https://www.coursera.org/" target="_blank"&gt;Coursera &lt;/a&gt;is offering courses free online. The courses are delivered from faculty members of top universities in the world. You may find more information on the courses at:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="https://www.coursera.org/"&gt;https://www.coursera.org/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Happy learning !!!&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://momendba.blogspot.com/2012/10/online-free-courses-from-worlds-best.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-8710498230349923347</guid><pubDate>Thu, 04 Oct 2012 19:15:00 +0000</pubDate><atom:updated>2012-10-04T22:15:33.111+03:00</atom:updated><title>OOW-2012: Oracle 12c New Features</title><description>Blogging right from Tom's session "database new features". Here are the new features as they are discussed:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Identity Columns&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Remember I blogged on this topic earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Default on null&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
A default value is inserted into the column When it's null.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Improved defaults - metadata only defaults&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now add new default columns to a table on the fly. 12c does that for you.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. Increased size limit for Varchar2 and NVarchar2&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
The column types can be upto 32k.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Row Pattern Matching&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Efficient SQL functionality for reporting row patterns like identifying V and W patterns for your stock&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Partitioning Improvements&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Online partition movement without using DBMS_REDEFINITION. Efficient global index management during DROP and TRUNCATE partition operation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Hybrid Histograms&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Jonathan Lewis spoke on this topic. I think more information on this is available on his blog.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Session private statistics for GTTs&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Table and index statistics are held private for each session.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9. Temporary UNDO&lt;/b&gt;&lt;br /&gt;
Undo for temporary tables can now be managed in TEMP. Reduces the amount of undo generated in undo tablespace and redo generation.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10. Pluggable databases&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Read Roels blog for this one. He has a good blog post on this&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;http://roelhartman.blogspot.com/&lt;/b&gt;</description><link>http://momendba.blogspot.com/2012/10/oow-2012-oracle-12c-new-features.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-3267849753737636435</guid><pubDate>Wed, 03 Oct 2012 19:32:00 +0000</pubDate><atom:updated>2012-10-05T10:44:08.455+03:00</atom:updated><title>Oracle RAC 12c: New Features</title><description>&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Blogging live from OOW session on "Enhancements in Oracle RAC". Following are few Oracle RAC 12c new features being discussed in this session as I post:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;1. Application Continuity&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875);"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;2. Oracle Flex ASM&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;With this feature, database instances use remote ASM instances.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;3. Oracle ASM Disk Scrubbing&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Checks for logical data corruptions and repair them automatically.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;4. Enhancements to Policy-based Databases&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Actively utilizes different sized servers&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;5. What - if analysis for server pool management&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;6. Standardized deployment and patching&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Introducing GHS, rapid home provisioning and gold images&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;7. A new "ghctl" command for better patching&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;8. Oracle Utility Cluster&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;9. Dynamic IP Management and name resolution made easy&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;10. IPv6 Based IP Addresses Support for client connectivity&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;11. Multi-purpose Installation&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;12. Oracle installer will run Fix-up scripts &amp;amp; "root.sh" scripts across nodes. You don't have to run the scripts manually on RAC nodes.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Exciting new features !!!&lt;/span&gt;</description><link>http://momendba.blogspot.com/2012/10/oracle-rac-12c-new-featues.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-2846203076992843117</guid><pubDate>Tue, 02 Oct 2012 07:56:00 +0000</pubDate><atom:updated>2012-10-02T10:56:50.706+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">VLDB</category><category domain="http://www.blogger.com/atom/ns#">Presentation</category><category domain="http://www.blogger.com/atom/ns#">OOW</category><title>OOW-2012: Very Large Databases (VLDB): Challenges and Opportunities</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;I would like to thank all the attendees for attending my session "Very Large Databases (VLDB): Challenges and Opportunities". I am glad, the hall was full to it's capacity. :)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;You may download the presentation by logging into OOW-2012 schedule builder.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;I request all the attendees to kindly rate my session by logging into OOW: Schedule Builder.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;See you all !!!&lt;/span&gt;</description><link>http://momendba.blogspot.com/2012/10/oow-2012-very-large-databases-vldb.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-4031356044246390842</guid><pubDate>Tue, 25 Sep 2012 11:39:00 +0000</pubDate><atom:updated>2012-09-25T14:39:36.253+03:00</atom:updated><title>PARALLEL_MIN_TIME_THRESHOLD Contradictions</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;PARALLEL_MIN_TIME_THRESHOLD initialization parameter controls which statements are candidate for parallelism.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;As per MOS, this parameter is set to &lt;u&gt;10 seconds&lt;/u&gt; while Oracle documentation claims that it is set to &lt;u&gt;30 seconds&lt;/u&gt;. Now who's correct ??? Seems like it's a documentation bug.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Below are the links to both Oracle documentation and MOS article:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://docs.oracle.com/cd/E14072_01/server.112/e10820/initparams181.htm" style="font-family: Verdana, sans-serif;" target="_blank"&gt;PARALLEL_MIN_TIME_THRESHOLD&lt;/a&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt; from Oracle Documentation&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Oracle 11g Release2: new parallel query parameters [&lt;/span&gt;&lt;a href="https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=825816455307293&amp;amp;type=DOCUMENT&amp;amp;id=1264548.1&amp;amp;displayIndex=15&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=j3z3arkqv_46" style="font-family: Verdana, sans-serif;" target="_blank"&gt;ID 1264548.1&lt;/a&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://momendba.blogspot.com/2012/09/parallelmintimethreshold-contradictions.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-3745356785073279819</guid><pubDate>Mon, 24 Sep 2012 12:59:00 +0000</pubDate><atom:updated>2012-09-24T16:08:09.415+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">OOW-2012</category><category domain="http://www.blogger.com/atom/ns#">OOW</category><title>Speaking at Oracle OpenWorld 2012</title><description>&lt;span style="font-family: Verdana, sans-serif;"&gt;Well, it's time for Oracle OpenWorld again. This is the place to meet &amp;amp; learn from the industry experts. Glad I am making this year.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;This year I will be speaking on my experiences managing Very Large Databases. Following are the details of my session.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="background-color: white; color: #222222;"&gt;&lt;b&gt;Session ID:&lt;/b&gt; UGF3662&lt;/span&gt;&lt;br style="background-color: white; color: #222222;" /&gt;&lt;span style="background-color: white; color: #222222;"&gt;&lt;b&gt;Session Title:&lt;/b&gt; Very Large Databases: Challenges and Opportunities&lt;/span&gt;&lt;br style="background-color: white; color: #222222;" /&gt;&lt;span style="background-color: white; color: #222222;"&gt;&lt;b&gt;Venue / Room:&lt;/b&gt; Moscone West - 2000&lt;/span&gt;&lt;br style="background-color: white; color: #222222;" /&gt;&lt;span style="background-color: white; color: #222222;"&gt;&lt;b&gt;Date and Time:&lt;/b&gt; 9/30/12, 10:00 - 11:00&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #222222;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="background-color: white; color: #333333; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;These are the activities on my OOW to-do list:&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;1) Attend lots of sessions&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;2) Oracle ACE dinner&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;3) Blogger meetup&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;4) Oaktable World&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; font-family: Verdana, Arial, sans-serif; line-height: 16.883333206176758px;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="background-color: white; line-height: 16.883333206176758px;"&gt;I’m looking forward to seeing you in San Francisco!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br class="Apple-interchange-newline" /&gt;</description><link>http://momendba.blogspot.com/2012/09/speaking-at-oracle-openworld-2012.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-6435560371529339823</guid><pubDate>Mon, 13 Aug 2012 07:00:00 +0000</pubDate><atom:updated>2012-08-13T10:00:09.530+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">XE</category><category domain="http://www.blogger.com/atom/ns#">Book</category><title>Win A Free Copy of Packt's Oracle Database XE 11gR2 Jump Start Guide eBook</title><description>&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;I am pleased to announce that Packt Publishing is organizing a giveaway especially for you. All you need to do is just comment
below the post and win a free copy of &lt;/span&gt;&lt;a href="http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Oracle
Database XE 11gR2 Jump Start Guide&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;. Two lucky winners stand a chance to win
an e-copy of the book. Keep reading to find out how you can be one of the Lucky
One.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-BehgSMLUbN8/UChUakcc43I/AAAAAAAAARE/A3duitNlkoY/s1600/BookCover.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-BehgSMLUbN8/UChUakcc43I/AAAAAAAAARE/A3duitNlkoY/s320/BookCover.jpg" width="248" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;div class="WordSection1"&gt;
&lt;h1&gt;
&lt;span class="MsoHyperlink"&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 16pt;"&gt;Overview of &lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 18pt;"&gt;Oracle Database XE 11gR2
Jump Start Guide eBook&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div class="MsoBodyText"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Build and manage the Oracle Database 11gR2 XE environment with this fast paced, practical guide. The book helps beginners to install, administer, maintain, tune, backup and upgrade the Oracle Database Express Edition.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 14pt;"&gt;Read more about
this book and download free Sample Chapter:&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: 5.0pt; margin-left: 0in; margin-right: 0in; margin-top: 5.0pt; mso-hyphenate: auto; mso-pagination: widow-orphan;"&gt;
&lt;a href="http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book&lt;/span&gt;&lt;/a&gt;&lt;span class="MsoHyperlink"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: 5.0pt; margin-left: 0in; margin-right: 0in; margin-top: 5.0pt; mso-hyphenate: auto; mso-pagination: widow-orphan;"&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: 5.0pt; margin-left: 0in; margin-right: 0in; margin-top: 5.0pt; mso-hyphenate: auto; mso-pagination: widow-orphan;"&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;How to Enter?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;All
you need to do is head on over to &lt;/span&gt;&lt;a href="http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;this&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt; page and look
through the &lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-ansi-language: #00FF; mso-bidi-language: #00FF; mso-fareast-language: #00FF;"&gt;product
description&lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;
of this book and drop a line via the &lt;b&gt;comments below to let us know what
interests you the most about these books&lt;/b&gt;. It’s that simple.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoBodyText"&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;DeadLine:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Lucida Sans Unicode&amp;quot;; mso-fareast-language: AR-SA; mso-font-kerning: .5pt;"&gt;&lt;br clear="all" style="mso-break-type: section-break; page-break-before: auto;" /&gt;
&lt;/span&gt;&lt;/strong&gt;

&lt;br /&gt;
&lt;div class="WordSection2"&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt;"&gt;The
contest will close on 26-AUG-2012. Winners will be contacted by email, so be
sure to use your real email address when you comment!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Lucida Sans Unicode&amp;quot;; mso-fareast-language: AR-SA; mso-font-kerning: .5pt;"&gt;&lt;br clear="all" style="mso-break-type: section-break; page-break-before: auto;" /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 14pt;"&gt;All the best !!!&lt;/span&gt;&lt;/div&gt;</description><link>http://momendba.blogspot.com/2012/08/win-free-copy-of-packts-oracle-database_13.html</link><author>noreply@blogger.com (Asif Momen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-BehgSMLUbN8/UChUakcc43I/AAAAAAAAARE/A3duitNlkoY/s72-c/BookCover.jpg" height="72" width="72" /><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-4046626690828843977</guid><pubDate>Thu, 02 Aug 2012 13:59:00 +0000</pubDate><atom:updated>2012-08-02T17:05:03.279+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">XE</category><category domain="http://www.blogger.com/atom/ns#">Book</category><title>Book Released: "Oracle Database XE 11gR2 Jump Start Guide"</title><description>&lt;a href="http://www.blogger.com/"&gt;&lt;/a&gt;&lt;span id="goog_1013777664"&gt;&lt;/span&gt;&lt;span id="goog_1013777665"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
I am pleased to announce my first book "Oracle Database XE 11gR2 Jump Start Guide"&amp;nbsp;published by&amp;nbsp;Packt Publishers. The book is available in two formats "Print Book" and "ebook". &amp;nbsp;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book" target="_blank"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-vvZLbFRGRzI/UBqIthrqYyI/AAAAAAAAAQ0/v6QMILj9YaA/s320/BookCover.jpg" width="248" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
Please let your&amp;nbsp;friends&amp;nbsp;and&amp;nbsp;colleagues&amp;nbsp;&lt;wbr&gt;know about the book.&amp;nbsp;Have a look at the contents by following the below link:&lt;/wbr&gt;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;a href="http://www.packtpub.com/oracle-database-xe-11gr2-jump-start-guide/book" style="color: #1155cc;" target="_blank"&gt;http://www.packtpub.com/&lt;wbr&gt;oracle-database-xe-11gr2-jump-&lt;wbr&gt;start-guide/book&lt;/wbr&gt;&lt;/wbr&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
The book is available for purchase from the publishers website (&lt;a href="http://www.packtpub.com/" style="color: #1155cc;" target="_blank"&gt;www.packtpub.com&lt;/a&gt;) and other leading consumer websites like Amazon, Barnes and Nobles, Waterstones etc.&amp;nbsp;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
Thanks to all my readers who have encouraged me to write this&amp;nbsp;book.&amp;nbsp;&lt;/div&gt;</description><link>http://momendba.blogspot.com/2012/08/book-released-oracle-database-xe-11gr2.html</link><author>noreply@blogger.com (Asif Momen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-vvZLbFRGRzI/UBqIthrqYyI/AAAAAAAAAQ0/v6QMILj9YaA/s72-c/BookCover.jpg" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-7888931516315406283</guid><pubDate>Wed, 25 Jul 2012 10:20:00 +0000</pubDate><atom:updated>2012-07-25T13:20:49.670+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle 12c</category><category domain="http://www.blogger.com/atom/ns#">Database</category><title>Oracle Database 12c - New Feature: Identity Columns</title><description>&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Well, Oracle Database 12c is not yet available but new
features seems to be popping out in MOS. While troubleshooting Oracle
Enterprise Manager Cloud Control 12c startup issues I came across Oracle Database 12c new
feature called “Identity Columns”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;An Identity Columns is auto-incremented at the time of
insertion just like in SQL Server. Going forward, I think you will not use
Oracle Sequence anymore to generate unique values instead use Identity Columns.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;For more information on this read:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;strong&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;strong&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;a href="https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;amp;id=()),(page=KBNavigator&amp;amp;id=(bmDocID=1472346.1&amp;amp;from=BOOKMARK&amp;amp;bmDocDsrc=KB&amp;amp;viewingMode=1143&amp;amp;bmDocTitle=HOW%20TO%20CREATE%20A%20TABLE%20WITH%20A%20PRIMARY%20KEY%20USING%20AN%20IDENTITY%20CLAUSE&amp;amp;bmDocType=HOWTO))" target="_blank"&gt;HOW TO CREATE A TABLE WITH APRIMARY KEY USING AN IDENTITY CLAUSE [ID 1472346.1]&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;strong&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Happy reading!!!&lt;/span&gt;&lt;b style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://momendba.blogspot.com/2012/07/oracle-database-12c-new-feature.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>8</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-772976281537856622</guid><pubDate>Tue, 17 Jul 2012 07:54:00 +0000</pubDate><atom:updated>2012-07-17T11:26:09.690+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">OCM</category><title>Oracle Certified Master (OCM)</title><description>&lt;br /&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-_nuIU0f_IUM/UAUhmHCtttI/AAAAAAAAAQM/g7Bw3xxUFas/s1600/OCM-logo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-_nuIU0f_IUM/UAUhmHCtttI/AAAAAAAAAQM/g7Bw3xxUFas/s1600/OCM-logo.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
Today I received a congratulations email from “Oracle Certification Program” for successfully completing Oracle 10g OCM. Being an OCM is really an accomplishment in a DBA’s career. OCM is the most advanced database credential for an Oracle professional.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px;"&gt;
I still have to wait for another 2-3 weeks to receive OCM-Kit and to get my profile updated under “Oracle Certified Master Profiles”.&amp;nbsp;&lt;/div&gt;</description><link>http://momendba.blogspot.com/2012/07/oracle-certified-master-ocm.html</link><author>noreply@blogger.com (Asif Momen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-_nuIU0f_IUM/UAUhmHCtttI/AAAAAAAAAQM/g7Bw3xxUFas/s72-c/OCM-logo.jpg" height="72" width="72" /><thr:total>12</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-5888115682491208518</guid><pubDate>Sun, 24 Jun 2012 11:49:00 +0000</pubDate><atom:updated>2012-06-24T14:50:53.606+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DBUA</category><title>DBUA Fails with ORA-17502 Error</title><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;While upgrade four-node Oracle RAC environment from 11.2.0.1
to 11.2.0.3, DBUA started to throw ORA-17502 error while creating a new SPFILE
for the upgraded database. Not only did DBUA err out but it also deleted the
existing SPFILE. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Below is the screenshot of the error:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-HtxkAh8eGA4/T-W1pSHJHUI/AAAAAAAAAPw/nsG7ZDWu0jI/s1600/DBUA_error_to_create_SPFILE.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" src="http://1.bp.blogspot.com/-HtxkAh8eGA4/T-W1pSHJHUI/AAAAAAAAAPw/nsG7ZDWu0jI/s320/DBUA_error_to_create_SPFILE.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;In order to complete the
upgrade process, we have to manually perform the following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="background-color: white; font-size: 10pt; text-indent: -0.25in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Re-create the SPFILE,&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: white; font-size: 10pt; text-indent: -0.25in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Complete
Post-installation steps (like executing “utlrp.sql”), and&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: white; font-size: 10pt; text-indent: -0.25in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;Re-create the Cluster
Services&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;I later found out on MOS
that this situation can be avoided by pinning the nodes as shown below:&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 9pt;"&gt;$GRID_HOME/bin/crsctl
pin css -n &lt;racnode1&gt; &lt;racnode2&gt; &lt;racnode3&gt;&lt;/racnode3&gt;&lt;/racnode2&gt;&lt;/racnode1&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;To find out whether
node(s) is pinned or not:&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 9pt;"&gt;$GRID_HOME/bin/olsnodes
-t –n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="background-color: #eef3f7; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;So, make sure that you pin the nodes before running DBUA to avoid the above errors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://momendba.blogspot.com/2012/06/dbua-fails-with-ora-17502-error.html</link><author>noreply@blogger.com (Asif Momen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-HtxkAh8eGA4/T-W1pSHJHUI/AAAAAAAAAPw/nsG7ZDWu0jI/s72-c/DBUA_error_to_create_SPFILE.jpg" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-6075308644523772105</guid><pubDate>Wed, 30 May 2012 10:30:00 +0000</pubDate><atom:updated>2012-05-30T13:30:36.844+03:00</atom:updated><title>Modifying SCAN Listener Port</title><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

It’s been awhile since I’ve published a post on my blog. I have so many things to share but not able to find time to share. Hopefully, very soon I will get back to blogging. Here’s a quick post on modifying SCAN listener port.
&lt;p&gt;&lt;/p&gt;
We have been having archive log corruption issues since we setup Data Guard (sometime last week) on Oracle 11gR2 (11.2.0.2). The physical standby database is receiving the archive log files but unfortunately not able to perform media recovery as the archive logs are in malformed state.

&lt;p&gt;&lt;/p&gt;
The customer is using CISCO switches between primary and DR. These switches have SQL*Net packet deep packet scanning/inspection enabled by default on 1521 port and this seems to be resulting in failed or corrupt-packets.

&lt;p&gt;&lt;/p&gt;
Below is an excerpt from the physical standby database alert log:

&lt;pre name=”code” class=”sql”&gt;
CORRUPTION DETECTED: In redo blocks starting at block 387073count 2048 for thread 2 sequence 8776
Deleted Oracle managed file +FRA/qtprdb/archivelog/2012_05_30/thread_2_seq_8776.366.784682159
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
So, this was the motivation behind changing the SCAN listener port and here’s how you do it:
&lt;p&gt;&lt;/p&gt;
1) Log in as the “grid” user (if you have installed Grid &amp; database under single user “oracle” then use “oracle” user)

&lt;p&gt;&lt;/p&gt;
2) Make a note of current SCAN listener configuration:

&lt;p&gt;&lt;/p&gt;
&lt;pre name=”code” class=”sql”&gt;
[grid@rac-prod01 ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
[grid@rac-prod01 ~]$
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
3) Modify SCAN listener port to "1528"
&lt;p&gt;&lt;/p&gt;

&lt;pre name=”code” class=”sql”&gt;
srvctl modify scan_listener -p 1528
&lt;/pre&gt;


4) Restart SCAN listener to make the new port effective

&lt;pre name=”code” class=”sql”&gt;
srvctl stop scan_listener
srvctl start scan_listener
&lt;/pre&gt;


5) Finally confirm the change

&lt;pre name=”code” class=”sql”&gt;
 [grid@rac-prod01 ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1528
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1528
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1528
[grid@rac-prod01 ~]$
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description><link>http://momendba.blogspot.com/2012/05/modifying-scan-listener-port.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-7420305238203554173</guid><pubDate>Wed, 09 Nov 2011 23:37:00 +0000</pubDate><atom:updated>2011-11-10T02:57:26.725+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AIOUG</category><title>Sangam 2011: Less than a month now</title><description>Sangam11, AIOUG's annual conference is starting in the first week of December-2011. To be precise it's on 9th and 10th of December. 
&lt;p&gt;&lt;/p&gt;
The IT capital of India will be hosting 3rd annual meetup of AIOUG. World renowned experts like &lt;a href="http://mvallath.wordpress.com"&gt;Murali Vallath&lt;/a&gt;, &lt;a href="http://arup.blogspot.com"&gt;Arup Nanda&lt;/a&gt;, &lt;a href="http://hemantoracledba.blogspot.com"&gt;Hemant Chitale&lt;/a&gt; are leading the show. 
&lt;p&gt;&lt;/p&gt;
If you are in India then grab this opportunity to learn and network. For agenda and registrations click &lt;a href="http://www.aioug.org/sangam11.php"&gt;here&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;</description><link>http://momendba.blogspot.com/2011/11/sangam-2011-less-than-month-now.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-5037283981568893756</guid><pubDate>Sat, 29 Oct 2011 16:36:00 +0000</pubDate><atom:updated>2011-10-29T19:45:02.658+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">NoCOUG</category><title>Results of the Second International NoCOUG SQL Challenge are Out</title><description>The Second International NoCOUG SQL Challenge was published on 2/13/11 in the February 2011 issue of the &lt;a href="http://www.nocoug.org/Journal/NoCOUG_Journal_201102.pdf"&gt;NoCOUG Journal&lt;/a&gt;. The challenge was to find the secret message hidden in a seemingly random collection of words. 
&lt;p&gt;&lt;/p&gt;
Andre Araujo, Rob van Wijk, and Ilya Chuhnakov are the winners of this competition. Pythian was the sponsor of the competition and each winner will receive an Amazon Kindle.
 
&lt;p&gt;&lt;/p&gt;
The full announcement can be read in the 100th issue of the &lt;a href="http://www.nocoug.org/Journal/NoCOUG_Journal_201102.pdf"&gt;NoCOUG Journal&lt;/a&gt;.</description><link>http://momendba.blogspot.com/2011/10/results-of-second-international-nocoug.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-5335491824476418423</guid><pubDate>Sun, 14 Aug 2011 07:58:00 +0000</pubDate><atom:updated>2011-08-16T00:45:49.038+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Library Cache Pin</category><category domain="http://www.blogger.com/atom/ns#">Performance Tuning</category><title>Resolving “library cache pin” Waits</title><description>&lt;p&gt;&lt;/p&gt;
The old traditional export (exp) utility is hanging indefinitely at “exporting system procedural objects and actions” stage of the export. 
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt; 
[oracle@node1 ~]$ /orabackup/exp/prtdb/exp_prtdb.sh

Export: Release 11.2.0.1.0 - Production on Sun Aug 14 21:39:03 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit                                          Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,                                          OLAP,
Data Mining and Real Application Tes
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses WE8MSWIN1252 character set (possible charset conversion)

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
Following are the details from V$SESSION view of this session:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SID:				190
SERIAL#:			379
USERNAME:			EXPIMP
STATUS:				ACTIVE
PROGRAM:			exp@node1 (TNS V1-V3)
LAST_CALL_ET:			1363
BLOCKING SESSION STATUS:	NOT IN WAIT
EVENT#:				280
EVENT:				library cache pin
WAIT CLASS:			Concurrency
STATE:				WAITED SHORT TIME
BLOCKING SESSION:						
  &lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
As you can see the session is waiting on “library cache pin” wait event. This means there is at least one other session holding a lock on some stored procedure which “exp” is trying to pin. The “BLOCKSING SESSION” column does not report which session is holding a lock (or for that matter blocking). 
&lt;p&gt;&lt;/p&gt;

I used “oradebug” utility to analyze the situation. Following is an excerpt from the log file generated by “oradebug”:
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt;
    Oracle session identified by:
    {
                instance: 1 (prtdb.prtdb1)
                   os id: 24885
              process id: 49, oracle@node1
              session id: 13
        session serial #: 839
    }
    is waiting for 'Streams AQ: waiting for messages in the queue' with wait info:

&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
Below is the information about session “13” from V$SESSION view:
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt;
SID:				13
SERIAL#:			841
USERNAME:			DBSNMP
STATUS:				ACTIVE
PROGRAM:			emagent@node1 (TNS V1-V3)
LAST_CALL_ET:			5
BLOCKING SESSION STATUS:	UNKNOWN
EVENT#:				364
EVENT:			Streams AQ: waiting for messages in the queue
WAIT CLASS:		Idle
STATE:			WAITING
BLOCKING SESSION:						
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
The culprit session belongs to “DBSNMP” user and it is waiting on an “Idle” wait event. 
&lt;p&gt;&lt;/p&gt;

It was easy to kill this session as it did not belong to any application. After killing the session (13), export happily started working and things were all normal.
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt;
. exporting pre-schema procedural objects and actions
. exporting cluster definitions
. about to export SYSTEM's tables via Conventional Path ...
. . exporting table                    DEF$_AQCALL
:
:
:
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
References: 
&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
&lt;a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=215858.1"&gt;Note:215858.1&lt;/a&gt; - Interpreting HANGANALYZE trace files to diagnose hanging and performance problems

&lt;p&gt;&lt;/p&gt;
&lt;a href="https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocDsrc=KB&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocID=175006.1&amp;bmDocType=BULLETIN&amp;bmDocTitle=Steps%20%20to%20generate%20HANGANALYZE%20trace%20files))"&gt;Note: 175006.1&lt;/a&gt; Steps to generate HANGANALYZE trace files
&lt;p&gt;&lt;/p&gt;

&lt;a href="https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocDsrc=KB&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocID=402983.1&amp;bmDocType=FAQ&amp;bmDocTitle=Master%20Note:%20How%20to%20diagnose%20Database%20Performance%20-%20FAQ))"&gt;Note: 402983.1&lt;/a&gt; Master Note: How to diagnose Database Performance
&lt;p&gt;&lt;/p&gt;

&lt;a href="http://arup.blogspot.com/2008/08/diagnosing-library-cache-latch.html"&gt; Diagnosing Library Cache Latch Contention: A Real Case Study
&lt;/a&gt; By Arup Nanda
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description><link>http://momendba.blogspot.com/2011/08/resolving-library-cache-pin-wait-event.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-1938010339729874121</guid><pubDate>Fri, 12 Aug 2011 08:54:00 +0000</pubDate><atom:updated>2011-08-12T11:55:23.086+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle 11g R2</category><category domain="http://www.blogger.com/atom/ns#">RAC</category><title>Confused SRVCTL in Oracle 11g R2</title><description>&lt;p&gt;&lt;/p&gt;
OS: RHEL 5.5 64-bit
&lt;p&gt;&lt;/p&gt;
DB: Oracle Database 11gR2
&lt;p&gt;&lt;/p&gt;
Grid: Oracle Clusterware 11gR2
&lt;p&gt;&lt;/p&gt;
A database “adverten” is running on a Linux (64-bit) box. This database happens to be a two-node Oracle RAC database. The instance names of this database are “adverten1” and ““adverten2” respectively on the two nodes. 
&lt;p&gt;&lt;/p&gt;
I ran the RACcheck tool but unfortunately it does not list this database. However other databases running on this server are listed. 
&lt;p&gt;&lt;/p&gt;
Below is the excerpt from “raccheck” tool: 
&lt;p&gt;&lt;/p&gt;
List of running databases registered in OCR&lt;p&gt;&lt;/p&gt;
1. clonedb&lt;p&gt;&lt;/p&gt;
2. frisdb&lt;p&gt;&lt;/p&gt;
3. All&lt;p&gt;&lt;/p&gt;
4. None&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
Believe me; the instance is there and running. 
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt; 
[oracle@node1 raccheck]$ ps -ef|grep pmon
grid      8585     1  0 Aug06 ?        00:00:17 asm_pmon_+ASM1
oracle   12351  8299  0 22:16 pts/7    00:00:00 grep pmon
oracle   21959     1  0 Aug09 ?        00:00:31 ora_pmon_clonedb1
oracle   24222     1  0 Aug09 ?        00:00:19 ora_pmon_adverten1
oracle   29006     1  0 Aug07 ?        00:00:32 ora_pmon_frisdb1
[oracle@node1 raccheck]$
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
It’s time to debug “raccheck” tool. 
&lt;p&gt;&lt;/p&gt;
“is_rdbms_installed_crs ()” procedure of the “raccheck” script is of our interest for now and below are the statements from where it is actually fetching database names.

&lt;p&gt;&lt;/p&gt;
It grabs the list of databases using the following:
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt;
       $CRS/bin/srvctl config database &gt; $db_list_fil
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
And checks for database status using the following: 
&lt;p&gt;&lt;/p&gt;

&lt;pre name="code" class="sql"&gt; 
crs_db_status=$($CRS/bin/srvctl status database -d $db_list|grep -i $loc	alnode|grep -ic "is running")
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
Okay, running the first command manually lists my database:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt; 
[grid@node1 ~]$ $CRS_HOME/bin/srvctl config database
advertence
clonedb
frisdb
[grid@node1 ~]$
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
If you notice, the database name listed above is “advertence” (10 letter word). The database name from V$DATABASE view is “adjudica” (8 letter word), also instances use “adverten”.

&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt; 
SQL&gt; select name from v$database;

NAME
---------
ADJUDICA

SQL&gt;
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
However, the second command could not locate the database instances:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
[grid@node1 ~]$ $CRS_HOME/bin/srvctl status database -d advertence
Instance adverten1 is not running on node node1
Instance adverten2 is not running on node node2
[grid@node1 ~]$
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
Of course “adverten” is not registered resource. So the following will fail:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt; 
[grid@abis19 ~]$ $CRS_HOME/bin/srvctl status database -d adverten
PRCD-1120 : The resource for database adverten could not be found.
PRCR-1001 : Resource ora. adverten.db does not exist
[grid@abis19 ~]$
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
This is the reason “raccheck” is not able to list this database. 
&lt;p&gt;&lt;/p&gt;
What might have happened is the question that needs to be answered. 
&lt;p&gt;&lt;/p&gt;
At the time of database creation, “advertence” was keyed in as the database name. But Oracle created a database by trimming it to 8 characters and reserving 1 character for instance number. But for some reason “advertence” database resource was registered. 
&lt;p&gt;&lt;/p&gt;
Apparently, the “ora. advertence.db” resource registered with the cluster is in “OFFLINE” state. 
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt; 
[grid@node1 ~]$ crs_stat  ora. advertence.db
NAME=ora. advertence.db
TYPE=ora.database.type
TARGET=OFFLINE
STATE=OFFLINE

[grid@node1 ~]$
&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;
It’s all messy here, but things are working. 
&lt;p&gt;&lt;/p&gt;
I will have to create a Service Request with Oracle Support to resolve this issue for this client of mine.
&lt;p&gt;&lt;/p&gt;
</description><link>http://momendba.blogspot.com/2011/08/confused-srvctl-in-oracle-11g-r2.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-9115048225890401393</guid><pubDate>Sun, 17 Jul 2011 06:42:00 +0000</pubDate><atom:updated>2011-07-17T09:49:54.789+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Virtual Conference</category><category domain="http://www.blogger.com/atom/ns#">Conference</category><title>VirtaThon: My Sessions Schedule</title><description>BrainSurface's VirtaThon conference has already started. Today is the second day of the virtual conference. These are a lot of interesting sessions from Oracle Expert's around the world. 
&lt;p&gt;&lt;/p&gt;
I am speaking today and following are the details of my session:
&lt;p&gt;&lt;/p&gt;

RMAN: Recovery Procedures&lt;p&gt;&lt;/p&gt;
Time slot: 17 July 14:30 - 15:25 EDT&lt;p&gt;&lt;/p&gt;
Virtual Room: # 200&lt;p&gt;&lt;/p&gt;


A detailed session schedule could be found &lt;a href='http://www.brainsurface.com/virtathon/sessions-schedule'&gt;here&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;</description><link>http://momendba.blogspot.com/2011/07/virtathon-my-sessions-schedule.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-1439797237288229004</guid><pubDate>Thu, 14 Jul 2011 20:00:00 +0000</pubDate><atom:updated>2011-07-15T13:20:13.862+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Virtual Conference</category><category domain="http://www.blogger.com/atom/ns#">Conference</category><title>Attend4FREE: 6 Days of Expert+ Speakers &amp; Sessions FOR Oracle, MySql and Java technologies</title><description>&lt;span style="font-style:italic;"&gt;Attend4Free! 100% Virtual - No Travel Required!&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;/p&gt;
&lt;span style="font-weight:bold;"&gt;What is VirtaThon?&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
Attend, participate &amp; learn cutting edge knowledge from recognized domain experts from all over the world: All within the realm of your broadband connection at the largest Independent "Virtual Conference" for the Oracle, Java &amp; MySQL Communities. Aimed at a global audience, VirtaThon was conceived to revolutionize Online Conferencing, focusing on the core goal of facilitating the inexpensive dissemination of expert knowledge to the masses.
&lt;p&gt;&lt;/p&gt;
Almost everyone of us would like to attend world-class physical conference events but, given these globally tough economic times that we live in, can we afford the costs of attendance, travel, time-off, lodging and such? How about attending a LIVE virtual conference from wherever you choose to be in the world?
&lt;p&gt;&lt;/p&gt;
The biggest prohibiting reasons in attending physical Professional Conferences translate into various inhibiting factors such as travel, time-off, lodging, not to mention the attendance fees that can easily run into the thousands of dollars. VirtaThon bridges this gap and makes it incredibly easy to attend a 6-day Conference event from the comfort of your PC. All you need is a broadband Internet connect and voilÃ , you are right there: Attending 6 days of cutting-edge expert-level sessions and interacting/benefiting from world renowned experts in the Oracle, Java &amp; MySQL domains.  
&lt;p&gt;&lt;/p&gt;


&lt;span style="font-weight:bold;"&gt;Keynotes:&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;

With keynotes from Steven Feuerstein, Arup Nanda, Dr. Bert Scalzo, Eddie Awad, Tim Gorman, Jeremy Schneider, David Koelle, Guy Harrison, Tariq Farooq and a 4-hour Gold Star Deep-Dive session from Mike Ault, this a DO-NOT-MISS virtual learning event of a lifetime.

&lt;p&gt;&lt;/p&gt;
&lt;span style="font-weight:bold;"&gt;Session Schedule&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
For a detailed session schedule click &lt;a href='http://www.brainsurface.com/virtathon/sessions-schedule'&gt;here&lt;/a&gt;.

&lt;p&gt;&lt;/p&gt;
&lt;span style="font-weight:bold;"&gt;How to register for free?&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;

Click &lt;a href='http://www.brainsurface.com/virtathon/sign-up'&gt;here&lt;/a&gt; to register.

&lt;p&gt;&lt;/p&gt;
Hope to see you all there.</description><link>http://momendba.blogspot.com/2011/07/attend4free-6-days-of-expert-speakers.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-1320796549269314754</guid><pubDate>Sat, 02 Jul 2011 14:42:00 +0000</pubDate><atom:updated>2011-07-02T17:43:37.438+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Master Note</category><category domain="http://www.blogger.com/atom/ns#">Database</category><title>Master Notes from Oracle Support</title><description>&lt;p&gt;&lt;/p&gt;
My flight is delayed by 25 minutes, so thought of sharing this post with you all. Below is the list of master notes from Oracle Support. These are the topics that are on my to-do list. I am sure you too would like to read them. Search for “master note” on Oracle Support for a complete list. 
&lt;p&gt;&lt;/p&gt;
11g New Features - Database Core &lt;a href="https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(from=BOOKMARK&amp;bmDocType=BULLETIN&amp;bmDocTitle=11g%20New%20Features%20-%20Database%20Core&amp;viewingMode=1143&amp;bmDocID=1226873.1&amp;bmDocDsrc=KB)) "&gt; [ID 1226873.1]&lt;/a&gt;

&lt;p&gt;&lt;/p&gt;
Master Note for Diagnosing ORA-4031 &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocTitle=Master%20Note%20for%20Diagnosing%20ORA-4031&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocType=ANNOUNCEMENT&amp;bmDocID=1088239.1))”&gt; [ID 1088239.1]&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for ORA-1555 Errors &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocTitle=Master%20Note%20for%20ORA-1555%20Errors&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocType=ANNOUNCEMENT&amp;bmDocID=1307334.1))”&gt; [ID 1307334.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Backup and Recovery &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocTitle=Master%20Note%20For%20Oracle%20Backup%20And%20Recovery&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocType=BULLETIN&amp;bmDocID=1199803.1))”&gt; [ID 1199803.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Automatic Storage Management (ASM) &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocTitle=Master%20Note%20for%20Automatic%20Storage%20Management%20(ASM)&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocType=ANNOUNCEMENT&amp;bmDocID=1187723.1))”&gt; [ID 1187723.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note of Linux OS Requirements for Database Server &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=REFERENCE&amp;bmDocTitle=Master%20Note%20of%20Linux%20OS%20Requirements%20for%20Database%20Server&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=851598.1&amp;viewingMode=1143))”&gt; [ID 851598.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Data Guard &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20for%20Data%20Guard&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1101938.1&amp;viewingMode=1143))”&gt; [ID 1101938.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Database Client Installation &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Database%20Client%20Installation&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1157463.1&amp;viewingMode=1143))”&gt; [ID 1157463.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for the Oracle OLAP Option &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=REFERENCE&amp;bmDocTitle=Master%20Note%20for%20the%20Oracle%20OLAP%20Option&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1107593.1&amp;viewingMode=1143))”&gt; [ID 1107593.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Streams Performance Recommendations &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20for%20Streams%20Performance%20Recommendations&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=335516.1&amp;viewingMode=1143))”&gt; [ID 335516.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Handling Oracle Database Corruption Issues &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20for%20Handling%20Oracle%20Database%20Corruption%20Issues&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1088018.1&amp;viewingMode=1143))”&gt; [ID 1088018.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Transparent Data Encryption (TDE)&lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20For%20Transparent%20Data%20Encryption%20(%20TDE%20)&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1228046.1&amp;viewingMode=1143))”&gt; [ID 1228046.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note: SQL Query Performance Overview &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=FAQ&amp;bmDocTitle=*%20Master%20Note:%20SQL%20Query%20Performance%20Overview&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=199083.1&amp;viewingMode=1143))”&gt; [ID 199083.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note: How to diagnose Database Performance - FAQ &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=FAQ&amp;bmDocTitle=Master%20Note:%20How%20to%20diagnose%20Database%20Performance%20-%20FAQ&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=402983.1&amp;viewingMode=1143))”&gt; [ID 402983.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Query Rewrite &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20for%20Query%20Rewrite&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1215173.1&amp;viewingMode=1143))”&gt; [ID 1215173.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Flashback Technologies &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Flashback%20Technologies&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1138253.1&amp;viewingMode=1143))”&gt; [ID 1138253.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Disk Manager  &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20for%20Oracle%20Disk%20Manager&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1226653.1&amp;viewingMode=1143))”&gt; [ID 1226653.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Real Application Clusters (RAC) Oracle Clusterware and Oracle Grid Infrastructure &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20for%20Real%20Application%20Clusters%20(RAC)%20Oracle%20Clusterware%20and%20Oracle%20Grid%20Infrastructure&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1096952.1&amp;viewingMode=1143))”&gt; [ID 1096952.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note - RDBMS Large Objects (LOBs) &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=DIAGNOSTIC%20TOOLS&amp;bmDocTitle=Master%20Note%20-%20RDBMS%20Large%20Objects%20(LOBs)&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1268771.1&amp;viewingMode=1143))”&gt; [ID 1268771.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Database Server Installation &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Database%20Server%20Installation&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1156586.1&amp;viewingMode=1143))”&gt; [ID 1156586.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Database Downgrade &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Database%20Downgrade&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1151427.1&amp;viewingMode=1143))”&gt; [ID 1151427.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Recovery Manager (RMAN) &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Recovery%20Manager%20(RMAN)&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1116484.1&amp;viewingMode=1143))”&gt; [ID 1116484.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for OLTP Compression &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20for%20OLTP%20Compression&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1223705.1&amp;viewingMode=1143))”&gt; [ID 1223705.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Database Upgrades and Migrations &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20For%20Oracle%20Database%20Upgrades%20and%20Migrations&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1152016.1&amp;viewingMode=1143))”&gt; [ID 1152016.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Partitioning &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=BULLETIN&amp;bmDocTitle=Master%20Note%20for%20Partitioning&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1312352.1&amp;viewingMode=1143))”&gt; [ID 1312352.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for 11g Diagnosability - ADR and Packaging &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20for%2011g%20Diagnosability%20-%20ADR%20and%20Packaging&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1283137.1&amp;viewingMode=1143))”&gt; [ID 1283137.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Master Note for Oracle Database Machine and Exadata Storage Server &lt;a href=”https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocType=ANNOUNCEMENT&amp;bmDocTitle=Master%20Note%20for%20Oracle%20Database%20Machine%20and%20Exadata%20Storage%20Server&amp;from=BOOKMARK&amp;bmDocDsrc=KB&amp;bmDocID=1187674.1&amp;viewingMode=1143))”&gt; [ID 1187674.1] &lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
Happy reading!!!</description><link>http://momendba.blogspot.com/2011/07/master-notes-from-oracle-support.html</link><author>noreply@blogger.com (Asif Momen)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34560741.post-3810957462021730137</guid><pubDate>Tue, 21 Jun 2011 12:52:00 +0000</pubDate><atom:updated>2011-06-21T16:03:24.873+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">RMAN</category><category domain="http://www.blogger.com/atom/ns#">Block Corruption</category><title>Addressing Block corruption that is not part of any segment</title><description>Yesterday’s RMAN backup failed with ORA-19566 error reporting block corruption, here’s the error as reported by RMAN:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
channel ORA_DISK_1: starting piece 1 at 20-JUN-11
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: =========================================================== 
RMAN-03009: failure of backup command on c1 channel at 20/06/2011 11:55:11
ORA-19566: exceeded limit of 0 corrupt blocks for file xxxxxxxxxx
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
The next logical step is to run DB Verify (dbv) utility to find out what blocks are corrupt. Dbv confirmed block corruption as shown below:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
Corrupt block relative dba: 0x0346c3cf (file 113, block 229845)
Bad check value found during backing up datafile
Data in bad block -
type: 6 format: 2 rdba: 0x0346c3cf

:
:

DBVERIFY - Verification complete

Total Pages Marked Corrupt   : 1
Total Pages Influx           : 0
:
:
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;

Below are the OS and database details:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
-bash-3.2$ cat /etc/*-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
-bash-3.2$
-bash-3.2$ uname -r
2.6.18-194.el5
-bash-3.2$

SQL&gt; select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
Note that Block 229845 is corrupt in datafile 113. The next step in the process is to identify the object by querying DBA_EXTENTS view
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt; select segment_name, segment_type, owner
  2  from dba_extents
  3  where file_id = 113
  4  and 229845 between block_id and block_id + blocks -1;

no rows selected

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;

Apparently, this block is not associated with any of the segments in the database. The next question to ask is where this corrupt block lies in the data file. Is it in between the allocated blocks after the HWM?

&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt; select max(block_id) from dba_extents where file_id = 113;

MAX(BLOCK_ID)
-------------
       182520

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
So, the corrupt block is beyond the maximum allocated block. Think of the data file as shown below (blue=used data, white=empty blocks, red=corrupt block).

&lt;p&gt;&lt;/p&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-n3S__10Kv5M/TgCUis5V8wI/AAAAAAAAAO8/1IgpthzTjA4/s1600/Block_Corruption.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 122px;" src="http://2.bp.blogspot.com/-n3S__10Kv5M/TgCUis5V8wI/AAAAAAAAAO8/1IgpthzTjA4/s320/Block_Corruption.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5620655658846515970" /&gt;&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;

The easiest solution is to shrink the datafile below the corrupt block, this way we drop the corrupt block off the datafile.



&lt;p&gt;&lt;/p&gt;
Identify the datafile size:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt; select bytes/1024/1024 size_mb  from dba_data_files where file_id = 113;

   SIZE_MB
----------
      2048
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
Identify the location of the maximum block in the datafile by multiplying it with the blocksize (8K):
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt;  select max(BLOCK_ID) * 8/1024 size_mb from dba_extents where file_id = 113;

   SIZE_MB
----------
 1425.9375

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
Also, find out the location of the corrupt block in the datafile:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt; select 229845 * 8/1024 size_mb from dual;

   SIZE_MB
----------
1795.66406

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
Resize the datafile beyond the maximum allocated data block and below the corrupt block:
&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
SQL&gt; alter database datafile 113 resize 1450m;

Database altered.

SQL&gt;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
After resizing the datafile run DBV utility to check for corrupt blocks:

&lt;p&gt;&lt;/p&gt;
&lt;pre name="code" class="sql"&gt;
DBVERIFY - Verification complete

Total Pages Examined         : 188160
Total Pages Processed (Data) : 62277
Total Pages Failing   (Data) : 0
Total Pages Processed (Index): 71630
Total Pages Failing   (Index): 0
Total Pages Processed (Lob)  : 9337
Total Pages Failing   (Lob)  : 0
Total Pages Processed (Other): 21867
Total Pages Processed (Seg)  : 0
Total Pages Failing   (Seg)  : 0
Total Pages Empty            : 23049
Total Pages Marked Corrupt   : 0
Total Pages Influx           : 0
Total Pages Encrypted        : 0
Highest block SCN            : 0 (0.0) 
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
There are no corrupt blocks in the datafile. Happy ending.  
&lt;p&gt;&lt;/p&gt;
But it wouldn’t have been this easy if the corrupt block were somewhere in between the allocated blocks. This solution will not be helpful in that case. Refer to following note from Oracle Support to address this issue:
&lt;p&gt;&lt;/p&gt;
How to Format Corrupted Block Not Part of Any Segment [ID 336133.1]


&lt;p&gt;&lt;/p&gt;</description><link>http://momendba.blogspot.com/2011/06/block-corruption-that-is-not-part-of.html</link><author>noreply@blogger.com (Asif Momen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-n3S__10Kv5M/TgCUis5V8wI/AAAAAAAAAO8/1IgpthzTjA4/s72-c/Block_Corruption.JPG" height="72" width="72" /><thr:total>0</thr:total></item></channel></rss>
