<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6888143</id><updated>2012-02-14T20:22:11.168-08:00</updated><category term='RMAN RMAN-00600 RMAN-00601 DBGANY'/><category term='RHEL5 OEL RHEL Oracle Installation problem OUI OEL5 fail install'/><category term='AIX CIO ORACLE'/><category term='ORA-01591'/><category term='data pump ORA-39082 import compile procedure'/><category term='data pump expdp DMSYS'/><category term='latch undo rollback update oracle'/><category term='ORA-01882 ORA-1882 Time Zone dba_scheduler_jobs'/><title type='text'>Where ORACLE is not just another database</title><subtitle type='html'>&lt;br&gt;
   This is my space as an Oracle DBA, loaded with tips, scripts and procedures to help answer most common asked DBA questions and/or unorthodox ideas.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6888143.post-6546888395079145256</id><published>2011-11-20T21:20:00.000-08:00</published><updated>2011-11-20T21:20:32.231-08:00</updated><title type='text'>GATHER_TABLE_STATS and ORA-01652</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;We had ORA-01652 error from one production database recently. The culprit is&amp;nbsp;GATHER_TABLE_STATS &amp;nbsp;job. By the way, this DB is 10.2.0.4&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-01652: unable to extend temp segment by 128 in tablespace TEMP&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;*** 2011-11-20 20:28:51.105&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;GATHER_STATS_JOB: GATHER_TABLE_STATS('"L53"','"L_CARD"','""', ...)&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-01652: unable to extend temp segment by 128 in tablespace TEMP&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Originally it was error out and paging at 4AM which is really not preferred timing for On Call DBA.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Since this DB tend to have higher load during early morning any way. I changed maintenance windows to the late afternoon.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;To change this auto statistics collection job time use this command.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;BEGIN&lt;/span&gt;&lt;br style="background-color: white; color: #676767; font-size: 11px;" /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;DBMS_SCHEDULER.SET_ATTRIBUTE (&lt;/span&gt;&lt;br style="background-color: white; color: #676767; font-size: 11px;" /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;name =&amp;gt; 'GATHER_STATS_JOB',&lt;/span&gt;&lt;br style="background-color: white; color: #676767; font-size: 11px;" /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;attribute =&amp;gt; 'repeat_interval',&lt;/span&gt;&lt;br style="background-color: white; color: #676767; font-size: 11px;" /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;value =&amp;gt; 'freq=daily;byday=SUN,MON,TUE,WED,THU,FRI,SAT;byhour=17;byminute=0; bysecond=0');&lt;/span&gt;&lt;br style="background-color: white; color: #676767; font-size: 11px;" /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #676767; font-size: 11px;"&gt;END;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;However this didn't address the root cause of the issue apparently. A couple of days later the job failed again with same error.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Increase TEMP tablespace is not an option. The TEMP TBS on this DB is 95G. This job run for 3 hours and used them all. Adding more TEMP will only delay the inevitable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;I decide to changed estimate percent from auto sampling to 1% hope this will fix the issue. I did some research on google about this but there's not much useful past discussion.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Only found this asktom thread pretty helpful by pointing the right statement to change the default&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;GATHER_TABLE_STATS job&lt;/span&gt;&lt;br /&gt;&lt;a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:652425700346984666"&gt;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:652425700346984666&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="PAGETOP" style="background-color: #eeeeee;"&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" height="70%" id="t18PageBody" style="background-color: white; empty-cells: show; font-family: arial, helvetica, sans-serif; font-size: 9pt;" summary=""&gt;&lt;tbody style="font-size: 9pt;"&gt;&lt;tr style="font-size: 9pt;"&gt;&lt;td height="100%" id="t18ContentBody" style="border-collapse: collapse; empty-cells: show; font-size: 1em;" valign="top" width="100%"&gt;&lt;table style="empty-cells: show; font-size: 9pt;"&gt;&lt;tbody style="font-size: 9pt;"&gt;&lt;tr style="font-size: 9pt;"&gt;&lt;td style="border-collapse: collapse; empty-cells: show; font-size: 1em;" valign="top" width="100%"&gt;&lt;table style="empty-cells: show; font-size: 9pt;"&gt;&lt;tbody style="font-size: 9pt;"&gt;&lt;tr style="font-size: 9pt;"&gt;&lt;td colspan="2" style="border-collapse: collapse; empty-cells: show; font-size: 1em;" valign="top" width="100%"&gt;&lt;div id="t18ContentMiddle" style="font-size: 1em; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 0px;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="t18Region" id="R6544425240409845" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; empty-cells: show; font-size: 9pt; margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;" summary=""&gt;&lt;tbody class="ReportsRegion" style="font-size: 9pt;"&gt;&lt;tr style="font-size: 9pt;"&gt;&lt;td class="t18RegionBody" colspan="2" style="border-collapse: collapse; empty-cells: show; font-size: 1em; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&lt;div class="followup" style="font-size: 1em; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px;"&gt;&lt;pre&gt;ops$tkyte%ORA10GR2&amp;gt; select dbms_stats.get_param( 'estimate_percent' ) from dual;&lt;br /&gt;&lt;br /&gt;DBMS_STATS.GET_PARAM('ESTIMATE_PERCENT')&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;DBMS_STATS.AUTO_SAMPLE_SIZE&lt;br /&gt;&lt;/pre&gt;&lt;br style="clear: both !important; font-size: 9pt;" /&gt;reset or set them with these:&amp;nbsp;&lt;br style="clear: both !important; font-size: 9pt;" /&gt;&lt;br style="clear: both !important; font-size: 9pt;" /&gt;&lt;pre&gt;&lt;a href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1047505" style="color: black;"&gt;http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1047505&lt;/a&gt;&lt;/pre&gt;&lt;br style="clear: both !important; font-size: 9pt;" /&gt;&lt;pre&gt;&lt;a href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1048566" style="color: black;"&gt;http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1048566&lt;/a&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6546888395079145256?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6546888395079145256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6546888395079145256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6546888395079145256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6546888395079145256'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2011/11/gathertablestats-and-ora-01652.html' title='GATHER_TABLE_STATS and ORA-01652'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2231239131002619283</id><published>2011-09-07T21:20:00.000-07:00</published><updated>2011-09-07T21:20:49.125-07:00</updated><title type='text'>How to connect wireless router to another wireless router</title><content type='html'>This post is not related to Oracle. It just a hint for a problem I found while I was setting up my home network by connecting a new wireless router to an existing one.&lt;br /&gt;&lt;br /&gt;In beginning, this task seems super easy and no brainer to me. Just connect 'Internet' port of new router to any Local ethernet port on existing router and setup new router and Wala!&lt;br /&gt;&lt;br /&gt;Oh well, it doesn't work. The new router keeps complaining it's not connected to internet. The Internet setup page show it get 127.0.0.1 (localhost) as DHCP address from old router and that doesn't work obviously. Actually some network guru probably already figured out of the problem when they saw this.&lt;br /&gt;&lt;br /&gt;So why it's get a 127.0.0.1 address instead of a valid DHCP release? Well, the trick is most router by default using 192.168.1.1 address and subnet. So if two routers sharing the same address, of course the new one will get localhost as address thinking he is 192.168.1.1&lt;br /&gt;&lt;br /&gt;The solution is easy, change the new router's default subnet to 192.168.2.1 etc. or change new router's IP to something like 192.168.1.10&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2231239131002619283?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2231239131002619283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2231239131002619283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2231239131002619283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2231239131002619283'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2011/09/how-to-connect-wireless-router-to.html' title='How to connect wireless router to another wireless router'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-1966827679414309195</id><published>2011-08-29T11:44:00.000-07:00</published><updated>2011-08-29T11:44:32.386-07:00</updated><title type='text'>ORA-01555 with Query Duration=0 sec</title><content type='html'>Most DBAs know that ORA-1555 is caused by long running query. And in alert.log file it will tell you which SQL caused ORA-1555 and run for how long.&lt;br /&gt;However from time to time you will see errors like this. It's basically tell you that the query failed right away. So why's the case?&lt;br /&gt;&lt;br /&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;ZH-CN&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:EnableOpenTypeKerning/&gt;    &lt;w:DontFlipMirrorIndents/&gt;    &lt;w:OverrideTableStyleHps/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val="Cambria Math"/&gt;    &lt;m:brkBin m:val="before"/&gt;    &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;    &lt;m:smallFrac m:val="off"/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val="0"/&gt;    &lt;m:rMargin m:val="0"/&gt;    &lt;m:defJc m:val="centerGroup"/&gt;    &lt;m:wrapIndent m:val="1440"/&gt;    &lt;m:intLim m:val="subSup"/&gt;    &lt;m:naryLim m:val="undOvr"/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;   &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;   &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;   &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;   &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;   &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;   &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;   &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;   &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;   &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;   &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;   &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;   &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;   &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;&lt;div class="MsoNormal" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;Mon Aug 29 06:39:09 2011&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;  &lt;/span&gt;&lt;div class="MsoNormal" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;ORA-01555 caused by SQL statement below (SQL ID: 0jc2g6km899ps, &lt;span style="background: yellow; mso-highlight: yellow;"&gt;Query Duration=0 sec&lt;/span&gt;, SCN: 0x00ae.75483a06):&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;  &lt;/span&gt;&lt;div class="MsoNormal" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;Mon Aug 29 06:39:09 2011&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;  &lt;/span&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 11pt;"&gt;SELECT.xxxx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;&lt;span style="color: black;"&gt;I ran&amp;nbsp; a query to find out the time stamp of this query's SCN and found out that the query has a time stamp of 6AM. But i was failed 40 min later. That could only mean one thing that it was in a transaction that started 6AM and Oracle already over written the data in UNDO.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;ZH-CN&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:EnableOpenTypeKerning/&gt;    &lt;w:DontFlipMirrorIndents/&gt;    &lt;w:OverrideTableStyleHps/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val="Cambria Math"/&gt;    &lt;m:brkBin m:val="before"/&gt;    &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;    &lt;m:smallFrac m:val="off"/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val="0"/&gt;    &lt;m:rMargin m:val="0"/&gt;    &lt;m:defJc m:val="centerGroup"/&gt;    &lt;m:wrapIndent m:val="1440"/&gt;    &lt;m:intLim m:val="subSup"/&gt;    &lt;m:naryLim m:val="undOvr"/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;   &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;   &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;   &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;   &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;   &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;   &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;   &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;   &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;   &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;   &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;   &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;   &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;   &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}&lt;/style&gt; &lt;![endif]--&gt;  &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;"&gt;SYS@VAULTPROD&amp;gt;select scn_to_timestamp(749291977222) from dual;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;"&gt;SCN_TO_TIMESTAMP(749291977222)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;"&gt;---------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;"&gt;29-AUG-11 06.00.01.000000000 AM&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;ZH-CN&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:EnableOpenTypeKerning/&gt;    &lt;w:DontFlipMirrorIndents/&gt;    &lt;w:OverrideTableStyleHps/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val="Cambria Math"/&gt;    &lt;m:brkBin m:val="before"/&gt;    &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;    &lt;m:smallFrac m:val="off"/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val="0"/&gt;    &lt;m:rMargin m:val="0"/&gt;    &lt;m:defJc m:val="centerGroup"/&gt;    &lt;m:wrapIndent m:val="1440"/&gt;    &lt;m:intLim m:val="subSup"/&gt;    &lt;m:naryLim m:val="undOvr"/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;   &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;   &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;   &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;   &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;   &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;   &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;   &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;   &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;   &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;   &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;   &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;   &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;   &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;&lt;div class="MsoNormal" style="color: black; font-family: inherit;"&gt;&lt;span style="font-size: 11pt;"&gt;There’s a couple of ways to help improve the situation.&lt;/span&gt;&lt;/div&gt;&lt;span style="color: black; font-family: inherit;"&gt;  &lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: 11pt;"&gt;Does all the statements in this job need to be in single transaction? If not, don’t put them into single transaction.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="mso-list: Ignore;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 11pt;"&gt;ncrease undo retention of DB, Oracle will try to honor this retention subject to UNDO space.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 11pt;"&gt;Increase the UNDO tablespace to mitigate the potential space squeeze but remember the reason we got this error is not from UNDO space limitation.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: black; font-family: inherit;"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-1966827679414309195?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/1966827679414309195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=1966827679414309195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1966827679414309195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1966827679414309195'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2011/08/ora-01555-with-query-duration0-sec.html' title='ORA-01555 with Query Duration=0 sec'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-267543337198545249</id><published>2011-03-09T10:17:00.000-08:00</published><updated>2011-03-18T00:23:03.229-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data pump expdp DMSYS'/><title type='text'>Data pump expdp failed with DMSYS related errors  ORA-39126 ORA-06512 etc</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Today one of our data pump export/import jobs failed with errors attached at the bottom. &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;The process working fine before our 11g upgrade.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;I did a little research and found metalink doc 304449.1 has perfect solution.&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;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;The problem is we removed some unused database options before we upgrade from 10g to 11g.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;The reason is because with all these unnecessary options, the upgrade scripts will run almost two hours. Removing them the upgrade will finish in 15 minutes.&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;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;It turns out DMSYS data mining option is among them, but somehow Oracle didn't cleanly remove the option with some left over records in data pump export table.&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;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;The solution in this case is delete these records,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: 12px;"&gt;SQL&amp;gt; DELETE FROM exppkgact$ WHERE SCHEMA='DMSYS';&lt;br /&gt;SQL&amp;gt; commit;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;There are other potential causes for the same error. You can check the metalink doc for more info.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 6px; -webkit-border-vertical-spacing: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;strong&gt;Database Data Pump Export fails with PLS-00201 identifier DMSYS.DBMS_MODEL_EXP must be declared [ID 304449.1]&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Starting "SYSTEM"."SYS_IMPORT_SCHEMA_11": &amp;nbsp;userid=system/********@TEST parfile=/home/oracle/dba/sql/DWS.par&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Estimate in progress using BLOCKS method...&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-31642: the following SQL statement fails:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;BEGIN "DMSYS"."DBMS_DM_MODEL_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06512: at "SYS.DBMS_METADATA", line 1245&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-04063: package body "DMSYS.DBMS_DM_MODEL_EXP" has errors&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06508: PL/SQL: could not find program unit being called: "DMSYS.DBMS_DM_MODEL_EXP"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5300&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ORA-06512: at "SYS.KUPW$WORKER", line 8159&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----- PL/SQL Call Stack -----&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;object &amp;nbsp; &amp;nbsp; &amp;nbsp;line &amp;nbsp;object&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;handle &amp;nbsp; &amp;nbsp;number &amp;nbsp;name&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; 19028 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; &amp;nbsp;8191 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; 12728 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; &amp;nbsp;4618 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; &amp;nbsp;8902 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007ddbc258 &amp;nbsp; &amp;nbsp; &amp;nbsp;1651 &amp;nbsp;package body SYS.KUPW$WORKER&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;70000007eaf9060 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp;anonymous block&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-267543337198545249?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/267543337198545249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=267543337198545249' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/267543337198545249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/267543337198545249'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2011/03/data-pump-expdp-failed-with-dmsys.html' title='Data pump expdp failed with DMSYS related errors  ORA-39126 ORA-06512 etc'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3958330921906753538</id><published>2011-01-31T17:29:00.000-08:00</published><updated>2011-02-07T18:12:27.215-08:00</updated><title type='text'>Oracle won't do partition pruning on MAX/MIN query of partition key.</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;Oracle doesn’t do a partition pruning on MAX/MIN query on partition key. Even it makes perfect sense for Oracle to scan only the partition that has MAX/MIN value. And this is not something new, the user community certainly noticed this.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.oramoss.com/blog/2009/06/no-pruning-for-minmax-of-partition-key.html"&gt;http://www.oramoss.com/blog/2009/06/no-pruning-for-minmax-of-partition-key.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;Right now, all we can do is some work around. For example one of our database use this query to figure out MAX AGG_DATE as part of daily ETL process. AGG_DATE is partition key of the table and not indexed.&lt;br /&gt;So the plan looks like this,&lt;br /&gt;Ouch and yes, the Pstart is 1 and Pstop is 1149. Oracle scan all 1149 partitions of the table and it took a long time to run this query.&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; &amp;nbsp;explain plan for SELECT max(AGG_DATE) from (SELECT "A1"."AGG_DATE" FROM "WEB_APPS"."COUNTER_DAY_AGG" "A1" order by AGG_DATE desc );&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Explained.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; &amp;nbsp;select * from table(dbms_xplan.display());&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PLAN_TABLE_OUTPUT&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Plan hash value: 4125776214&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------------------------------------------------&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| Id &amp;nbsp;| Operation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Rows &amp;nbsp;| Bytes | Cost (%CPU)| Time &amp;nbsp; &amp;nbsp; | Pstart| Pstop |&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 0 | SELECT STATEMENT &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp; &amp;nbsp; 8 | &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(2)| 34:45:45 | &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 1 | &amp;nbsp;SORT AGGREGATE &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp; &amp;nbsp; 8 | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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 class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 2 | &amp;nbsp; PARTITION RANGE ALL| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;5196M| &amp;nbsp; &amp;nbsp;38G| &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(2)| 34:45:45 | &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp;1149 |&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 3 | &amp;nbsp; &amp;nbsp;TABLE ACCESS FULL | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COUNTER_DAY_AGG | &amp;nbsp;5196M| &amp;nbsp; &amp;nbsp;38G| &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(2)| 34:45:45 | &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp;1149 |&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;Since this our daily job, the work around I put in is where clause.&amp;nbsp;&lt;/div&gt;&lt;div&gt;The plan looks better after that, Pstart is now KEY instead 1. In our case it will scan 7 daily partitions.&lt;/div&gt;&lt;div&gt;The stats give bogus running time estimate. The actual run time benefit we had is reduce from 20 minutes to 1 minute.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; &amp;nbsp;explain plan for SELECT MAX("A1"."AGG_DATE") FROM "ODS_WEB_APPS"."COUNTER_DAY_AGG" "A1" where AGG_DATE &amp;gt; sysdate-7;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Explained.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; select * from table(dbms_xplan.display());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PLAN_TABLE_OUTPUT&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------------------------------------------------&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Plan hash value: 1669369268&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------------------------------------------------&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| Id &amp;nbsp;| Operation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Rows &amp;nbsp;| Bytes | Cost (%CPU)| Time &amp;nbsp; &amp;nbsp; | Pstart| Pstop |&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 0 | SELECT STATEMENT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp; &amp;nbsp; 8 | &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(4)| 36:09:51 | &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 1 | &amp;nbsp;SORT AGGREGATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; 1 | &amp;nbsp; &amp;nbsp; 8 | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;| &amp;nbsp; 2 | &amp;nbsp; PARTITION RANGE ITERATOR| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;6919K| &amp;nbsp; &amp;nbsp;52M| &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(4)| 36:09:51 | &amp;nbsp; KEY | &amp;nbsp;1149 |&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;|* &amp;nbsp;3 | &amp;nbsp; &amp;nbsp;TABLE ACCESS FULL &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COUNTER_DAY_AGG | &amp;nbsp;6919K| &amp;nbsp; &amp;nbsp;52M| &amp;nbsp; &amp;nbsp;10M &amp;nbsp;(4)| 36:09:51 | &amp;nbsp; KEY | &amp;nbsp;1149 |&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Of course there's one trade off of this work around. It will limit the script ability of catch up loading. The script use this query to find out maxium loading date and catch up load from that date. So if our loading didn't run for more than 7 days our script won't be able to catchup. I guess that's something we can live with, it's not possible that we didn't notice our daily ETL job was not running for past 7 days &amp;nbsp;:) Even that really happens, we can still treat it individually.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3958330921906753538?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3958330921906753538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3958330921906753538' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3958330921906753538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3958330921906753538'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2011/01/oracle-wont-do-partition-pruning-on.html' title='Oracle won&apos;t do partition pruning on MAX/MIN query of partition key.'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-725526901592174427</id><published>2010-10-29T09:38:00.000-07:00</published><updated>2010-10-29T09:38:44.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-01591'/><title type='text'>ORA-01591 and quick solution</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;One of the user reported they got this error from application.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ORA-01591: lock held by in-doubt distributed transaction 4.7.533420&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;We don't really see this error often. So I did a little research.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The error message doc from Oracle has pretty good explanation but didn't provide a solution how to resolve this.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align="center" border="0" cellpadding="5"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td nowrap="nowrap" style="font-family: arial, helvetica; text-decoration: none;"&gt;&lt;h2 style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;ORA-01591:&lt;/span&gt;&lt;/h2&gt;&lt;/td&gt;&lt;td style="font-family: arial, helvetica; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;lock held by in-doubt distributed transaction&amp;nbsp;&lt;i&gt;string&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td style="font-family: arial, helvetica; text-decoration: none;"&gt;&lt;b style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Cause:&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="font-family: arial, helvetica; line-height: 1.5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Trying to access resource that is locked by a dead two-phase commit transaction that is in prepared state.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td style="font-family: arial, helvetica; text-decoration: none;"&gt;&lt;b style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Action:&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="font-family: arial, helvetica; line-height: 1.5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;DBA should query the pending_trans$ and related tables, and attempt to repair network connection(s) to coordinator and commit point. If timely repair is not possible, DBA should contact DBA at commit point if known or end user for correct outcome, or use heuristic default if given to issue a heuristic commit or abort command to finalize the local portion of the distributed transaction.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="color: #1f497d; line-height: normal;"&gt;What I end up did is pretty easy, &amp;nbsp;rollback force didn't do the trick. The DBMS_TRANSACTION helped.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="color: #1f497d; line-height: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;LOCAL_TRAN_ID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;----------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4.7.533420&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; rollback force '4.7.533420';&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Rollback complete.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;LOCAL_TRAN_ID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;----------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4.7.533420&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; exec dbms_transaction.purge_lost_db_entry('4.7.533420');&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; commit;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Commit complete.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="color: #1f497d;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;no rows selected&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-725526901592174427?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/725526901592174427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=725526901592174427' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/725526901592174427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/725526901592174427'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/10/ora-01591-and-quick-solution.html' title='ORA-01591 and quick solution'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2655953880907705293</id><published>2010-09-28T15:50:00.000-07:00</published><updated>2010-09-28T15:50:16.998-07:00</updated><title type='text'>ORA-12547 and procmap error while running sqlplus</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;If you got following error message while trying to run sqlplus on&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;IBM AIX 5L&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This is an exact match of&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 6px; -webkit-border-vertical-spacing: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;strong&gt;ORA-12547 connecting to sqlplus / as sysdba on IBM AIX 5L [ID 372143.1]&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 6px; -webkit-border-vertical-spacing: 6px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 6px; -webkit-border-vertical-spacing: 6px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Basically because the /proc is not mounted on your server.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/DB/../10204-64/network/admin &amp;nbsp;PROD 341 &amp;gt;sqlplus / as sysdba&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/usr/bin/procmap : no such process : 373080&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/usr/bin/procmap : no such process : 373080&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/usr/bin/procmap : no such process : 373080&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL*Plus: Release 10.2.0.4.0 - Production on Tue Sep 28 15:39:02 2010&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Copyright (c) 1982, 2007, Oracle. &amp;nbsp;All Rights Reserved.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ERROR:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ORA-12547: TNS:lost contact&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2655953880907705293?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2655953880907705293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2655953880907705293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2655953880907705293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2655953880907705293'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/09/ora-12547-and-procmap-error-while.html' title='ORA-12547 and procmap error while running sqlplus'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-783044661549960149</id><published>2010-08-18T17:47:00.000-07:00</published><updated>2010-08-18T17:47:29.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIX CIO ORACLE'/><title type='text'>Hot Backup datafile copy problem with CIO mount option on AIX</title><content type='html'>We encountered some Hot Backup error after we followed IBM's suggestion to remove CIO mount option from our JFS2 data volumes.&amp;nbsp;&lt;div&gt;The error is like follows:&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoPlainText"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;scp /DB/VPROD/data01/sysaux01.dbf .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;gt; cp: /DB/VPROD/data01/sysaux01.dbf: A system call received a parameter that is not valid.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This happens after we put database in hot backup mode and trying to copy datafiles.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;So this approves what IBM told us, Oracle will use CIO no matter if the file system is mounted using CIO option. But this created another problem that AIX will not allow non-CIO system operation to access file opened with CIO.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoPlainText"&gt;There you go we back to square one, mounted the data volume back with CIO option in order to facilitate our Hot Backup. Another reason to use RMAN backup I guess.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-783044661549960149?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/783044661549960149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=783044661549960149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/783044661549960149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/783044661549960149'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/08/hot-backup-datafile-copy-problem-with.html' title='Hot Backup datafile copy problem with CIO mount option on AIX'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-7511629046014606018</id><published>2010-04-09T15:57:00.000-07:00</published><updated>2010-04-09T15:59:44.354-07:00</updated><title type='text'>ORA-00064: object is too large to allocate on this O/S (1,16777216)</title><content type='html'>&lt;div style="color: black; font-family: inherit;"&gt;Not sure how many of you run into this problem. It happens to one of our production database after we trying to increase the SGA size to 320G. &lt;/div&gt;&lt;div style="color: black; font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: inherit;"&gt;Oracle version is 10.2.0.4, AIX 5.3 L6 32CPUs 750G RAM&lt;/div&gt;&lt;div style="color: black; font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: inherit;"&gt;The error is&lt;/div&gt;&lt;div class="MsoNormal" style="color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: 11pt;"&gt;&amp;nbsp; ORA-00064: object is too large to allocate on this O/S (1,16777216)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: black; font-family: inherit;"&gt;It seems pretty conclusive OS limit problem.&amp;nbsp; However our OS ulimit for Oracle user is set to unlimited. &lt;/span&gt;&lt;br /&gt;&lt;span style="color: black; font-family: inherit;"&gt;Actually the problem is&amp;nbsp; _ksmg_granule_size&amp;nbsp; SGA units of granules&lt;br /&gt;&lt;br /&gt;Granule size is determined by total SGA size. On most platforms, the size of a granule is 4 MB if the total SGA size is less than 1 GB, and granule size is 16MB for larger SGAs.&lt;br /&gt;&lt;br /&gt;In our case since we increased our SGA so big, even 16MB is not big enough to fix our needs.&lt;br /&gt;After increased _ksmg_granule_size to 32MB, we are able to start the instance with 350MB SGA.&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; alter system set "_ksmg_granule_size"=33554432  scope=spfile;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit;"&gt;&lt;span style="color: #1f497d; font-size: 11pt;"&gt;&lt;o:p&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&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;/div&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-7511629046014606018?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/7511629046014606018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=7511629046014606018' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7511629046014606018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7511629046014606018'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/04/ora-00064-object-is-too-large-to.html' title='ORA-00064: object is too large to allocate on this O/S (1,16777216)'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-7176718860341154209</id><published>2010-03-18T11:46:00.000-07:00</published><updated>2010-03-18T13:14:31.841-07:00</updated><title type='text'>Oracle instance slow startup</title><content type='html'>Recently we noticed one of our production database take longer than usual to startup.&lt;br /&gt;In some cases, it took 3 to 4 hours for alter database open to complete.&lt;br /&gt;The case is particularly bad for our TEST and DEV database after they got refreshed with production. Our production is very powerful 32 CPUs box, when production took like 20 to 30 minutes to open. TEST and DEV will take hours.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;Sat Feb 27 06:48:55 2010&lt;br /&gt;alter database open&lt;br /&gt;-snip-&lt;br /&gt;Sat Feb 27 09:54:22 2010&lt;br /&gt;Completed: alter database open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We engaged Oracle support and they suggested to do a trace.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;SQL&gt; conn / as sysdba&lt;br /&gt;SQL&gt; startup mount&lt;br /&gt;SQL&gt; alter session set events '10046 trace name context forever, level 12';&lt;br /&gt;SQL&gt; alter database open;&lt;br /&gt;Once the instance is opened, immediately turn off the 10046 tracing through that session.&lt;br /&gt;SQL&gt; alter session set events '10046 trace name context off';&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The trace revealed that, database is querying two advanced queue tables used by STREAMS. The two tables are highly fragmented, for example table aq$_qt_cap_st_D had just 150 records and had 8000 + extents.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;strmadmin.aq$_qt_cap_st_p&lt;br /&gt;strmadmin.aq$_qt_cap_st_d &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For TEST and DEV we can easily go around the issue by truncating the two tables because we are not using STREAMS on them. For production, table re-org are in order, for that we choose to use Online Redefinition.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-7176718860341154209?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/7176718860341154209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=7176718860341154209' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7176718860341154209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7176718860341154209'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/03/oracle-instance-slow-startup.html' title='Oracle instance slow startup'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-7606543754449896345</id><published>2010-01-27T17:42:00.000-08:00</published><updated>2010-01-27T18:12:10.742-08:00</updated><title type='text'>tnsnames.ora is picky</title><content type='html'>Recently we added some TNS entries into our Remote Desktop servers that shared by all our users. The user report newly added entries are not working.&lt;br /&gt;I did a tnsping on them and got these errors.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Used TNSNAMES adapter to resolve the alias&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Attempting to contact (DESCRIPTION =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;TNS-12533: TNS:illegal ADDRESS parameters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I then check the entry in tnsnames.ora file, it reads&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;VTEST.NET.COM =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(DESCRIPTION =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = vqadb01.netxx.com)(PORT = 1521))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(CONNECT_DATA =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(SID = VTEST)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Do you find anything wrong with them?&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;Not sure about you, but it took me a while to figure out that tnsnames.ora is pretty sensitive to the format. The problem is the new entry description all flatten out to the left instead of having indentation like this one just below.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;FPROD.NET.COM=&lt;br /&gt;--(DESCRIPTION =&lt;br /&gt;----(ADDRESS_LIST =&lt;br /&gt;-----(ADDRESS = (PROTOCOL = TCP)(HOST = FPROD)(PORT = 1528))&lt;br /&gt;----)&lt;br /&gt;----(CONNECT_DATA =&lt;br /&gt;-----(SID = FPROD)&lt;br /&gt;----)&lt;br /&gt;--)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;-- Oh well, I think we had same problem here on blogspot, it left align all my postings. Let me use dash instead.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So Oracle think &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;"(DESCRIPTION" &lt;/span&gt;&lt;/span&gt;is a new entry in the tnsnames.ora instead of the description of previous entry. Because we DBA don't have control over the remote desktop server, I need to create tickets to add new entry. When I pasted the text into ticket, the ticket system left aligned them hence lost indentation.&lt;br /&gt;&lt;br /&gt;Well, it's a small trivial problem but sometime it's hard to figure if you don't already know. Because the actual configure text are correct and worked on other hosts.&lt;br /&gt;&lt;/div&gt;&lt;span style=";font-family:&amp;quot;;font-size:11pt;"  &gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=";font-family:&amp;quot;;font-size:11pt;"  &gt;  &lt;!--[endif]--&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-7606543754449896345?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/7606543754449896345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=7606543754449896345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7606543754449896345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/7606543754449896345'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2010/01/tnsnamesora-is-picky.html' title='tnsnames.ora is picky'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2624166522100658853</id><published>2009-09-02T10:31:00.000-07:00</published><updated>2009-09-02T10:36:42.694-07:00</updated><title type='text'>Stop Datapump Job</title><content type='html'>If you have a data pump job running and you want to stop it, there's a couple of ways to stop them.&lt;br /&gt;&lt;br /&gt;First run a statement to find out the running jobs,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SELECT JOB_NAME, OWNER_NAME , STATE FROM DBA_DATAPUMP_JOBS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;JOB_NAME OWNER_NAME STATE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;------------------------------ ------------------------------ ------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SYS_IMPORT_FULL_02 SYSTEM EXECUTING&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SYS_IMPORT_FULL_03 SYSTEM STOP PENDING&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SYS_EXPORT_SCHEMA_01 SYSTEM NOT RUNNING&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SYS_IMPORT_FULL_01 SYSTEM NOT RUNNING&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then you can either use DBMS_DATAPUMP.ATTACH and DBMS_DATAPUMP.STOP_JOB to stop them from SQL&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;impdp userid=system/password attach=SYS_IMPORT_FULL_03&lt;br /&gt;Import&gt; STOP_JOB=IMMEDIATE&lt;br /&gt;Are you sure you wish to stop this job ([yes]/no): yes&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2624166522100658853?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2624166522100658853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2624166522100658853' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2624166522100658853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2624166522100658853'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/09/stop-datapump-job.html' title='Stop Datapump Job'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-4186602475608480948</id><published>2009-08-31T17:09:00.000-07:00</published><updated>2009-08-31T17:14:44.483-07:00</updated><title type='text'>Hint, Check patch history</title><content type='html'>&lt;span &gt;One of the method to check DB patch history is query registry$history&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;SYS&gt;select ACTION_TIME,ACTION,NAMESPACE,VERSION,BUNDLE_SERIES from registry$history&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;ACTION_TIME                    ACTION     NAMESPACE  VERSION                        BUNDLE_SERIES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;------------------------------ ---------- ---------- ------------------------------ --------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;12-SEP-08 10.28.24.895804 PM   CPU        SERVER     10.2.0.3.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;12-SEP-08 10.30.59.512031 PM   CPU&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;30-MAY-09 11.34.14.809290 AM   UPGRADE    SERVER     10.2.0.4.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;30-MAY-09 01.13.24.879514 PM   APPLY      SERVER     10.2.0.4                       CPU&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:78%;"&gt;30-MAY-09 01.21.04.024997 PM   CPU&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-4186602475608480948?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/4186602475608480948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=4186602475608480948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/4186602475608480948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/4186602475608480948'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/08/hint-check-patch-history.html' title='Hint, Check patch history'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-4629289508243073106</id><published>2009-08-26T09:48:00.000-07:00</published><updated>2009-08-26T10:30:28.637-07:00</updated><title type='text'>OEM Grid Control Agent issue</title><content type='html'>This morning we keep getting OEM agent message from one of our production DB server. 10.2.0.4 HP-UX&lt;br /&gt;&lt;br /&gt;It sent this Agent unreachable alert and clear alert repeatedly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Severity=Unreachable StartMessage=Agent is Unreachable (REASON = javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr) but the host is UP.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Severity=Unreachable ClearMessage=Agent Unreachability is cleared. The current status of the target is UP.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;When check on the hosts, we observed a number of emdprocstats.pl processes taking high CPU usage and memory and running for a couple of hours.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;11466 /oracle/xxx/agent10g/perl/bin/perl /oracle/xxx/agent10g/sysman/admin/scripts/emdprocstats.pl 29011 14180 /oracle/xxx/agent10g/perl/bin/perl /oracle/xxx/agent10g/sysman/admin/scripts/emdprocstats.pl 32100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's Symptoms of BUG 5908032 described in metalink doc,&lt;br /&gt;Doc ID:&lt;br /&gt;437305.1&lt;br /&gt;&lt;br /&gt;The immediate solution is to stop/start agent, or kill these processes if agent can't be stop gracefully.&lt;br /&gt;The long term Solution is to apply &lt;a href="http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5908032" target="new"&gt;Patch 5908032&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;color:#3366ff;"&gt;an update on this, the other DBA told me the agent on this server was not patched after DB was upgraded from 10.2.0.3 to 10.2.0.4, the agent is still 10.2.0.3 in this case.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;color:#3366ff;"&gt;Also, stop agent will not remove the hung process. manually killed them.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-4629289508243073106?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/4629289508243073106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=4629289508243073106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/4629289508243073106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/4629289508243073106'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/08/oem-grid-control-agent-issue.html' title='OEM Grid Control Agent issue'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-349926796118099808</id><published>2009-02-03T15:34:00.000-08:00</published><updated>2009-08-27T12:25:17.702-07:00</updated><title type='text'>A gotcha of Data Pump export</title><content type='html'>Today while I am answering one of OTN forum question about consistency of data pump export. I found I was under false impression that Data Pump by default guarantee dump file data consistency among all the tables. Because the Oracle Data Pump document was stating under the section named "How Data Pump Export Parameters Map to Those of the Original Export Utility" ,&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_export.htm#i1005864"&gt;http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_export.htm#i1005864&lt;/a&gt;&lt;br /&gt;"A parameter comparable to CONSISTENT is not needed"&lt;br /&gt;&lt;br /&gt;This statement is kinda misleading, it's easy to give you false impression that Data Pump will guarentee consistency so that CONSISTENT is not needed.&lt;br /&gt;Oracle now revised the document to&lt;br /&gt;"A parameter comparable to CONSISTENT is not needed. Use FLASHBACK_SCN and FLASHBACK_TIME for this functionality."&lt;br /&gt;which is a little better.&lt;br /&gt;&lt;br /&gt;To get current SCN use.&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;select dbms_flashback.get_system_change_number from dual;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To make things worse some expdp has this header imbeded in their output message, which is even more misleading.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Export: Release 10.2.0.3.0 - 64bit Production on Friday, 05 September, 2008 13:59:59 Copyright (c) 2003, 2005, Oracle. All rights reserved. ;;; Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;strong&gt;FLASHBACK automatically enabled to preserve database integrity. Starting&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;"SYSTEM"."SYS_EXPORT_SCHEMA_02": system/******** directory=flash dumpfile=usr001_1.dmp logfile=exp_usr001_1.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So that you know that Oracle Data Pump, up until version 11.1.0.6, doesn't guarantee data consistency among tables in a dump file. It's only guarantee point-in-time consistency of the table being exported.&lt;br /&gt;&lt;br /&gt;also reference&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Expdp Message "FLASHBACK automatically enabled" Does Not Guarantee Export Consistency&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink2.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-size:85%;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;:&lt;br /&gt;377218.1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-349926796118099808?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/349926796118099808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=349926796118099808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/349926796118099808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/349926796118099808'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/02/gotcha-of-data-pump-export.html' title='A gotcha of Data Pump export'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-8687562155276266687</id><published>2009-01-22T16:34:00.000-08:00</published><updated>2009-05-08T17:01:50.543-07:00</updated><title type='text'>Quick Optimizer STATISTICS transfer between schemas</title><content type='html'>Oracle DBMS_STATS provide a quick way to transfer Optimizer Statistics.&lt;br /&gt;The basic step are:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;create stats table to hold exported stats data.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXEC DBMS_STATS.create_stat_table('SCHEMA1','ST_TABLE');&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;export stats to stats table&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXEC DBMS_STATS.export_schema_stats('SCHEMA1','ST_TABLE',NULL,'SCHEMA1');&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;transfer the stats table ST_TABLE to destinate location using method of choice, like exp/imp, create tabel as select ..., sqlplus copy etc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;import the stats into schema&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXEC DBMS_STATS.import_schema_stats('SCHEMA1','ST_TABLE',NULL,'SCHEMA1');&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;If the schema name is different, for example you need to import schema1's stats to schema2, then you need to update stats table column C5 to change the owner name from schema1 to schema2&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;update ST_TABLE set C5='SCHEMA2';&lt;br /&gt;&lt;/span&gt;then do the import.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Actually, DBMS_STATS provided a way to transfer stats between schema. If schema name is not same. use statown&lt;/p&gt;&lt;p&gt;EXEC DBMS_STATS.import_schema_stats('SCHEMA2','ST_TABLE',NULL,'SCHEMA1', statown=&gt;'SCHEMA1'); &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-8687562155276266687?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/8687562155276266687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=8687562155276266687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/8687562155276266687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/8687562155276266687'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/01/quick-optimizer-statistics-transfer.html' title='Quick Optimizer STATISTICS transfer between schemas'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3767259564853094460</id><published>2009-01-06T20:18:00.001-08:00</published><updated>2009-01-06T21:19:44.001-08:00</updated><title type='text'>The importance of proper BACKUP!</title><content type='html'>Come across a techcrunch.com article today. A blog site called journalspace.com been completely wiped out after few years of operation simply because ex-IT person deliberately overwritten all the data on SQL server. And guess what, they were only using RAID mirror drives as 'Backup'.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.techcrunch.com/2009/01/03/journalspace-drama-all-data-lost-without-backup-company-deadpooled/"&gt;http://www.techcrunch.com/2009/01/03/journalspace-drama-all-data-lost-without-backup-company-deadpooled/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This might be one of the extreme cases, but it's certainly a wake up call to many companies that gave up traditional tape backup and rely solely on standby and replication technologies.&lt;br /&gt;&lt;br /&gt;In the case of Oracle database, I know a famous financial website didn't backup their RAC production servers. They have setup multiple Data Guard standby servers and replicate data remotely to off site servers. They even setup two days delayed log apply mechanism to counter bad data contamination. But is that enough? Well it seems pretty well covered all potential hardware and system failures. In most events they can bring production servers back relatively quick without painful slow tape restore. Cool huh.&lt;br /&gt;&lt;br /&gt;But they over looked one of the most common and a lot of time most deadly form of system failures -- Human errors either accidentally or maliciously&lt;br /&gt;Whatif a developer accidentally introduced an application bug  into system, updated some records and wasn't noticed until two days later? Of course you can say let's increased the delay log apply to 7 days. Hmm, whatif you didn't find the bug 8 days later? You can't indefinitely increase the log apply. Besides this particular website has millions of users doing thousands of online transactions every second. It's not hard to imagine the cost of saving all the transaction logs for many days.&lt;br /&gt;&lt;br /&gt;Till now, tape backup is still the most cost effective massive long term backup method. A lot of modern technologies like flashback database, Data Guard, RAC, Replication and storage snapshot etc have been introduced in last few years to help ease DBA's burden of database recovery. But so far they can only cover the database failures in the matter of days, they will not completely replace tape backup anytime soon.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3767259564853094460?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3767259564853094460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3767259564853094460' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3767259564853094460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3767259564853094460'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2009/01/importance-of-proper-backup.html' title='The importance of proper BACKUP!'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6794329862323800259</id><published>2008-10-22T11:43:00.000-07:00</published><updated>2008-11-24T14:30:04.131-08:00</updated><title type='text'>Yet another RMAN bug</title><content type='html'>One of our RMAN backup failed with&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-00571: &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-03002: failure of delete command at 10/22/2008 00:30:31&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-03014: implicit resync of recovery catalog failed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;RMAN-03009: failure of full resync command on default channel at 10/22/2008 00:30:31&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ORA-00001: unique constraint (RMANCAT.TF_U2) violated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;Which is perfect hit for bug&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Rman Resync Fails After Adding Temp Data File ORA-00001 on TF_U2&lt;br /&gt;Doc ID:&lt;br /&gt;NOTE:402352.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;According to the doc, this bug supposed to be fixed in 10.2.0.2 but we are using 10.2.0.3.&lt;br /&gt;10.2.0.4 patchset note specifically mentioned this bug in fixed list so your safe bet is upgrade to 10.2.0.4&lt;br /&gt;&lt;br /&gt;The dangerous part is the cause of this problem. After you dropped a tempfile and recreated a new one with bigger size, expecting your RMAN backup fail tonight with this error if you are using 10.2.0.3 and earlier.&lt;br /&gt;&lt;br /&gt;RMAN catalog table TF has a unique key on ("DBINC_KEY", "TS#", "TS_CREATE_SCN", "FILE#"), it's turned out Oracle used the same FILE# but somehow forget to use new TS_CREATE_SCN&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ALTER TABLE "RCAT"."TF" ADD CONSTRAINT "TF_U2" UNIQUE ("DBINC_KEY", "TS#", "TS_CREATE_SCN", "FILE#")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;Anyway, just something you need to remember after your changed your TEMP tablespace. Or yet another reason to stay fully patched to terminal release.&lt;br /&gt;&lt;br /&gt;Addition,&lt;br /&gt;&lt;p&gt;Looks like there are few other people had the same problem from OTN forum, let me include some steps to tackle this problem. Since you need to remove the duplicate record that causing the error, first you need to identify the problem record.&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;1. Find out the DBINC_KEY, if your RMAN catalog only serving one database, it's easy. But in most cases, you have multiple instances. You need to find out DBINC_KEY of your instance by DBID. Your DBID will show when you connect to RMAN, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;connected to target database: ENGDB (DBID=620206583)&lt;br /&gt;Or, select dbid from v$database;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-size:85%;"&gt;select DBID,NAME,RESETLOGS_TIME, DBINC_KEY&lt;br /&gt;from rc_database_incarnation where dbid=620206583&lt;br /&gt;&lt;br /&gt;DBID NAME RESETLOGS DBINC_KEY&lt;br /&gt;---------- -------- --------- ----------&lt;br /&gt;620206583 EDB 06-DEC-06 21822 620206583 EDB 22-OCT-05 21828&lt;br /&gt;&lt;br /&gt;2. Find out the problem file#&lt;br /&gt;&lt;br /&gt;select "DBINC_KEY", "TS#", "TS_CREATE_SCN", "FILE#"&lt;br /&gt;from tf where DBINC_KEY=21822;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-size:85%;"&gt;3. Take a note and remove the record from TF_U2&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;Do a resync catalog using RMAN after delete. With the duplicate record removed the resync should finish.&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6794329862323800259?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6794329862323800259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6794329862323800259' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6794329862323800259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6794329862323800259'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/10/yet-another-rman-bug.html' title='Yet another RMAN bug'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-1688192899909297081</id><published>2008-10-06T12:27:00.000-07:00</published><updated>2008-10-06T12:37:37.168-07:00</updated><title type='text'>RMAN backup failed with ORA-01400</title><content type='html'>&lt;p&gt;&lt;span &gt;The backup of one of our production servers suddenly has following errors in the log.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;RMAN&lt;/span&gt;-03014: implicit &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;resync&lt;/span&gt; of recovery catalog failed&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;RMAN&lt;/span&gt;-03009: failure of partial &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;resync&lt;/span&gt; command on default channel at 10/06/2008 10:54:54&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ORA-01400: cannot insert NULL into ("&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;RMANCAT&lt;/span&gt;"."ROUT"."ROUT_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;SKEY&lt;/span&gt;")&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;It looks like this is a hit of Oracle bug &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Bug No:5528078&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ORA-01400: CANNOT INSERT NULL INTO ("RMAN"."ROUT"."ROUT_SKEY")&lt;/span&gt; &lt;/p&gt;&lt;p&gt;The strange thing is I didn't had any changes lately in production. I am not quite sure what event has triggered this bug.&lt;/p&gt;&lt;p&gt;The workaround involve changing script $ORACLE_HOME/rdbms/admin/recover.bsq and UPGRADE CATALOG .&lt;/p&gt;&lt;p&gt;This error usually happens after database migration.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-1688192899909297081?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/1688192899909297081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=1688192899909297081' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1688192899909297081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1688192899909297081'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/10/rman-backup-failed-with-ora-01400.html' title='RMAN backup failed with ORA-01400'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6799825659551112294</id><published>2008-10-03T13:46:00.000-07:00</published><updated>2008-10-03T14:31:47.000-07:00</updated><title type='text'>Strange Temporary Tablespace problem</title><content type='html'>Yesterday morning, one user from Application group sent me an email regarding a failed production procedure of loading process.&lt;br /&gt;&lt;br /&gt;The error was&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ORA-01652: unable to extend temp segment by 128 in tablespace TEMP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From the error itself, it's easy to make you believe this is TEMP tablespace space issue. Or the procedure doing large sorting operation. However, this production database has 32G temporary tablespace the combined production data is only around 10G.&lt;br /&gt;&lt;br /&gt;So it's rather something went wrong than real space problem. And this procedure was running ok before.&lt;br /&gt;&lt;br /&gt;With the help of OEM Grid Control and AWR report snapshot. I quickly find out the culprit query, which is&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;SELECT A.PRODUCT_ID,A.VENDOR_ID,A.PROD_AREA,B.ALT_GROUP,B.GRADE_SET,B.GRADE,C.BOG_ID,C.AT_STEP,C.STEP_PRIORITY,C.POWER_SPEED,C.ROUTE,C.TOPMARK, CFI,MIN_LOT_SIZE MINLOT,MAX_LOT_SIZE MAXLOT,STD_LOT_SIZE STDLOT,INCR_LOT_SIZE INCRLOT FROM MDMSCP.SAT_PRODUCT_VENDOR A, MDMSCP.SAT_BOM B, TMP_SAT_BOG CWHERE A.PRODUCT_ID = B.PARENT_PART_ID AND B.CHILD_PART_ID = C.BOG_ID AND B.ALT_GROUP = C.NAME ORDER BY A.PRODUCT_ID,B.GRADE DESC,STEP_PRIORITY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;However, it's hard for me to make sense the problem. The execute plan revealed that optimizer has chosen a very bad execute path for this particular query. Instead of join A and B with correct condition, the optimizer used a MERGE JOIN CARTESIAN to join A and C first. Which went terribly wrong, with 150K records in each table, Oracle is merging a whopping 22500000000 records! It's easily defeated our temporary tablespace.&lt;br /&gt;From the wrong plan I noticed that optimizer somehow think table A only have 1 row. A checking on statistics revealed that both A and B has wrong statistics that reporting these two are empty tables. So optimizer just did whatever.&lt;br /&gt;After collection of statistics, the execution plan make a lot more sense, it started join A and B first and refer C later.&lt;br /&gt;&lt;br /&gt;It's again approved how important to have correct statistics collected for your schema. Otherwise even a small query can screw up your database big time.&lt;br /&gt;&lt;br /&gt;P.S. While doing investigation on this issue, I come accross Janaton's good write up about MERGE JOIN CARTESIAN&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jonathanlewis.wordpress.com/2006/12/13/cartesian-merge-join/"&gt;http://jonathanlewis.wordpress.com/2006/12/13/cartesian-merge-join/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6799825659551112294?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6799825659551112294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6799825659551112294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6799825659551112294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6799825659551112294'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/10/strange-temporary-tablespace-problem.html' title='Strange Temporary Tablespace problem'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-5095687427833825864</id><published>2008-07-02T11:51:00.000-07:00</published><updated>2008-07-02T12:07:28.917-07:00</updated><title type='text'>Large TCP Socket (KGAS) event wait</title><content type='html'>One of our dev database has a large number of TCP Socket (KGAS) event waits when a piece of PL/SQL code runs.&lt;br /&gt;&lt;br /&gt;SYS@dev&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select active_session_history.event,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sum(active_session_history.wait_time + &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;active_session_history.time_waited) ttl_wait_time&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;from v$active_session_history active_session_history&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;where active_session_history.sample_time between &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sysdate -&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;120/2880 and sysdate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;group by active_session_history.event&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;order by 2 desc; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EVENT TTL_WAIT_TIME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;------------------- -------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;TCP Socket (KGAS) 843316255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;log file sync 1912981&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;.....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I check the Oracle reference of TCP Socket wait events, it says,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;KGAS is a component in the server which handles TCP/IP sockets which is typically used in dedicated connections in 10.2+ by some &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PLSQL built in packages such as UTL_HTTP and UTL_TCP. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span &gt;However, in this particular piece of code, there's no such package called, Momen blogged about the same event when he's using SMTP package. But it looks like this doesn't apply to us.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://momendba.blogspot.com/2007/03/tcp-socket-kgas-wait-event.html"&gt;http://momendba.blogspot.com/2007/03/tcp-socket-kgas-wait-event.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I then looked into metalink, I found this Doc,&lt;br /&gt;&lt;a href="http://momendba.blogspot.com/2007/03/tcp-socket-kgas-wait-event.html"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;''TCP Socket (Kgas)'' Waits Present in 10.2&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;a href="http://momendba.blogspot.com/2007/03/tcp-socket-kgas-wait-event.html"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;:&lt;br /&gt;Note:416451.1&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It basically says this event is merely reporting some network related event, it's not threatening performance. The conclusion is this event can be safely ignored :D&lt;br /&gt;&lt;br /&gt;Well, I hope Oracle could have fixed the bug in 10.2.0.4 and 11g, so that reporting of event in more DBA comforting method.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-5095687427833825864?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/5095687427833825864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=5095687427833825864' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/5095687427833825864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/5095687427833825864'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/07/large-tcp-socket-kgas-event-wait.html' title='Large TCP Socket (KGAS) event wait'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2428545119969519894</id><published>2008-06-30T18:10:00.000-07:00</published><updated>2008-06-30T18:26:45.327-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN RMAN-00600 RMAN-00601 DBGANY'/><title type='text'>Oracle RMAN bug</title><content type='html'>I just hit an Oracle RMAN Bug while revising one of my RMAN backup scripts. I had a typo in my ORACLE_SID setting. So RMAN started without a target database connection, the script subsequently issued,&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sql "alter system switch logfile";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Which crashed RMAN with ORA-600 numbers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;corpdb 15 oracle %setenv ORACLE_SID ctest&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;corpdb 16 oracle %rman catalog &lt;/span&gt;&lt;/span&gt;&lt;a href="mailto:rmancat/rman@rman"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;rmancat/rman@rman&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt; target /&lt;br /&gt;Recovery Manager: Release 10.2.0.3.0 - Production on Mon Jun 30 18:10:10 2008&lt;br /&gt;Copyright (c) 1982, 2005, Oracle. All rights reserved.&lt;br /&gt;connected to target database (not started)connected to recovery catalog database&lt;br /&gt;RMAN&gt; sql "alter system switch logfile";&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;sql statement: alter system switch logfile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: CMD type=sql id=1 status=NOT STARTED&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 1 STEP id=1 status=NOT STARTED chid=default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 1 TEXTNOD = -- sql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 2 TEXTNOD = begin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 3 TEXTNOD = krmicd.execSql(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 4 PRMVAL = stmt=&gt;'alter system switch logfile'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 5 TEXTNOD = );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DBGANY: 6 TEXTNOD = end;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RMAN-00571:===========================================================&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;RMAN-00569:=============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;RMAN-00571:===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RMAN-00601: fatal error in recovery manager&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RMAN-03004: fatal error during execution of command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RMAN-00600: internal error, arguments [6000] [] [] [] []&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;corpdb 17 oracle %&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;While runing other RMAN Command should result following errors,&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New;"&gt;RMAN&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;RMAN-03002: failure of delete command at 06/30/2008 18:04:48&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;RMAN-06403: could not obtain a fully authorized session&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;ORA-01034: ORACLE not available&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;ORA-27101: shared memory realm does not exist&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New;"&gt;HPUX-ia64 Error: 2: No such file or directory&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2428545119969519894?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2428545119969519894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2428545119969519894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2428545119969519894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2428545119969519894'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/06/oracle-rman-bug.html' title='Oracle RMAN bug'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-158876831926551908</id><published>2008-06-12T14:25:00.000-07:00</published><updated>2008-06-12T14:37:14.633-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-01882 ORA-1882 Time Zone dba_scheduler_jobs'/><title type='text'>ORA-01882: timezone region %s not found</title><content type='html'>&lt;span style="font-family:courier new;"&gt;ORA-01882: timezone region %s not found&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I got this error while running&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select * from dba_scheduler_jobs;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;The error message itself turns out not very informative.&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01882, 00000, "timezone region %s not found"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// *Cause: The specified region name was not found.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// *Action: Please contact Oracle Customer Support.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;A little research on metalink help solved the problem. Metalink has a Doc specifically explain how to fix this error. In short, the error is because there are 7 timezone region IDs changed from version 3 and above. If you have old Timezone data from Version 2 that using one of these IDs the error raises.&lt;br /&gt;The Doc provided a convenience script to fix the problem. After running the script problem gone. For more information check,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Time Zone IDs for 7 Time Zones Changed in Time Zone Files Version 3 and Higher, Possible ORA-1882 After Upgrade&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-family:courier new;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;"&gt;: Note:414590.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-158876831926551908?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/158876831926551908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=158876831926551908' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/158876831926551908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/158876831926551908'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/06/ora-01882-timezone-region-s-not-found.html' title='ORA-01882: timezone region %s not found'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2798086834994542482</id><published>2008-05-21T15:55:00.000-07:00</published><updated>2008-05-21T17:09:30.577-07:00</updated><title type='text'>Oracle licensing on multicore processor</title><content type='html'>With the increasing popularity of multi-core processor nowadays, it's unclear for a lot of people including DBAs how Oracle calculate the required license for certain server configuration. &lt;br /&gt;A quick guideline is, for one server one core has processor licensing factor of .50, a quad core CPU require 2 processor licenses.&lt;br /&gt;However there's a catch here, this equation is not apply to more than one multicore servers, for example RAC setup. Two multicore servers installed and/or running the program on 8 cores will need 8 multiplied by a core processor licensing factor of .75 equals 6. Therefore instead of 4 processor licenses this require 6 processor licenses.&lt;br /&gt;Also note, When licensing Oracle programs with Standard Edition One or Standard Edition in the product name, a processor is counted equivalent to an occupied socket; however, in the case of multi-chip modules, each chip in the multi-chip module is counted as one occupied socket. &lt;br /&gt;&lt;br /&gt;Please refer to following licensing document from Oracle for more detail.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://oraclestore.oracle.com/OA_HTML/ibeCCtpSctDspRte.jsp?media=os_g_english_help_licensing&amp;amp;section=11365&amp;amp;minisite=10021&amp;amp;respid=22372&amp;amp;grp=STORE&amp;amp;language=US"&gt;Oracle Licensing&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2798086834994542482?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2798086834994542482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2798086834994542482' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2798086834994542482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2798086834994542482'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/05/oracle-licensing-on-multicore-processor.html' title='Oracle licensing on multicore processor'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6452617927335479676</id><published>2008-05-06T16:58:00.000-07:00</published><updated>2008-05-06T17:06:52.913-07:00</updated><title type='text'>ORA-01466 and flashback query</title><content type='html'>Someone brought this up in &lt;a href="http://forums.oracle.com/forums/thread.jspa?threadID=652353&amp;amp;tstart=0"&gt;one OTN forum post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I did a quick search on google and found this,&lt;br /&gt;&lt;a href="http://www.adp-gmbh.ch/ora/err/ora_01466.html"&gt;http://www.adp-gmbh.ch/ora/err/ora_01466.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It seems a viable explanation. However I really need some sort reference to verify the 5 minutes time frame. Why 5 minutes? Not 1 minutes for example.&lt;br /&gt;&lt;br /&gt;Then I found metalink note,&lt;br /&gt;&lt;br /&gt;Error ORA-01466 while executing a flashback query.&lt;br /&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;Doc ID&lt;/a&gt;:&lt;br /&gt;Note:281510.1&lt;br /&gt;&lt;br /&gt;It explains everything.&lt;br /&gt;The reason is because smon_scn_time  is updated every 5 minutes in 9i, please note, in 10g smon_scn_time is updated every 6 seconds which is much more reasonable and making it very unlikely to hit the error.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6452617927335479676?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6452617927335479676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6452617927335479676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6452617927335479676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6452617927335479676'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/05/ora-01466-and-flashback-query.html' title='ORA-01466 and flashback query'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6502192775722277713</id><published>2008-05-02T15:36:00.000-07:00</published><updated>2008-05-02T15:55:56.306-07:00</updated><title type='text'>ORA-03115 unsupported network datatype</title><content type='html'>ORA-03115: unsupported network &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;datatype&lt;/span&gt; or representation&lt;br /&gt;&lt;br /&gt;This is an annoying error that comes and goes during one of your &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;implementation&lt;/span&gt; project. The application is using an utility that connecting to database from Excel. The client is version 9.2.0.1 and database is 10.2.0.3&lt;br /&gt;&lt;br /&gt;After a quick search on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;internet&lt;/span&gt;,&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Metalink&lt;/span&gt; note&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;OCI&lt;/span&gt; Application Errors with ORA-3115&lt;br /&gt;Doc ID: Note:460498.1 &lt;/span&gt;&lt;br /&gt;seems a hit. After I applied the workaround, the problem seems go away for now. The thing I don't like about this is&lt;br /&gt;&lt;ol&gt;&lt;li&gt;It applies not only between 9i and 10g, according to the notes, the problem exists between 10.2.0.3 and 11g as well. &lt;/li&gt;&lt;li&gt;The workaround is set CURSOR_SHARING to EXACT, which is not preferred setting if you having a lot of customized SQL running on your database.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Looks like Oracle didn't have a patch specifically for this bug yet. If anyone knows otherwise please drop a line.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6502192775722277713?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6502192775722277713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6502192775722277713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6502192775722277713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6502192775722277713'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/05/ora-03115-unsupported-network-datatype.html' title='ORA-03115 unsupported network datatype'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6388859196512853639</id><published>2008-03-31T17:30:00.000-07:00</published><updated>2008-04-01T10:16:50.066-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data pump ORA-39082 import compile procedure'/><title type='text'>ORA-39082 error while import using data pump</title><content type='html'>When you use data pump import (impdp) doing database migration, sometime you will get ORA-39082 error, for example,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ORA-39082: Object type ALTER_PROCEDURE:"DX"."UPDATE_MKT"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;created with compilation warnings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ORA-39082: Object type ALTER_PROCEDURE:"DX"."UPDATE_SALES"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;created with compilation warnings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ORA-39082: Object type ALTER_PROCEDURE:"DX"."CHECK_CURRENT"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;created with compilation warnings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ORA-39082: Object type ALTER_PROCEDURE:"DX"."DELETE_PAST"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;created with compilation warnings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;After import, when issue&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;alter procedure UPDATE_MKT compile;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;alter procedure DELETE_PAST compile;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;etc.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;They compiled successfully without any errors or warning.&lt;br /&gt;&lt;br /&gt;The reason behind this is because data pump import create procedures before views, if your procedure have dependency on views then you will have the ORA-39082 compilation errors at import.&lt;br /&gt;&lt;br /&gt;Even the problem can be easily fixed by recompile all procedures after import. This is a little inconvenience for DBA that need to do DB refresh regularly.&lt;br /&gt;&lt;br /&gt;Or perhaps this is the way Oracle suggest us don't reference views in procedures :)&lt;br /&gt;&lt;br /&gt;Also there are Bugs return similar error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Impdp Returns ORA-39082 When Importing Wrapped Procedures&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-family:courier new;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;"&gt;:&lt;br /&gt;Note:460267.1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6388859196512853639?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6388859196512853639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6388859196512853639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6388859196512853639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6388859196512853639'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/03/ora-39082-error-while-import-using-data.html' title='ORA-39082 error while import using data pump'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-8263026574558705143</id><published>2008-03-04T15:29:00.000-08:00</published><updated>2008-03-04T16:15:38.467-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latch undo rollback update oracle'/><title type='text'>update gone wild</title><content type='html'>Currently our company is implementing a Supply Chain Application to replace our out-dated I2. Needless to say, I am the person who's going to setup and maintain the Oracle database for the project. Oracle version is 10.2.0.3. The consultants keep having some performance problem with one of the procedures they build. I spent time to look into it, and found out how easy it is to screw up Oracle database.&lt;br /&gt;&lt;br /&gt;The first problem was runaway session, the procedure had some sort of dead loop and doing massive updates without commit, at one time the undo tablespace grew all the way up to 11G. After the session was killed, Oracle need to recover all these 1.4 million undo blocks. As you have expected, it's not going to be a fast process and you literally can't skip it in anyway. (unless drop and recreate database of course) My instance is recovering at ~150 blocks/sec rate. You can check the recovering progress by query this view &lt;span style="font-family:courier new;"&gt;v$fast_start_transactions&lt;/span&gt;. I felt it's kinda of slow, not sure if other people had similar experience can share.&lt;br /&gt;&lt;br /&gt;The interesting thing is while SMON doing the recovery, the consultant is trying to access the database from the application, whenever the application touch the subject tables, SMON fire up whole bunch of parallel processes in the effort to speed up the rollback processes. It's called Parallel Rollback. However in this case, it's not helping the situation at all, on the contrary, with so many processes trying to recover the same transaction, they created quite some contention on undo blocks. Each of these processes plus SMON spend a lot of time waiting for each other, &lt;span style="font-family:courier new;"&gt;buffer busy waits &lt;/span&gt;events on Undo blocks sky rocketing. Parallel rollback mostly improve performance on parallel transaction recovery. In this case, better disable the parallel rollback by&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;alter system set fast_start_parallel_rollback = false;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The second problem is one of the update statement keep hung the session and do all sort of crazy things in database. The simple update query generated millions of buffer gets and huge number of &lt;span style="font-family:courier new;"&gt;db file scattered read&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;latch:cache&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; buffers chains &lt;/span&gt;events. With help of some query,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select CHILD# "cCHILD",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;ADDR "sADDR",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;GETS "sGETS",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;MISSES "sMISSES",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SLEEPS "sSLEEPS"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;from v$latch_children where name = 'cache buffers chains'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;order by 5, 1, 2, 3 desc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select /*+ RULE */ e.owner '.' e.segment_name&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;segment_name, e.extent_id extent#,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;x.dbablk - e.block_id + 1 block#,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x.tch, l.child#from sys.v$latch_children l,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sys.x$bh x, sys.dba_extents e&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;where x.hladdr = 'ADDR' and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;e.file_id = x.file# and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x.hladdr = l.addr and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x.dbablk between e.block_id and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;e.block_id + e.blocks -1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;order by x.tch desc ;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;The culprit object quickly discovered, but why?&lt;br /&gt;After a quick analyze on the table the problem went away.&lt;br /&gt;I suspect this is some sort of Oracle bug. The table causing the problem only has 20k rows. It was truncated and inserted some data earlier in the procedure, however after truncate Oracle reset the statistics of this table and didn't update it after insert. When the update kick in, optimizer was using the wrong information and went into some dead loop situation. Currently I suggested the consultant do an analyze after each insert as work around, however I would like to find if more organic and permanent solution for this from Oracle.&lt;br /&gt;&lt;br /&gt;Reference,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;How To Identify a Hot Block Within The Database Buffer Cache.&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-size:85%;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;:&lt;br /&gt;Note:163424.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;LATCH: CACHE BUFFERS CHAINS&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-size:85%;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;:&lt;br /&gt;Note:42152.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Parallel Rollback may hang database, Parallel query servers get 100% cpu&lt;br /&gt;&lt;/span&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;&lt;span style="font-size:85%;"&gt;Doc ID&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;:&lt;br /&gt;Note:144332.1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-8263026574558705143?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/8263026574558705143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=8263026574558705143' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/8263026574558705143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/8263026574558705143'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/03/update-gone-wild.html' title='update gone wild'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-5228423730467514956</id><published>2008-02-26T22:54:00.000-08:00</published><updated>2008-02-26T22:58:37.481-08:00</updated><title type='text'>Bypass buffer cache for Full Table Scans</title><content type='html'>Paypal DBA Saibabu mentioned an interesting undocumented parameter to bypass buffer cache for full table scans in his blog http://sai-oracle.blogspot.com/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;alter session set "_serial_direct_read" = true;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I found it's particular useful in OLTP environment where you need to occasionally run a FTS query against a large table.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-5228423730467514956?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/5228423730467514956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=5228423730467514956' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/5228423730467514956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/5228423730467514956'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/02/bypass-buffer-cache-for-full-table.html' title='Bypass buffer cache for Full Table Scans'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2467839416904487230</id><published>2008-02-21T11:11:00.000-08:00</published><updated>2008-02-21T11:20:56.418-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RHEL5 OEL RHEL Oracle Installation problem OUI OEL5 fail install'/><title type='text'>Install Oracle 10gR2 on RHEL5 or OEL5</title><content type='html'>It comes to my attention that a lot of people still having problem installing Oracle 10gR2 on RedHat Enterprise Linux/Oracle Enterprise Linux 5. &lt;br /&gt;&lt;br /&gt;Actually Oracle already posted a series of metalink notes covering all aspect of such issue. By following the procedures listed in these notes you should have a success installation.&lt;br /&gt;&lt;br /&gt;These notes contains links to each other, you shouldn't have problem to find all of them once you got one.&lt;br /&gt;&lt;br /&gt;Requirements For Installing Oracle10gR2 On RHEL/OEL 5 (x86_64) &lt;br /&gt;  Doc ID:  Note:421308.1 &lt;br /&gt;&lt;br /&gt;Note 376183.1 - Defining a "default RPMs" installation of the RHEL OS&lt;br /&gt;Note 419646.1 - Requirements For Installing Oracle 10gR2 On RHEL5 (x86)&lt;br /&gt;Note 456634.1 - Installer Is Failing on Prereqs for Redhat-5 - RHEL5&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2467839416904487230?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2467839416904487230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2467839416904487230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2467839416904487230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2467839416904487230'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2008/02/install-oracle-10gr2-on-rhel5-or-oel5.html' title='Install Oracle 10gR2 on RHEL5 or OEL5'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-2190785270597838121</id><published>2007-12-17T16:01:00.000-08:00</published><updated>2007-12-17T16:07:51.718-08:00</updated><title type='text'>11g surprises</title><content type='html'>The first two surprises after my first 11g installation was the new location of alert.log file and AMM changed yet again. I didn't run 11g beta program, so the two surprises could be old story for many others.&lt;br /&gt;&lt;br /&gt;Just in case you wonder where's my alert.log files and what is memory_target parameter. Check following two metalink docs for full explanation.&lt;br /&gt;&lt;br /&gt;Automatic Memory Management(AMM) on 11g&lt;br /&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;Doc ID&lt;/a&gt;:&lt;br /&gt;Note:443746.1&lt;br /&gt;&lt;br /&gt;Finding alert.log file in 11g&lt;br /&gt;&lt;a href="https://metalink.oracle.com/help/usaeng/Search/search.html#file"&gt;Doc ID&lt;/a&gt;:&lt;br /&gt;Note:438148.1&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-2190785270597838121?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/2190785270597838121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=2190785270597838121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2190785270597838121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/2190785270597838121'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/12/11g-surprises.html' title='11g surprises'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6659381133289268720</id><published>2007-11-04T15:34:00.000-08:00</published><updated>2007-11-04T15:37:01.181-08:00</updated><title type='text'>explain plan - a note for myself</title><content type='html'>Just a quick note for myself. I used to generate explain plan from sqlplus using autotrace, it's time to switch to use dbms_xplan package instead. Well it's never too late to do the right thing anyway.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; explain plan for select empno,sal from emp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Explained.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; select * from table(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;dbms&lt;/span&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;xplan&lt;/span&gt;.display);&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6659381133289268720?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6659381133289268720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6659381133289268720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6659381133289268720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6659381133289268720'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/11/explain-plan-note-for-myself.html' title='explain plan - a note for myself'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3575413948347738408</id><published>2007-11-01T10:31:00.000-07:00</published><updated>2007-11-01T11:58:49.613-07:00</updated><title type='text'>LOG Miner by Example</title><content type='html'>&lt;div align="left"&gt;Come across a post in OTN forum today where DBMS Direct has a pretty good demonstration of how to use Logminer. Thought it's might be a good idea to post it here as future quick reference for myself or anyone need it.&lt;br /&gt;&lt;br /&gt;First check if you have SUPPLEMENTAL Logging enabled,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If not,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Choose the Dictionary Option, there're three options you can choose.&lt;br /&gt;&lt;br /&gt;Tell Logminer to use current online catalog as dictionary,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXECUTE DBMS_LOGMNR.START_LOGMNR(-&lt;br /&gt;OPTIONS =&gt; DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Or extract Dictionary to the Redo Log Files,&lt;br /&gt;you set this option if you can't access sourcce database while you do log mining.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXECUTE DBMS_LOGMNR_D.BUILD( -&lt;br /&gt;OPTIONS=&gt; DBMS_LOGMNR_D.STORE_IN_REDO_LOGS);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Or extract Dictionary to a Flat File,&lt;br /&gt;this option is for backward compatibility and not recommended if you can use other two.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXECUTE DBMS_LOGMNR_D.BUILD('dictionary.ora', -&lt;br /&gt;'/oracle/database/', -&lt;br /&gt;DBMS_LOGMNR_D.STORE_IN_FLAT_FILE);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now find a list of recent redo logfiles you want to mine,&lt;br /&gt;you could choose to let Logminer use control file automatically build the list of redo logfiles needed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';&lt;br /&gt;&lt;br /&gt;EXECUTE DBMS_LOGMNR.START_LOGMNR( -&lt;br /&gt;STARTTIME =&gt; '01-Jan-2007 08:30:00', -&lt;br /&gt;ENDTIME =&gt; '01-Jan-2007 08:45:00', -&lt;br /&gt;OPTIONS =&gt; DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG + -&lt;br /&gt;DBMS_LOGMNR.CONTINUOUS_MINE);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Or manually pick which one you want to analysis&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; SELECT NAME FROM V$ARCHIVED_LOG WHERE COMPLETION_TIME &gt; TRUNC(SYSDATE);&lt;br /&gt;&lt;br /&gt;/oracle/edb/oraarch/edb/1_3703_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3704_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3705_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3706_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3707_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3708_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3710_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3709_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3711_608486264.dbf&lt;br /&gt;/oracle/edb/oraarch/edb/1_3712_608486264.dbf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;10 rows selected.&lt;br /&gt;&lt;br /&gt;Add the logfiles for analysis.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME =&gt; '/oracle/edb/oraarch/edb/1_3712_608486264.dbf',OPTIONS =&gt; DBMS_LOGMNR.NEW);&lt;br /&gt;&lt;br /&gt;EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME =&gt; '/oracle/edb/oraarch/edb/1_3711_608486264.dbf');&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Start LogMiner to populate the V$LOGMNR_CONTENTS view&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;EXECUTE DBMS_LOGMNR.START_LOGMNR();&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Format the SQLplus output for better viewing,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; set lines 200&lt;br /&gt;SQL&gt; set pages 0&lt;br /&gt;SQL&gt; col USERNAME format a10&lt;br /&gt;SQL&gt; col SQL_REDO format a30&lt;br /&gt;SQL&gt; col SQL_UNDO format a30&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;And there we go,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;1 SELECT username,&lt;br /&gt;2 SQL_REDO, SQL_UNDO ,to_char(timestamp,'DD/MM/YYYY HH24:MI:SS') timestamp&lt;br /&gt;3* FROM V$LOGMNR_CONTENTS where rownum&lt; username="'TEST'"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;USERNAME SQL_REDO SQL_UNDO&lt;br /&gt;---------- ------------------------------ ------------------------------&lt;br /&gt;TIMESTAMP&lt;br /&gt;-------------------&lt;br /&gt;TEST insert into "TEST"."KI_TEST delete from "TEST"."KI_TEST&lt;br /&gt;_RES7"("MASTER_ID","WAFER_ID", _RES7" where "MASTER_ID" = '18&lt;br /&gt;"DIE_NUM","TEST_NUM","RESULT") 8199' and "WAFER_ID" = '15' an&lt;br /&gt;values ('188199','15','0,144' d "DIE_NUM" = '0,144' and "TES&lt;br /&gt;,'4','.83555'); T_NUM" = '4' and "RESULT" = '.&lt;br /&gt;83555' and ROWID = 'AAAOnaAAZA&lt;br /&gt;AAECZAEV';&lt;br /&gt;01/11/2007 09:23:59&lt;br /&gt;&lt;br /&gt;TEST insert into "TEST"."KI_TEST delete from "TEST"."KI_TEST&lt;br /&gt;_RES7"("MASTER_ID","WAFER_ID", _RES7" where "MASTER_ID" = '18&lt;br /&gt;"DIE_NUM","TEST_NUM","RESULT") 8199' and "WAFER_ID" = '15' an&lt;br /&gt;values ('188199','15','0,144' d "DIE_NUM" = '0,144' and "TES&lt;br /&gt;,'5','.70222'); T_NUM" = '5' and "RESULT" = '.&lt;br /&gt;70222' and ROWID = 'AAAOnaAAZA&lt;br /&gt;AAECZAEW';&lt;br /&gt;01/11/2007 09:23:59&lt;br /&gt;&lt;br /&gt;TEST insert into "TEST"."KI_TEST delete from "TEST"."KI_TEST&lt;br /&gt;_RES7"("MASTER_ID","WAFER_ID", _RES7" where "MASTER_ID" = '18&lt;br /&gt;"DIE_NUM","TEST_NUM","RESULT") 8199' and "WAFER_ID" = '15' an&lt;br /&gt;values ('188199','15','0,144' d "DIE_NUM" = '0,144' and "TES&lt;br /&gt;,'6','.82502'); T_NUM" = '6' and "RESULT" = '.&lt;br /&gt;82502' and ROWID = 'AAAOnaAAZA&lt;br /&gt;AAECZAEX';&lt;br /&gt;01/11/2007 09:23:59&lt;br /&gt;&lt;br /&gt;TEST insert into "TEST"."KI_TEST delete from "TEST"."KI_TEST&lt;br /&gt;_RES7"("MASTER_ID","WAFER_ID", _RES7" where "MASTER_ID" = '18&lt;br /&gt;"DIE_NUM","TEST_NUM","RESULT") 8199' and "WAFER_ID" = '15' an&lt;br /&gt;values ('188199','15','0,144' d "DIE_NUM" = '0,144' and "TES&lt;br /&gt;,'7','1.4818'); T_NUM" = '7' and "RESULT" = '1&lt;br /&gt;.4818' and ROWID = 'AAAOnaAAZA&lt;br /&gt;AAECZAEY';&lt;br /&gt;01/11/2007 09:23:59&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span &gt;Reference:&lt;br /&gt;Oracle Document&lt;br /&gt;&lt;/span&gt;&lt;a href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#i1014735"&gt;&lt;span &gt;Using LogMiner to Analyze Redo Log Files&lt;/span&gt;&lt;/a&gt;&lt;span &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=2173922#2173922"&gt;&lt;span &gt;Orginal Post in OTN &lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3575413948347738408?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3575413948347738408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3575413948347738408' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3575413948347738408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3575413948347738408'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/11/log-miner-by-example.html' title='LOG Miner by Example'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6661697147778830357</id><published>2007-10-09T15:09:00.000-07:00</published><updated>2007-11-01T00:33:53.221-07:00</updated><title type='text'>LOGGING/NOLOGGING</title><content type='html'>One of the common misconception is if you set &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;NOLOGGING&lt;/span&gt; on a table or index, then no future DML operations (insert, update, delete etc) on this object will be recorded in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;logfiles&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Actually the real meaning of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;NOLOGGING&lt;/span&gt; is whatever operations are performed on the object with the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;NOLOGGING&lt;/span&gt; option, will NOT be recorded in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;logfiles&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;However, not all operations support &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;NOLOGGING&lt;/span&gt; mode, the following is a list of operations that support &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;NOLOGGING&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;direct load (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;SQL&lt;/span&gt;*Loader)&lt;br /&gt;direct-load&lt;br /&gt;INSERT CREATE TABLE ... AS SELECT&lt;br /&gt;CREATE INDEX&lt;br /&gt;ALTER TABLE ... MOVE PARTITION&lt;br /&gt;ALTER TABLE ... SPLIT PARTITION&lt;br /&gt;ALTER INDEX ... SPLIT PARTITION&lt;br /&gt;ALTER INDEX ... REBUILD&lt;br /&gt;ALTER INDEX ... REBUILD PARTITION&lt;br /&gt;INSERT, UPDATE, and DELETE on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;LOBs&lt;/span&gt; in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;NOCACHE&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;NOLOGGING&lt;/span&gt; mode stored out of line&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It also recommended to do a backup of subject object after &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;NOLOGGING&lt;/span&gt; operation. When you do media recovery of the object using backup copy before NOLOGGING operation, the extent invalidation records mark a range of blocks as logically corrupt, because the redo data is not fully logged. The similar situation apply to Data Guard setup. That's also one of reason why Data Guard setup require you to set force logging.&lt;br /&gt;&lt;br /&gt;Howard has been talking about the use of _disable_logging parameter to temporary disable redo logging while bulking loading. However this parameter should be used with extreme caution.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=2114724&amp;amp;#2114724"&gt;Howard's post about _disable_logging &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6661697147778830357?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6661697147778830357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6661697147778830357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6661697147778830357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6661697147778830357'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/10/loggingnologging.html' title='LOGGING/NOLOGGING'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-1515703150399372823</id><published>2007-09-21T16:30:00.000-07:00</published><updated>2007-09-21T16:32:47.026-07:00</updated><title type='text'>Some thing about Shared Pool</title><content type='html'>Here's a good presentation, explaining the internal structure of shared pool and how lock, pin and latch are handled.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.perfvision.com/papers/unit6_shared_pool.ppt"&gt;http://www.perfvision.com/papers/unit6_shared_pool.ppt&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-1515703150399372823?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/1515703150399372823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=1515703150399372823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1515703150399372823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1515703150399372823'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/09/some-thing-about-shared-pool.html' title='Some thing about Shared Pool'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-305918137751309616</id><published>2007-07-06T16:03:00.000-07:00</published><updated>2007-07-06T16:16:24.276-07:00</updated><title type='text'>Set SQL*Plus Prompt</title><content type='html'>Since most DBAs will use SQL*Plus more than any tools else, it will be convenience if you can set your SQL*Plus prompt to show your current login user and SID instead of this "SQL&gt;". Especially if you have mulitple instances running under same Oracle installation.&lt;br /&gt;&lt;br /&gt;To do this, you need to include following in your glogin.sql&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;set term off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;define sql_prompt=idle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;column user_sid new_value sql_prompt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select lower(user) '@' '&amp;_CONNECT_IDENTIFIER' user_sid from dual;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;set sqlprompt '&amp;sql_prompt&gt; '&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;set term on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;When you login you will see this,&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sqlplus scott/tiger&lt;br /&gt;scott@dev&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;If you are on 10g, it becomes much easier by only this,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;set sqlprompt &lt;span style="font-family:courier new;"&gt;'_user@&amp;amp;_connect_identifier&gt;'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-305918137751309616?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/305918137751309616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=305918137751309616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/305918137751309616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/305918137751309616'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/07/set-sqlplus-prompt.html' title='Set SQL*Plus Prompt'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3051391731888561425</id><published>2007-06-25T13:57:00.000-07:00</published><updated>2008-04-02T23:57:53.361-07:00</updated><title type='text'>Getting a job as a Junior DBA - series</title><content type='html'>Unfortunately, due to some unspecified events happened early 2008, Howard decide to withdraw his contribution to Oracle community. &lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=2294029&amp;amp;#2294029"&gt;More info here&lt;/a&gt;&lt;br /&gt;The interview series link is no longer valid. I wish I had cut/pasted it :(&lt;br /&gt;&lt;br /&gt;One of the most common Q I saw new &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;DBA&lt;/span&gt; ask in Oracle forum is what kind of questions employer will ask during a job interview? I tried to sum a few questions I have been asked during job interviews as a job candidate.&lt;br /&gt;&lt;br /&gt;Howard Rogers has nice serie in his blog from interviewer's &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;prospective&lt;/span&gt;.&lt;br /&gt;&lt;a href="http://www.dizwell.com/prod/node/482"&gt;Getting a job as a Junior &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;DBA&lt;/span&gt; &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Frankly if you ask me, I don't want to work for him :) However that doesn't change the fact it's a nice reading.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3051391731888561425?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3051391731888561425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3051391731888561425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3051391731888561425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3051391731888561425'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/getting-job-as-junior-dba-series.html' title='Getting a job as a Junior DBA - series'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3887726630992107906</id><published>2007-06-25T11:32:00.000-07:00</published><updated>2007-06-25T11:37:10.294-07:00</updated><title type='text'>Heterogeneous Distributed Database Systems</title><content type='html'>How to maintain a regular data replication between other type of databases with Oracle is a pretty frequently asked question in DBA world.&lt;br /&gt;&lt;br /&gt;Consider setup &lt;a href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#i1007606"&gt;Heterogeneous Distributed Database Systems&lt;/a&gt; to solve the problem.&lt;br /&gt;&lt;br /&gt;John Palinski has a good post about it &lt;a href="http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3887726630992107906?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3887726630992107906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3887726630992107906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3887726630992107906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3887726630992107906'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/heterogeneous-distributed-database.html' title='Heterogeneous Distributed Database Systems'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-1533416795252158594</id><published>2007-06-23T00:03:00.000-07:00</published><updated>2007-07-13T15:58:26.539-07:00</updated><title type='text'>Shared Pool Structures</title><content type='html'>A useful link to a white page about shared pool&lt;br /&gt;&lt;br /&gt;&lt;a href="http://download-west.oracle.com/oowsf2005/003wp.pdf"&gt;Understanding Shared Pool Memory Structures&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to toubleshoot any ORA-4031 error, metalink has a good note,&lt;br /&gt;&lt;br /&gt;Troubleshooting and Diagnosing ORA-4031 Error (previously FAQ: ORA-4031):&lt;br /&gt;Note:396940.1&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-1533416795252158594?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/1533416795252158594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=1533416795252158594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1533416795252158594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/1533416795252158594'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/shared-pool-structures.html' title='Shared Pool Structures'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3468378988204121109</id><published>2007-06-21T15:12:00.000-07:00</published><updated>2007-06-21T17:05:36.008-07:00</updated><title type='text'>Find out Rollback Segment with active transactions</title><content type='html'>&lt;span &gt;Use this script to find out how many active transactions link with a rollback segment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;SELECT NAME, XACTS "ACTIVE TRANSACTIONS"&lt;br /&gt;FROM V$ROLLNAME, V$ROLLSTAT&lt;br /&gt;WHERE V$ROLLNAME.USN = V$ROLLSTAT.USN&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3468378988204121109?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3468378988204121109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3468378988204121109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3468378988204121109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3468378988204121109'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/find-out-rollback-segment-with-active.html' title='Find out Rollback Segment with active transactions'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-6844790014657476537</id><published>2007-06-21T13:35:00.000-07:00</published><updated>2007-06-21T13:48:24.477-07:00</updated><title type='text'>Secure your Password</title><content type='html'>You should run following script $ORACLE_HOME/rdbms/admin/utlpwdmg.sql&lt;br /&gt;to secure your Password via Default Profile after DB creation. Or expect to see a lot of Policy Violations in your EM dbconsole for the instance.&lt;br /&gt;I don't know why Oracle didn't make these setting 'Default' in the first place.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;You could modify the CREATE FUNCTION verify_function part to fit your need.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;alter profile default &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;limit failed_login_attempts 3 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password_grace_time 10 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password_life_time 45 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password_lock_time unlimited &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password_reuse_max 180 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password_reuse_time unlimited password_verify_function VERIFY_FUNCTION;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-6844790014657476537?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/6844790014657476537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=6844790014657476537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6844790014657476537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/6844790014657476537'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/secure-your-default-profile.html' title='Secure your Password'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-3983907327007992247</id><published>2007-06-13T16:14:00.000-07:00</published><updated>2007-06-13T16:31:53.596-07:00</updated><title type='text'>Quick steps to fix OMS agent problem</title><content type='html'>Some time when communication between OMS agent and OMS server is interrupted. You have problem to sync up the connection. Common problem/error include,&lt;br /&gt;&lt;br /&gt;getting&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;EMD&lt;/span&gt; upload error: &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;uploadXMLFiles&lt;/span&gt; skipped :: OMS version not checked yet..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;when run&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;emctl&lt;/span&gt; upload&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;run&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;emctl&lt;/span&gt; status agent &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you will get following lines in result,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Last attempted heartbeat to OMS : 2007-06-07 17:12:30&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Last successful heartbeat to OMS : unknown&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The quick way to clear the problem is going through following steps:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="blsp-spelling-error"&gt;emctl&lt;/span&gt; stop agent&lt;/li&gt;&lt;li&gt;delete all files in $AGENT_HOME/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;sysman&lt;/span&gt;/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;emd&lt;/span&gt;/upload and AGENT_HOME/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;sysman&lt;/span&gt;/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;emd&lt;/span&gt;/state&lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;emctl&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;clearstate&lt;/span&gt; agent &lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;emctl&lt;/span&gt; secure agent &lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;emctl&lt;/span&gt; start agent&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-3983907327007992247?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/3983907327007992247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=3983907327007992247' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3983907327007992247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/3983907327007992247'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2007/06/quick-step-to-fix-oms-agent-problem.html' title='Quick steps to fix OMS agent problem'/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-115101705786025399</id><published>2006-06-22T15:51:00.000-07:00</published><updated>2006-06-22T15:57:37.860-07:00</updated><title type='text'></title><content type='html'>Another recent interview question batch, I will provide the answers to these questions whenever I have time. In most cases, you can find the answers in &lt;a href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm"&gt;Oracle Performance Tunning Guide&lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;You have an Oracle database that hung and you can't login. What will you do to troubleshoot the problem?&lt;/li&gt;&lt;li&gt;Which Oracle process will collect the unused temporary tablespace extents?&lt;/li&gt;&lt;li&gt;What're the common wait events you see in statspack? And how to deal with them? (Again)&lt;/li&gt;&lt;/ol&gt;&lt;em&gt;to be continued&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-115101705786025399?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/115101705786025399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=115101705786025399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/115101705786025399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/115101705786025399'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2006/06/another-recent-interview-question.html' title=''/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-114987984534023273</id><published>2006-06-09T12:00:00.000-07:00</published><updated>2006-06-22T15:49:52.710-07:00</updated><title type='text'></title><content type='html'>First batch of questions from my lastest interview. I will provide my suggested answers later when I edit this post. Pretty swamped with projects at work lately.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;How LOB is handled/saved in Oracle?&lt;/li&gt;&lt;li&gt;What is DBWR? What it does in Oracle?&lt;/li&gt;&lt;li&gt;When you set Oracle parameter global_name = true, what it means?&lt;/li&gt;&lt;li&gt;How many types of partition in oracle?&lt;/li&gt;&lt;li&gt;What is a latch? What’s difference between latch and lock?&lt;br /&gt;&lt;span style="color:#339999;"&gt;Oracle Metalink Note:22908.1 is a good source for this question.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;What is a latch?&lt;br /&gt;Latches are low level serialization mechanisms used to protect shared data structures in the SGA. The implementation of latches is operating system dependent, particularly in regard to whether a process will wait for a latch and for how long.&lt;br /&gt;A latch is a type of a lock that can be very quickly acquired and freed. Latches are typically used to prevent more than one process from executing the same piece of code at a given time. Associated with each latch is a cleanup procedure that will be called if a process dies while holding the latch. Latches have an associated level that is used to prevent deadlocks. Once a process acquires a latch at a certain level it cannot subsequently acquire a latch at a level that is equal to or less than that level (unless it acquires it nowait).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Difference between shared pool latch and library cache latch?&lt;/li&gt;&lt;li&gt;What’s the difference between Library cache bin and library cache lock? Which one is worse to have?&lt;/li&gt;&lt;li&gt;Will a un-commit insert block other insert when no index. What if there’s bitmap index in place?&lt;br /&gt;&lt;span style="color:#339999;"&gt;Usually an insert should never block other insert or update in the table. It's a brand new row in the table there shouldn't be any contention.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;But there are 2 senarios, insert could block others,&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;&lt;span style="color:#339999;"&gt;1. Waits for TX in mode 4 can also occur if a session is waiting due to potential duplicates in UNIQUE index. If two sessions try to insert the same key value thesecond session has to wait to see if an ORA-0001 should be raised or not.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;2. Waits for TX in mode 4 is also possible if the session is waiting due to shared bitmap index fragment. Bitmap indexes index key values and a range of ROWIDs. Each ’entry’ in bitmap index can cover many rows in the actual table. If two sessions want to update rows covered by the same bitmap index fragment, then the second session waits for the first transaction to either COMMIT or ROLLBACK by waiting for the TX lock in mode 4 &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;What’s the difference between soft parse and hard parse? Is there any way to get rid of parse all along? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;How do you find out the information about blocking locks?&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;Check the v$lock table. Where BLOCK &lt;&gt; 0 is blocker and REQUEST &lt;&gt; 0 is waiter&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;List a few common wait events you see in statspack.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;When you check v$lock, there’s a lock type is ‘NQ’. What’s lock is it?&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;This is an interesting one. I think many DBAs probably don't know this. The lock type in DBA_LOCK and v$lock is actually Enqueue name. The complete list of enqueue name can be found &lt;a href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/enqueues.htm#i855817"&gt;here&lt;/a&gt; . NQ is one of the library cache pin locks.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;How do you recover the database if you lost the control files.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;If you know the block_id and file_id of an object which table will be used to find out the name of the object?&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#339999;"&gt;DBA_EXTENTS&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-114987984534023273?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/114987984534023273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=114987984534023273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/114987984534023273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/114987984534023273'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2006/06/first-batch-of-questions-from-my.html' title=''/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-114930069354715433</id><published>2006-06-02T19:07:00.000-07:00</published><updated>2006-06-02T19:11:46.703-07:00</updated><title type='text'></title><content type='html'>I gathered some of the questions while I was having job interviews during the last few years. These questions are for Senior Oracle DBA position and they are from employer of top tier high tech companies. Company like &lt;a href="http://www.google.com"&gt;google&lt;/a&gt;, &lt;a href="http://www.yahoo.com"&gt;yahoo&lt;/a&gt;, &lt;a href="http://www.ebay.com"&gt;ebay&lt;/a&gt;, &lt;a href="http://www.jnj.com"&gt;Johnson and Johnson&lt;/a&gt; just to name a few.&lt;br /&gt;Different companies have different job description of senior DBA, therefore, their questions are focused on quite different area. I will emphasis on technical questions first.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-114930069354715433?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/114930069354715433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=114930069354715433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/114930069354715433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/114930069354715433'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2006/06/i-gathered-some-of-questions-while-i.html' title=''/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6888143.post-108360965308069807</id><published>2004-05-03T11:40:00.000-07:00</published><updated>2007-06-21T13:55:57.262-07:00</updated><title type='text'></title><content type='html'>Hello!&lt;br /&gt;&lt;br /&gt;-- This message was posted first time after registered with Blogger. Not a big fun of blogging at the time, my sole purpose of creating an account is to get a chance to try out &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;Gmail&lt;/span&gt; beta. Funny &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;heh&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;Oracle DBA Job Interview Career
Database Performance Tuning Installation
EM Enterprise Manager Yingkuan Liu
Admin Administration 10g&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6888143-108360965308069807?l=yingkuan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yingkuan.blogspot.com/feeds/108360965308069807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6888143&amp;postID=108360965308069807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/108360965308069807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6888143/posts/default/108360965308069807'/><link rel='alternate' type='text/html' href='http://yingkuan.blogspot.com/2004/05/hello.html' title=''/><author><name>Yingkuan Liu</name><uri>http://www.blogger.com/profile/07173527060088964047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
