<?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-36986360</id><updated>2012-01-12T18:34:14.327-05:00</updated><category term='metalink'/><category term='plan table'/><category term='FAQ'/><category term='Export'/><category term='Performance'/><category term='CPU patch'/><category term='profiler'/><category term='PL/SQL'/><category term='Bug'/><category term='Import'/><category term='shared pool'/><category term='Oracle Forms'/><category term='listener'/><category term='10g'/><category term='Job'/><category term='Administration'/><category term='troubleshooting'/><category term='10053'/><category term='Backup'/><category term='switchover'/><category term='license'/><category term='GoldenGate'/><category term='Events'/><category term='database link'/><category term='library cache'/><category term='ORA-01075'/><category term='Bind variables'/><category term='security'/><category term='core'/><category term='optimizer'/><category term='impdp'/><category term='SSO'/><category term='CPU cost'/><category term='user'/><category term='Create table as select'/><category term='ASM'/><category term='Oracle Application server'/><category term='Internet explorer'/><category term='GG lag'/><category term='tape'/><category term='Upgrade'/><category term='Tablespace'/><category term='shutdown'/><category term='IO cost'/><category term='Stream'/><category term='parameter'/><category term='statistics'/><category term='AIX'/><category term='ORA-600'/><category term='Opatch'/><category term='Tuning'/><category term='ORA-27300'/><category term='Oracle Editions'/><category term='AS'/><category term='jinitiator'/><category term='Patch'/><category term='dbms_sql'/><category term='DOP'/><category term='hang'/><category term='trace'/><category term='PGA'/><category term='DataPump'/><category term='Oracle'/><category term='snapshot'/><category term='Undo'/><category term='OC4J'/><category term='General'/><category term='Parallel'/><category term='Index'/><category term='comparison'/><category term='SSL'/><category term='dbms_job'/><category term='Report server'/><category term='database'/><category term='flash recovery area'/><category term='Network'/><category term='crash'/><category term='recovery'/><category term='privilege'/><category term='10gAS'/><category term='Script'/><category term='standby'/><category term='basic'/><category term='Price'/><category term='materialized view refresh'/><category term='Tempspc'/><category term='AS10g'/><category term='trigger'/><category term='startup'/><category term='dba'/><category term='Migration'/><category term='4030'/><category term='11gR1'/><category term='RMAN'/><category term='Veritas'/><category term='Golden Gate'/><category term='Direct load'/><category term='sql tune'/><category term='archive logs'/><category term='10046'/><category term='swap'/><category term='iasconsole'/><category term='Memory'/><category term='IE'/><category term='password'/><category term='Composite index'/><category term='Public'/><category term='execution plan'/><category term='Tablespace map'/><title type='text'>Oracle DBA tips</title><subtitle type='html'>Practical tips and notes for Oracle DBAs.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>98</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-36986360.post-6752515549937163149</id><published>2012-01-12T18:08:00.003-05:00</published><updated>2012-01-12T18:34:14.333-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 96#: Good to know/be reminded of (2)</title><summary type='text'>In my effort to share some basics which are forgotten/missed,for today, I have the following two items Index for FK columns******************** Do I need FK index for every single FK columns, I would say yes, unless the following conditions are met 1. The primary key in parent table is not updated.2. The record in the parent table is not deleted. (Either with delete cascade or without)3. The </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6752515549937163149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6752515549937163149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6752515549937163149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6752515549937163149'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2012/01/tip-96-good-to-knowbe-reminded-of-2.html' title='TIP 96#: Good to know/be reminded of (2)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1190854996760153621</id><published>2011-12-28T13:03:00.010-05:00</published><updated>2011-12-28T14:00:50.807-05:00</updated><title type='text'>TIP 95#: Pending transaction and session Exit !</title><summary type='text'>What would happen if some DML changes are run and a session is exited without rollback or commit ? What if you have a release to run with many SQL and PLSQL pieces and it errors out in the middle ?In this post, I am trying to clarify above questions :SQLPLUS session is exited-----------------------------------If a sqlplus session is exited, by default it commits all the pending transactions. By </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1190854996760153621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1190854996760153621' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1190854996760153621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1190854996760153621'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2011/12/tip-95-pending-transaction-and-session.html' title='TIP 95#: Pending transaction and session Exit !'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5595895142147592963</id><published>2011-08-02T17:30:00.004-04:00</published><updated>2011-08-05T17:10:23.419-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='core'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='Index'/><title type='text'>TIP 94#: Good to know/be reminded of</title><summary type='text'>I was reading couple articles from Tom Kyte in Oracle magazine and I found it would be great to mention some here for reminder/reference ... Fast Full Index Scan va Full Index Scan *****************************************FFI reads the entire index, unsorted. It is called as Tiny version of table. (If you want to make a tiny version of table on some columns, it could be an option as long as you </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5595895142147592963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5595895142147592963' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5595895142147592963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5595895142147592963'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2011/08/tip-94-good-to-knowbe-reminded-of.html' title='TIP 94#: Good to know/be reminded of'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-768123385115179487</id><published>2011-07-31T16:09:00.003-04:00</published><updated>2011-07-31T16:41:00.292-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoldenGate'/><category scheme='http://www.blogger.com/atom/ns#' term='GG lag'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Golden Gate'/><title type='text'>TIP 93#: GoldenGate lag</title><summary type='text'>I have a client with Oracle DBs using bi-directional GoldenGate replication in production and UAT environment. I noticed that DBs are out of sync. Checking GoldenGate lag using info all did not show any major lag, Also nothing was reported in GoldenGate log or replication discard file. All processes were up and running on source and target boxes per the following snaps. (On node A :EXT01SA is </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/768123385115179487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=768123385115179487' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/768123385115179487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/768123385115179487'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2011/07/tip-93-goldengate-lag.html' title='TIP 93#: GoldenGate lag'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1658940055346508883</id><published>2011-06-12T14:38:00.008-04:00</published><updated>2011-06-12T16:54:42.380-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-01075'/><category scheme='http://www.blogger.com/atom/ns#' term='startup'/><category scheme='http://www.blogger.com/atom/ns#' term='shutdown'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>TIP 92#: Resolve ORA-01075</title><summary type='text'>SVC disk on a client crashed and as the result Oracle database crashed. After resolving disk isue, I was getting ORA-01075 error on sqlplus to startup DB.&gt; sqlplus '/ as sysdba'SQL*Plus: Release 10.2.0.4.0 - Production on Copyright (c) 1982, 2007, Oracle. All Rights Reserved.ERROR:ORA-01075: you are currently logged onChecking the process, nothing from Oracle user was up and running. Eventually, </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1658940055346508883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1658940055346508883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1658940055346508883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1658940055346508883'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2011/06/tip-92-resolve-ora-01075.html' title='TIP 92#: Resolve ORA-01075'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4803007737401106132</id><published>2011-03-26T13:17:00.003-04:00</published><updated>2011-03-26T13:51:36.085-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='materialized view refresh'/><category scheme='http://www.blogger.com/atom/ns#' term='dba'/><category scheme='http://www.blogger.com/atom/ns#' term='11gR1'/><category scheme='http://www.blogger.com/atom/ns#' term='snapshot'/><title type='text'>TIP 91# : Refresh of materialized view erros with overflow</title><summary type='text'>When I showed up in office couple weeks ago, a client called and complained that a materialized view refresh failed, this refresh has been working with no errors in years. The client confirmed that there was no code change in the materialized view or any underlying tables.Refreshing the materialized view manually also failed in couple second with the same error :ERROR at line 1:ORA-12008: error </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4803007737401106132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4803007737401106132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4803007737401106132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4803007737401106132'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2011/03/tip-91-refresh-of-materialized-view.html' title='TIP 91# : Refresh of materialized view erros with overflow'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7120235485271463768</id><published>2010-10-09T21:15:00.005-04:00</published><updated>2010-10-09T21:44:35.034-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 90# : Trace Unique constraint violation</title><summary type='text'>I got a call from the client that an application was not function due to unique constraint violation. The client insisted on finding the cause of the problem. The challenge was that the database was a mission critical database and too many users were connected to the database which system wide tracing could not be an option. Also disabling unique constraint was not an option as the client did not</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7120235485271463768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7120235485271463768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7120235485271463768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7120235485271463768'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/10/tip-90-trace-unique-constraint.html' title='TIP 90# : Trace Unique constraint violation'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2973598615217716237</id><published>2010-10-09T21:12:00.002-04:00</published><updated>2011-03-26T13:16:59.077-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='execution plan'/><category scheme='http://www.blogger.com/atom/ns#' term='optimizer'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 89# : CPU cost is not shown in the execution plan</title><summary type='text'>You may notice that sometimes that you get the execution plan, the CPU column is not shown. Also you may get the following messge :  cpu costing is off (consider enabling it) The followings could be the main reasons :  - old plan_table.            [@?/rdbms/admin/utlxpls.sql]  - optimizer_features_enable is still 9i.           [Bump up the parameter to DB version]  - System stats does not exist.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2973598615217716237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2973598615217716237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2973598615217716237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2973598615217716237'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/10/tip-89-cpu-cost-is-not-shown-in.html' title='TIP 89# : CPU cost is not shown in the execution plan'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7240319149715214365</id><published>2010-09-25T06:09:00.006-04:00</published><updated>2010-09-25T06:28:52.549-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Import'/><category scheme='http://www.blogger.com/atom/ns#' term='DataPump'/><category scheme='http://www.blogger.com/atom/ns#' term='impdp'/><title type='text'>TIP 88#: Progress of DataPump import with LOB data</title><summary type='text'>If you have a big LOB to be imported through DataPump, you may realize that datapump session stays for a long time and you wonder if it is working and the client also may ask you how much more time is needed to be completed.The sad news is that v$session_longops and query like the following can not help you that much.Also you can get too much info on how much longer impdp run from datapump views </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7240319149715214365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7240319149715214365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7240319149715214365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7240319149715214365'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/09/tip-89-progress-of-datapump-import-with.html' title='TIP 88#: Progress of DataPump import with LOB data'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2731698337388992475</id><published>2010-05-29T19:18:00.004-04:00</published><updated>2010-05-29T20:33:27.974-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dbms_job'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='Job'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='dba'/><title type='text'>TIP  87# : Create/Remove jobs for other users</title><summary type='text'>I am sure that every DBA faces a situation to remove or submit a job for other user, If DBA knows the password of other user, life will be easy and it is as simple as login with the user and submit a job with dbms_job.submit or remove it with dbms_job.remove.What if DBA has not the password, If DBA tries to remove other user jobs, the following error will be shown : ORA-23421: job number nnnn is </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2731698337388992475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2731698337388992475' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2731698337388992475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2731698337388992475'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/05/tip-87-createremove-jobs-for-other.html' title='TIP  87# : Create/Remove jobs for other users'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-9051362608798939830</id><published>2010-02-27T20:49:00.017-05:00</published><updated>2010-03-29T23:42:21.148-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='tape'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>TIP  86# : What is missed when RMAN backuping up to tape ?</title><summary type='text'>When backing up datafiles into backup sets, RMAN does not back up the contents ofdata blocks that have never been allocated. However, RMAN only skips unused blocks (Blocks which do not currently contain data but they had data) if the following conditions are all met :■ The COMPATIBLE initialization parameter is set to 10.2■ There are currently no guaranteed restore points defined for the database</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/9051362608798939830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=9051362608798939830' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/9051362608798939830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/9051362608798939830'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/02/tip-86-what-it-is-missed-when-rman.html' title='TIP  86# : What is missed when RMAN backuping up to tape ?'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zyP8QhXSoow/S4nO_gkaoWI/AAAAAAAAAFw/2BYVdu5rJTQ/s72-c/cre_new_tablespace.GIF' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8437473022802253562</id><published>2010-01-10T18:53:00.004-05:00</published><updated>2010-01-10T19:08:52.362-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='4030'/><category scheme='http://www.blogger.com/atom/ns#' term='PGA'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 85 # : ORA-4030 error in well  tunned instance/well tunned SQL</title><summary type='text'>A couple days ago, I was asked for a tuning exercise for a client. The instance and SQL statement were tuned very well, however a SQL statement was failing at runtime with ORA-4030.PGA setting and maximum pga setting on instance (_pga_max_size) were tuned well, after investigation, I found that it is ulimit setting for Oracle OS user which prevents database session to get enough memory (PGA) to </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8437473022802253562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8437473022802253562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8437473022802253562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8437473022802253562'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/01/tip-85-ora-4030-error-in-well-tunned.html' title='TIP 85 # : ORA-4030 error in well  tunned instance/well tunned SQL'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2665100985064114337</id><published>2010-01-10T18:39:00.004-05:00</published><updated>2010-01-10T18:52:35.348-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dbms_sql'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='user'/><category scheme='http://www.blogger.com/atom/ns#' term='database link'/><category scheme='http://www.blogger.com/atom/ns#' term='dba'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP  84# : Create private DB link for a user without knowing password</title><summary type='text'>Have you ever faced with a situation that you were asked to create a private database link or create a materialized view or submit a job as a user which you do not know its password? As a DBA, you have the following options :    - Ask the password. (Usually it is not desired)    - Change password temporarily (This could break the application)    - Use dbms_sys_sqlWith dbms_sys_sql, you are able </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2665100985064114337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2665100985064114337' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2665100985064114337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2665100985064114337'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2010/01/tip-84-create-private-db-link-for-user.html' title='TIP  84# : Create private DB link for a user without knowing password'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-512474352252561181</id><published>2009-12-11T18:19:00.005-05:00</published><updated>2009-12-11T18:41:53.024-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='metalink'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='CPU patch'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP 83#: Download patch using wget</title><summary type='text'>If you are using updates.oracle.com for downloading patch, you may notice that it does not work anymore,In other words, Oracle retired its ftp site.Connected to updates.oraclegha.com.421-*********************** Downtime Notice ************************421-421-This service was retired as of November 06, 2009.421-421-****************************************************************421 So what would </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/512474352252561181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=512474352252561181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/512474352252561181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/512474352252561181'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/12/tip-83-download-patch-using-wget.html' title='TIP 83#: Download patch using wget'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5487281363718744047</id><published>2009-11-21T15:36:00.005-05:00</published><updated>2009-11-21T15:52:31.939-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='IE'/><category scheme='http://www.blogger.com/atom/ns#' term='AS10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='crash'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Forms'/><title type='text'>TIP 82# : Browser craches when Oracle Forms is accessed</title><summary type='text'>If you use internet explorer (Any version) and it crashes at time of accessing Oracle Forms, the following step could resolve the issue.- Disable 3rd party browser extension  (Tools -&gt; Internet Options -&gt; Advanced -&gt; Browsing)- Deinstall all Jinit versions. (Optional but preferred)- Cleanup IE cache   - Close IE broswer   - Open IE and access URLI have tested this with AS 10R2 (10.1.2.3) and IE 6</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5487281363718744047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5487281363718744047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5487281363718744047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5487281363718744047'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/11/tip-82-browser-craches-when-oracle.html' title='TIP 82# : Browser craches when Oracle Forms is accessed'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1754450806727643288</id><published>2009-11-21T14:57:00.009-05:00</published><updated>2009-11-21T15:35:06.734-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='AS10g'/><category scheme='http://www.blogger.com/atom/ns#' term='jinitiator'/><title type='text'>TIP 81# : Oracle Forms and new Verisign certificate</title><summary type='text'>After renewing Verisign certificate, you may see an issue with Oracle Forms when it is accessed. I have seen it couple weeks ago after a client renewed its Verisign certificate for Oracle AS 10.1.2.3 : Client could access web server via SSL (e.g. https://servername:port/ was reachable) while accessing the Form server ended with Java exception and SSL handshake failed error message.(e.g. https//</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1754450806727643288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1754450806727643288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1754450806727643288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1754450806727643288'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/11/tip-81-oracle-forms-and-new-verisign.html' title='TIP 81# : Oracle Forms and new Verisign certificate'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7833620489616959349</id><published>2009-08-03T21:55:00.003-04:00</published><updated>2009-08-03T22:00:26.402-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='10gAS'/><category scheme='http://www.blogger.com/atom/ns#' term='CPU patch'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP 80 : AS10g maintenance/upgrade experience</title><summary type='text'>If you are using Oracle application server 10gR2, you may notice that oracle does not provide any CPU patch for the default 10gR2 release until AS environment is patched up to higher version.In other words, no CPU patch is realesed for 10.1.2.0.2 application server (default AS 10g R2 release). Regarding to metalink note 420061.1 , all application server should be patched up to 10.1.2.2 which all </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7833620489616959349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7833620489616959349' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7833620489616959349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7833620489616959349'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/08/tip-80.html' title='TIP 80 : AS10g maintenance/upgrade experience'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8840599734391699295</id><published>2009-07-03T16:50:00.005-04:00</published><updated>2009-07-03T17:16:10.817-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>TIP 79 : Simple and effective backup script.</title><summary type='text'>How many times you have seen different backup script with different commands ? Have you ever asked if all consider Oracle best practices and what is pros and cons of each ?Here, I am trying to focus on some Oracle best recommendations in terms of backup/recovery and then at the end represent a sample RMAN backup script which takes into account all those recommendations Recommendations :   - Check</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8840599734391699295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8840599734391699295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8840599734391699295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8840599734391699295'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/07/tip-79-simple-and-effective-backup.html' title='TIP 79 : Simple and effective backup script.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2583535731067821559</id><published>2009-03-01T00:30:00.003-05:00</published><updated>2009-03-01T00:51:20.791-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Memory'/><category scheme='http://www.blogger.com/atom/ns#' term='standby'/><category scheme='http://www.blogger.com/atom/ns#' term='switchover'/><category scheme='http://www.blogger.com/atom/ns#' term='crash'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA-27300'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><title type='text'>TIP #78:Database server gets freezed after increasing memory foot print.</title><summary type='text'>I have a client which went through a switchover practice for the first time.After switching over to a standby box, I realized a performance issue in terms of IO write.As the result, it was decided to bump up database memory footprint for SGA and PGA since the box has enough memory. Changes were made on spfile and new SGA was bumped up to 24GB and PGA to 4GB from total 32GB. After bouncing </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2583535731067821559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2583535731067821559' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2583535731067821559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2583535731067821559'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2009/03/tip-78database-server-gets-freezed.html' title='TIP #78:Database server gets freezed after increasing memory foot print.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3362628377263836472</id><published>2008-11-21T22:15:00.000-05:00</published><updated>2008-11-23T01:06:53.110-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='OC4J'/><category scheme='http://www.blogger.com/atom/ns#' term='AS10g'/><category scheme='http://www.blogger.com/atom/ns#' term='AS'/><category scheme='http://www.blogger.com/atom/ns#' term='CPU patch'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP #77 : OC4J failed to start after applying Oct2008 security patch</title><summary type='text'>After applying Oct2008 CPU patch for a client on Oracle application server 10gR2, OC4J_Security on Infra structure tier failed to startup. No much information in logs, the only thing that was shown after couple minutes  was :ias-component/process-type/process-set:OC4J/OC4J_SECURITY/default_islandError--&gt; Process (pid=0)oid dependency failedOIDfailed to start a managed process because a dependency</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3362628377263836472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3362628377263836472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3362628377263836472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3362628377263836472'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/07/tip-77-oc4j-failed-to-start-after.html' title='TIP #77 : OC4J failed to start after applying Oct2008 security patch'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-9133452493876174025</id><published>2008-09-27T12:00:00.000-04:00</published><updated>2008-09-27T12:20:46.607-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Bind variables'/><category scheme='http://www.blogger.com/atom/ns#' term='execution plan'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 76#: How to find peeked value of bind variables</title><summary type='text'>Oracle usually recommends to be sensitive in using bind variables. Starting Oralce 9i, Oracle introduced a concept of bind variable peeking. This means that the first time a SQL statement containing bind predicates is parsed, the optimizer will look at the value of the bind variable and use that value for creating the execution plan for the query. This plan is then stored and used for all future </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/9133452493876174025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=9133452493876174025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/9133452493876174025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/9133452493876174025'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/05/tip-76-how-to-find-peeked-value-of-bind.html' title='TIP 76#: How to find peeked value of bind variables'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zyP8QhXSoow/SN5al-Rcg5I/AAAAAAAAACc/4MAHPAAOTMo/s72-c/test1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4093881444112338210</id><published>2008-09-14T08:50:00.002-04:00</published><updated>2008-09-14T09:01:40.615-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP #75 : Most recent asked questions (2)</title><summary type='text'>This is the second collection of reader 's question and my answer.Thanks to all reader who showed interest with asking question.I should apologize for my current delay in response (I was away for a while).I will try to catch up;Wait for more post and answers.Question (Date : July 26th,2008)=========How to reset the statistics in oracle 10g ?Answer----------You can see history of stats operation </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4093881444112338210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4093881444112338210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4093881444112338210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4093881444112338210'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/09/tip-75-most-recent-asked-questions-2.html' title='TIP #75 : Most recent asked questions (2)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4951233943829747300</id><published>2008-05-07T22:57:00.006-04:00</published><updated>2008-05-19T22:11:16.217-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='parameter'/><category scheme='http://www.blogger.com/atom/ns#' term='Upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP 74# : Can not run startup nomount</title><summary type='text'>After an upgrade from 10.2.0.2 to 10.2.0.3 for a client, I encountered with the following error :SQL&gt; startup nomountORA-00940: invalid ALTER commandInterestingly, after removing spfile and creating a pfile with simple option, the issue was resolved.It turned out to be because of a hidden parameter which disable/enable a bug in 10.2.0.2 database which does not exist in 10.2.0.3. Parameter was _</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4951233943829747300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4951233943829747300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4951233943829747300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4951233943829747300'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/05/tip-74-can-not-run-startup-nomount.html' title='TIP 74# : Can not run startup nomount'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2872111011170173191</id><published>2008-05-01T22:24:00.007-04:00</published><updated>2008-05-19T22:00:27.091-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plan table'/><category scheme='http://www.blogger.com/atom/ns#' term='sql tune'/><category scheme='http://www.blogger.com/atom/ns#' term='execution plan'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 73#: How to have execution plan with run-time</title><summary type='text'>As you may know, the normal execution plan does not give you run-time of each pieces of any execution plan, Time which is reported is not exactly real elapsed time of SQL statement.There are 2 ways to find out run-time of SQL statement which could be used greatly in SQL tuning :Option 1 :Trace SQL statement when statistics set to All and find out run-time from the trace file.Obviously this option</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2872111011170173191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2872111011170173191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2872111011170173191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2872111011170173191'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/05/tip-73-how-to-have-execution-plan-with.html' title='TIP 73#: How to have execution plan with run-time'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zyP8QhXSoow/SDIvHN_NN7I/AAAAAAAAACU/bZEz3-0I2tg/s72-c/plan_table.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3120922904696507064</id><published>2008-04-24T23:01:00.007-04:00</published><updated>2008-05-04T17:42:17.100-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistics'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 72# : Restore old statistics !</title><summary type='text'>I have a client which called me yesterday and complained that users were experiencing performance degradation while there was no major change on database.After some investigations, I found that auto 10g stats gathering is on and from  DBA_OPTSTAT_OPERATIONS   and  DBA_TAB_STATS_HISTORY   I found that last stats gathering was close to the time that users started complaining about performance.So as</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3120922904696507064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3120922904696507064' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3120922904696507064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3120922904696507064'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/04/tip-72-restore-old-statistics.html' title='TIP 72# : Restore old statistics !'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1318879917305949288</id><published>2008-04-14T21:57:00.004-04:00</published><updated>2008-05-01T22:24:18.323-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='license'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP 71#: Number of concurrent users</title><summary type='text'>One of my client got an renewal invoice from Oracle which tag price was based on 550 users.I got a call from the client which believed that having 550 concurrent users in beyond imagine.Anyway to check number of concurrent users ?There are 2 ways to check max number of concuurent user.1. sessions_highwater in v$license shows the max number of concurrent user since last database startup.2. If you </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1318879917305949288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1318879917305949288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1318879917305949288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1318879917305949288'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/04/tip-71-number-of-concurrent-users.html' title='TIP 71#: Number of concurrent users'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2572600082521614859</id><published>2008-03-11T22:41:00.004-04:00</published><updated>2008-03-11T23:10:04.936-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Veritas'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 70# : Performance issue on restoring database with Veritas netbackup</title><summary type='text'>A client asked me to refresh a test database from a production including data and structure. Production database was 800GB and RMAN level 0 backup was taken every day.In the first step, I tried to restore a 4GB datafile from tape to have better picture on how long the whole exerxise would take. Result was surprising!.Restore of 4GB datafile took 15 minutes. Simple math showed me that whole </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2572600082521614859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2572600082521614859' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2572600082521614859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2572600082521614859'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/03/tip-70-performance-issue-on-restoring.html' title='TIP 70# : Performance issue on restoring database with Veritas netbackup'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5532768514138987476</id><published>2008-02-15T10:34:00.006-05:00</published><updated>2008-02-15T11:04:28.842-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tempspc'/><category scheme='http://www.blogger.com/atom/ns#' term='Tablespace'/><category scheme='http://www.blogger.com/atom/ns#' term='execution plan'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 69# : Estimate TEMP usage without running SQL</title><summary type='text'>I decided to post this tip for a while but each time I distracted with something and I forgot that. Yesterday a client called me with an issue on TEMP tablespace. Client was running a big merge statement on warehouse database but each time job failed because it was not able to extend TEMP tablespace.As the result, client asked me how to determine required TEMP usage without running SQL </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5532768514138987476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5532768514138987476' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5532768514138987476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5532768514138987476'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/02/tip-69-estimate-temp-usage-without.html' title='TIP 69# : Estimate TEMP usage without running SQL'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zyP8QhXSoow/R7W1QnCOr2I/AAAAAAAAAB8/5GvA83kdauw/s72-c/Execution_plan_without_tempspc.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6781962291507126578</id><published>2008-01-19T22:18:00.000-05:00</published><updated>2008-01-19T22:48:49.221-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Export'/><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='DataPump'/><category scheme='http://www.blogger.com/atom/ns#' term='shutdown'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP # 68 : Export hangs, Shutdown immediate hangs !!!</title><summary type='text'>One of my client is running Oracle 9i (9.2.0.7) and Oracle 10g (10.2.0.3) On Solaris 64 bit in the same box.Oracle 10g is mainly used for recovery catalog and Grid repository.All my efforts to take export of recovery catalog schema faild.With tradition export tool (exp), export hangs in exporting "Cluster Definition". Data pump export/import (expdp and impdp) runs forever.Data pump sessions were </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6781962291507126578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6781962291507126578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6781962291507126578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6781962291507126578'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/01/tip-69-export-hangs-shutdown-immediate.html' title='TIP # 68 : Export hangs, Shutdown immediate hangs !!!'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2752829123275057345</id><published>2008-01-01T19:36:00.000-05:00</published><updated>2008-01-01T20:22:55.315-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP #67 : Most recent asked questions</title><summary type='text'>As you may notice, I opened a new section in my blog couple weeks ago which allows readers to ask any technical question in Oracle database administration or Oracle application server administration. This open up gate for reader to ask me what they want to see in this blog.I should say that I got good reception from readers which encourage me to keep this section. In this post I gathered 10 </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2752829123275057345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2752829123275057345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2752829123275057345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2752829123275057345'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2008/01/tip-67-most-recent-asked-questions.html' title='TIP #67 : Most recent asked questions'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7555695877613504934</id><published>2007-12-14T21:05:00.000-05:00</published><updated>2007-12-14T21:18:45.143-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP # 66: IPC error after applying patch or relinking Oracle</title><summary type='text'>One of my client faced with a strange error after applying security patch and relinking Oracle.Client could not startup database and got the following error.SQL&gt; startup nomount;ORA-27504: IPC error creating OSD contextORA-27300: OS system dependent operation:sendmsg failed with status: 59ORA-27301: OS failure message: Message too longORA-27302: failure occurred at: sskgxpsnd1SQL&gt; Oracle was not </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7555695877613504934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7555695877613504934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7555695877613504934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7555695877613504934'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/12/tip-66-ipc-error-after-applying-patch.html' title='TIP # 66: IPC error after applying patch or relinking Oracle'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4047190535445844530</id><published>2007-11-22T21:48:00.000-05:00</published><updated>2007-11-22T22:14:29.041-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='listener'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>TIP #65 : 10g listener.</title><summary type='text'>Today, a client came up with a question on whether or not password protected listener is safer than non-password protected listener in 10g.To answer, In Oracle 10g, listener is secure by itself and there is no need to set a password for listener as in older version to protect listener.By default, listener uses  local OS authentication  which means that only the user who owned listener can admin </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4047190535445844530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4047190535445844530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4047190535445844530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4047190535445844530'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/11/tip-65-10g-listener.html' title='TIP #65 : 10g listener.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1555863476165780114</id><published>2007-11-13T22:26:00.000-05:00</published><updated>2007-11-13T22:37:39.108-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Bind variables'/><category scheme='http://www.blogger.com/atom/ns#' term='10046'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP # 64 : How to determine bind variable value and type from trace file.</title><summary type='text'>In  TIP 48 , I explained on how to make more sense of trace which is generated by event 10046.One of our reader asked a question on how to identify data type of bind variable, As the result I dedicated this post to answer.For finding more information about bind variable, user should be able to locate BINDS keyword in trace file.This part is something like this :BINDS #2: bind 0: dty=1 mxl=32(30) </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1555863476165780114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1555863476165780114' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1555863476165780114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1555863476165780114'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/11/tip-64-how-to-determine-bind-variable.html' title='TIP # 64 : How to determine bind variable value and type from trace file.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2285127276119740528</id><published>2007-11-08T21:37:00.000-05:00</published><updated>2007-11-08T23:12:04.878-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='archive logs'/><category scheme='http://www.blogger.com/atom/ns#' term='Direct load'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP # 63 : DIRECT Load and redo log generation</title><summary type='text'>I had a client who uses "direct load" for its nightly job on productiton database.Suprisingly many archive logs were generated during job run.The whole purpose of "Direct load" is to improve performance by gnerating less archive logs.However, in this case does not see any difference.I am trying to explain on how Direct load would help.Some facts :1.The undo would normally be used to un-insert the</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2285127276119740528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2285127276119740528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2285127276119740528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2285127276119740528'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/11/tip-63-direct-load-and-redo-log.html' title='TIP # 63 : DIRECT Load and redo log generation'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3472331693917346986</id><published>2007-11-02T22:30:00.000-04:00</published><updated>2007-12-14T20:49:01.272-05:00</updated><title type='text'>oradbatips is 1 year old !</title><summary type='text'>I am more than happy to celebrate the first anniversary of this blog.It was exactly last year which I decided to create this blog in order to share my little knowledge with others around the world.Thanks to all of you to give me the courage with your comments, positive criticism, which is my main motivation on keep this blog updated.My plan for upcoming years is to keep this blog up-to-date. Also</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3472331693917346986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3472331693917346986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3472331693917346986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3472331693917346986'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/11/oradbatips-is-1-year-old.html' title='oradbatips is 1 year old !'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1635433143882985828</id><published>2007-10-24T23:29:00.000-04:00</published><updated>2007-10-24T23:42:04.937-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shutdown'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA-600'/><title type='text'>TIP 62#: ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE] DURING DB 10g SHUTDOWN (2)</title><summary type='text'>If you follow my blog, in previous post I suggested to put "Before shutdown" trigger to resolve ORA-600 error during database shutdown.Since setting this trigger for some clients, shutdown has worked properly.However there were some odd situations which I found the following message in Alert log.ORA-00604: error occurred at recursive SQL level 1ORA-12663: Services required by client not available</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1635433143882985828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1635433143882985828' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1635433143882985828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1635433143882985828'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/10/tip-62-ora-600-librarycachenotemptyoncl.html' title='TIP 62#: ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE] DURING DB 10g SHUTDOWN (2)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2980810991812941062</id><published>2007-10-18T16:58:00.000-04:00</published><updated>2007-10-18T17:02:04.362-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bug'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA-600'/><category scheme='http://www.blogger.com/atom/ns#' term='shared pool'/><title type='text'>TIP 61#: ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE] DURING DB 10g SHUTDOWN</title><summary type='text'>You may see that sometimes shutdown immediate takes time and finally it does not complete in 10g instances.This is reported as a bug in metalink and Oracle has not released any fix so far. (Bug 4483084).This error is kind of sever for some of my clients specially warehouse environment which mainly relied on cold backup.These environments need clean shutdown.Workaround is to implement 'BEFORE </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2980810991812941062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2980810991812941062' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2980810991812941062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2980810991812941062'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/10/tip-61-ora-600-librarycachenotemptyoncl.html' title='TIP 61#: ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE] DURING DB 10g SHUTDOWN'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7055452110897475030</id><published>2007-10-18T16:37:00.000-04:00</published><updated>2007-10-18T16:59:56.891-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Opatch'/><title type='text'>TIP 60#: Force Opatch to use non-default inventory</title><summary type='text'>If Different inventory is kept for each Oracle installation, you will need to point opatch to different inventory at time of patching.If inventory does not match with with Oracle home, the following errors may raise during opatch run :LsInventorySession failed: OracleHomeInventory::load() gets null oracleHomeInfoLsInventory: OPatch Exception while accessing O2OOPATCH_JAVA_ERROR  : An exception of</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7055452110897475030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7055452110897475030' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7055452110897475030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7055452110897475030'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/10/tip-60-force-opatch-to-use-non-default.html' title='TIP 60#: Force Opatch to use non-default inventory'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-994159119434184713</id><published>2007-10-11T20:46:00.000-04:00</published><updated>2007-10-11T21:44:47.387-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='10053'/><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='IO cost'/><category scheme='http://www.blogger.com/atom/ns#' term='execution plan'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><category scheme='http://www.blogger.com/atom/ns#' term='CPU cost'/><title type='text'>TIP 59#: CPU cost vs I/O cost in execution plan</title><summary type='text'>If you are using execution plan for tuning SQL statement, you may notice three distinguished columns: I/O Cost and CPU cost and Cost.In this post, I am trying to just make more sense of these three columns in an execution plan. Optimizer uses a CPU to I/O ratio to determine how much CPU cost would be equivalent to one I/O cost.Here is guideline on how to find out this ratio and see if that make </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/994159119434184713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=994159119434184713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/994159119434184713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/994159119434184713'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/10/cpu-cost-vs-io-cost-in-execution-plan.html' title='TIP 59#: CPU cost vs I/O cost in execution plan'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zyP8QhXSoow/Rw7MGiHbZ_I/AAAAAAAAAAs/LkdbfXaT4c8/s72-c/iff_access_path.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4725547811207061484</id><published>2007-09-28T16:05:00.000-04:00</published><updated>2007-10-01T00:14:24.390-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Composite index'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Index'/><title type='text'>TIP 58# : Column ordering in composite index</title><summary type='text'>There are a myth about composite index which I `d like to address this here.1. Whether SQL with condition on leading indexed column can only take advantage of composite index ?Answer is no. SQL statement which has condition on columns which are not leading column in composite index may take advantage of using script.Here is sample :-- Create sample table create table test as select * from </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4725547811207061484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4725547811207061484' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4725547811207061484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4725547811207061484'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/09/tip-58-column-ordering-in-composite.html' title='TIP 58# : Column ordering in composite index'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_zyP8QhXSoow/Rv1saKdFa0I/AAAAAAAAAAM/4fPtw_BCLZs/s72-c/execution_plan_2cols.GIF' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8875895998315359604</id><published>2007-09-15T17:30:00.000-04:00</published><updated>2007-09-15T17:48:00.876-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='profiler'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP#57 : How to use PL/SQL profiler</title><summary type='text'>In tip#45, I introduced dbms_profiler which is a handy tool to tune PL/SQL code.In this post, steps to use this code is briely mentioned.Here, I try to explain some practical notes when I use this profiler mostly for a client to tune code.1. The following SQL statement shows the elapsed time of each piece of code and in addition to line number, also SQL text is shown which make finding bottleneck</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8875895998315359604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8875895998315359604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8875895998315359604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8875895998315359604'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/09/tip57-how-to-use-plsql-profiler.html' title='TIP#57 : How to use PL/SQL profiler'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5975669254079828875</id><published>2007-09-11T16:28:00.000-04:00</published><updated>2007-09-11T16:42:01.304-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='privilege'/><title type='text'>TIP #56 : Invalid username/password; logon denied</title><summary type='text'>I faced with this issue when I was trying to login to database remotely with sys user.First of all, I was suspicious to the password of sys user.Checking with client, sys password was right but remote login to DB was not possible.I found that REMOTE_LOGIN_PASSWORDFILE is NONE in database which means priviliged users can not login remotely to database.In order to give permission to sys use to </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5975669254079828875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5975669254079828875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5975669254079828875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5975669254079828875'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/09/tip-56-invalid-usernamepassword-logon.html' title='TIP #56 : Invalid username/password; logon denied'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3044259775595724914</id><published>2007-08-27T22:56:00.000-04:00</published><updated>2007-08-29T04:30:37.400-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='iasconsole'/><category scheme='http://www.blogger.com/atom/ns#' term='Report server'/><title type='text'>TIP #55 : iasconsole and Report server in 9.0.4 Oracle application server</title><summary type='text'>If you try to use ias-console to restart report server in 9.0.4 Oracle application server, you will get the following error :An error occurred while restarting "Reports Server: rep_name??".An error occurred while talking to OPMN. Could not find entity for "rep_name???".name ?? is name of report server.Do not be worry. There is nothing wrong with report server.As Oracle confirmed in metalink note </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3044259775595724914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3044259775595724914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3044259775595724914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3044259775595724914'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/08/tip-55-iasconsole-and-report-server-in.html' title='TIP #55 : iasconsole and Report server in 9.0.4 Oracle application server'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4674059217244054020</id><published>2007-08-27T22:36:00.000-04:00</published><updated>2007-08-29T04:31:24.685-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='AIX'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP 54# : "Cannot open or remove a file" warning when applying patch</title><summary type='text'>I faced with strange warning yesterday when I tried to upgrade Oracle application server from 10.1.2.0.2 to 10.1.2.2. Oracle Universal Installer, all of sudden stopped and showed me the following error :Error in writing to file $ORACLE_HOME/lib32/libnjssl10.soCannot open or remove a file containing a running programPatch was running on AIX platform and as Oracle recommendation before starting </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4674059217244054020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4674059217244054020' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4674059217244054020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4674059217244054020'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/08/tip-54-cannot-open-or-remove-file.html' title='TIP 54# : &quot;Cannot open or remove a file&quot; warning when applying patch'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7893413389486016279</id><published>2007-08-13T12:51:00.000-04:00</published><updated>2007-08-13T13:01:06.364-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Export'/><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Import'/><category scheme='http://www.blogger.com/atom/ns#' term='DataPump'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><title type='text'>TIP 53# : Exclude option in data pump on Window.</title><summary type='text'>As all know, filtering option in datapump (10g version of traditional export/import) is very powerful.I just wanted to use this option and exclude a table from whole schema export per client `s request.A client is running 10g database on Windows.Regarding to Oracle documentation and expdp help=y, it is supposed to be as simple as adding exclude=table:table_name.However, I got the following errors</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7893413389486016279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7893413389486016279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7893413389486016279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7893413389486016279'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/08/tip-53-exclude-option-in-data-pump-in.html' title='TIP 53# : Exclude option in data pump on Window.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6923555811507767608</id><published>2007-08-05T23:01:00.000-04:00</published><updated>2007-08-05T23:36:13.819-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Script'/><category scheme='http://www.blogger.com/atom/ns#' term='Tablespace map'/><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Tablespace'/><title type='text'>TIP 52# : Tablespace map</title><summary type='text'>Sometime for solving tablespace fragmentation issue, it is better off to have a better picture of tablespace allocated and free area.In this post, I wrote a PL/SQL script which shows mapping of free space and used space in tablespace.This script helped me out to resolve tablespace fragmentation issue for a client.Analyzing the result of script would end up to detecting offending objects and </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6923555811507767608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6923555811507767608' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6923555811507767608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6923555811507767608'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/08/tip-52-tablespace-map.html' title='TIP 52# : Tablespace map'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-878453335574510836</id><published>2007-07-25T16:56:00.000-04:00</published><updated>2007-08-01T23:16:10.244-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='optimizer'/><category scheme='http://www.blogger.com/atom/ns#' term='Upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP 51# : Performance issue after upgrade to 10g.</title><summary type='text'>_uacct = "UA-2338271-1";urchinTracker();I faced with a performance issue for a client right after upgrade from 9i to 10g.We all know that optimizer in 10g is different animal which is supposed to work better and more inteligent.This is almost true but not always.Some queries after upgrade from 9i to 10g may have performance issue which means they may run slower in 10g.For figuring out whether or </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/878453335574510836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=878453335574510836' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/878453335574510836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/878453335574510836'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/07/tip-51-performance-issue-after-upgrade.html' title='TIP 51# : Performance issue after upgrade to 10g.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6064452745264879064</id><published>2007-07-12T22:05:00.000-04:00</published><updated>2007-07-12T22:12:53.889-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><category scheme='http://www.blogger.com/atom/ns#' term='Opatch'/><title type='text'>TIP #50: Opatch failed after uncompleted/interrupted patch</title><summary type='text'>I faced with a problem today during my AS 10g upgrade which involves applying different patches sequentially.Opatch failed with the following message :Problems with the lock fileLock file exists, details are: Interim Patch  is holding the lock from xxxxxxx, probably due to previous unsuccessful operationERROR: OPatch failed during pre-reqs checkOpatch creates  patch_locked in $ORACLE_HOME/.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6064452745264879064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6064452745264879064' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6064452745264879064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6064452745264879064'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/07/tip-50-opatch-failed-after.html' title='TIP #50: Opatch failed after uncompleted/interrupted patch'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6359247910027076255</id><published>2007-06-16T20:47:00.000-04:00</published><updated>2007-06-16T21:09:16.329-04:00</updated><title type='text'>TIP # 49 : Recover database before resetlogs.</title><summary type='text'>I had a client which 5 instances on the same box were crashed because of disk failure.They did recover databases more than once and each time they found out that DBs were not recovered to right time.They called me and asked me to recover database to June 7th which was the time that all DBs were opened with RESETLOGS.As I checked, I found that DBs were opened with resetlogs 4 times. June 3rd  June</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6359247910027076255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6359247910027076255' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6359247910027076255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6359247910027076255'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/06/tip-49-recover-database-before.html' title='TIP # 49 : Recover database before resetlogs.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-881933439645474355</id><published>2007-06-16T20:35:00.000-04:00</published><updated>2007-06-16T20:44:33.332-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='10046'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP # 48 : Reading 10046 trace.</title><summary type='text'>As I mentioned in TIP #38 post, there are ways to reading and formatting 10046 trace files.However, in some situation DBAs may choose to read details in trace file by themselves.Besides this may be more true if translator software has some bugs.The followings is a guideline about the meaning of different section in 10046 trace file.-----------------------------------------------------------------</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/881933439645474355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=881933439645474355' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/881933439645474355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/881933439645474355'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/06/tip-48-reading-10046-trace.html' title='TIP # 48 : Reading 10046 trace.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3924230173933011296</id><published>2007-06-16T18:37:00.000-04:00</published><updated>2007-06-16T20:46:52.567-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='privilege'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='Public'/><title type='text'>TIP # 47 :Consideration in granting SELECT to public</title><summary type='text'>I posted this log because of the situation that I faced with for a client last week.I created a user in 10g database (10gR2) and granted only connect privilege.I was suprised when I Logged in with a new user and checked out all tables which are accessible by user (select * from user_tables) . Users had privileges to select from some tables in other schema while user had only connect </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3924230173933011296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3924230173933011296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3924230173933011296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3924230173933011296'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/06/consideration-in-granting-select-to.html' title='TIP # 47 :Consideration in granting SELECT to public'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2950508088851747000</id><published>2007-05-09T23:13:00.000-04:00</published><updated>2007-05-09T23:27:00.017-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flash recovery area'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>TIP #46 : Using 'Plus archivelog' in backup</title><summary type='text'>I had a client which using Oracle 10gR3 on Windows.Its backup strategy was simple. Daily incremental level 1 backup and weekly level 0 backup.Database was configured to use flash recovery area for archivelogs and backups.I regularly get flash recovery full problem with retention policy 2 weeks.Suprisingly database is only 1GB.Bacjup script was as simple as 'backup database ...... plus archivelog </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2950508088851747000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2950508088851747000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2950508088851747000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2950508088851747000'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/05/tip-46-using-plus-archivelog-in-backup.html' title='TIP #46 : Using &apos;Plus archivelog&apos; in backup'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2612521956118708821</id><published>2007-04-29T22:01:00.000-04:00</published><updated>2007-09-15T16:06:13.241-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #45 : Performance tuning PL/SQL with profiler.</title><summary type='text'>Oracle provides dbms_profiler for tracing PL/SQL code and finding any performace bottlenecks.This post shows how to use it.For using dbms_profiler, first it should be installed.Install dbms_profile and populate tables.   - @?/rdbms/admin/profload.sql       (Install dbms_profiler)   - @?/rdbms/admin/proftab.sql  (Populate profiler tables).How to trace :   - exec dbms_profiler.start_profiler('</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2612521956118708821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2612521956118708821' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2612521956118708821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2612521956118708821'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-45-performance-tuning-plsql-with.html' title='TIP #45 : Performance tuning PL/SQL with profiler.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4657469705584664195</id><published>2007-04-29T21:49:00.000-04:00</published><updated>2007-08-23T12:47:08.198-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP # 44 : Performance tips for PL/SQL code.</title><summary type='text'>Small handy guidelines for improving performance of PL/SQL code.In condition put least expensive condition first. (It stops when evalutes it)Minimize implicit conversion. Try not to use mix of datatype . (using number and pls_integer)Use pls_integer when you can. (Best performance)Use binary_float or binary_double for floatingpointMostly allocate varchar2 of size &gt;4000, because Oracle waits for </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4657469705584664195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4657469705584664195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4657469705584664195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4657469705584664195'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-44-performance-tips-for-plsql-code.html' title='TIP # 44 : Performance tips for PL/SQL code.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4295761559683819486</id><published>2007-04-15T20:15:00.000-04:00</published><updated>2007-09-11T22:27:46.030-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Parallel'/><category scheme='http://www.blogger.com/atom/ns#' term='DOP'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #43: Effective DOP.</title><summary type='text'>Many of us use parallel query to get results ASAP.However the big question is if query runs with determined DOP (Degree Of Parallelism) or Oracle downgrades it to lower DOP because of low in resources.Doug Burns has a fully analysis in his blog. (http://oracledoug.com/serendipity/index.php?/archives/1231-How-can-I-tell-the-actual-DOP-used-for-my-Parallel-Query.html).From reading Doug `s blog and </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4295761559683819486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4295761559683819486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4295761559683819486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4295761559683819486'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-43-effective-dop.html' title='TIP #43: Effective DOP.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4812520931807379968</id><published>2007-04-15T12:03:00.000-04:00</published><updated>2007-04-15T12:56:26.631-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hang'/><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Memory'/><category scheme='http://www.blogger.com/atom/ns#' term='library cache'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #42: Package compilation takes long time</title><summary type='text'>Last week, I had a request from a client which compilation session was running for hours.It was supposed to be completed in less than a minute. Session was trying to compile a package.When I checking the compilation session, It was waiting for 'Library cache lock ' and 'Library cache pin'.Reason : This package was security major package which is used by most sessions.The compiliation did hang </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4812520931807379968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4812520931807379968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4812520931807379968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4812520931807379968'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-42-package-compilation-took-long.html' title='TIP #42: Package compilation takes long time'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1694977075276162789</id><published>2007-04-15T11:39:00.000-04:00</published><updated>2007-04-15T12:01:04.015-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>TIP #41: Estimate backup size (2)</title><summary type='text'>I posted a blog on March 3rd, 2007 about estimation of RMAN backup size (TIP #25) .One of my collegue suggested me to run test for 10gR2.I ran the following steps in 10.2.0.2 on AIX5 64bit. It seems that RMAN behavior in 10.2.0.2 is closer to reality however it is not 100% precise to database size . To sum up I would say that Before 10.2.0.2 , backup size can not be the same size as dba_segments </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1694977075276162789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1694977075276162789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1694977075276162789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1694977075276162789'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-41-estimate-backup-size-2.html' title='TIP #41: Estimate backup size (2)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7146431857445583500</id><published>2007-04-08T21:23:00.000-04:00</published><updated>2007-04-08T22:07:59.170-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Create table as select'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #40 : Different options for creating table from select</title><summary type='text'>I faced with a request from a client who asked me to create table from some base tables in warehouse database.Base tables are big tables with more 1000 milion records.My goal was to create table as quickest as possible.Here are different optins for create table as select statementSimple create as select (CTS) with no optionCTS with nologging optionCTS with unrecoverable optionCTS with parallel </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7146431857445583500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7146431857445583500' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7146431857445583500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7146431857445583500'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-40-different-options-for-creating.html' title='TIP #40 : Different options for creating table from select'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7758262434532945078</id><published>2007-04-01T00:16:00.000-04:00</published><updated>2007-04-01T00:29:57.051-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='10gAS'/><category scheme='http://www.blogger.com/atom/ns#' term='AS10g'/><category scheme='http://www.blogger.com/atom/ns#' term='basic'/><category scheme='http://www.blogger.com/atom/ns#' term='SSO'/><category scheme='http://www.blogger.com/atom/ns#' term='AS'/><title type='text'>TIP #39: SSO in Oracle application server</title><summary type='text'>SSO (Single Sign On) server in Oracle AS provides a service for one time login.SSO Component :OC4J_SecurityHTTP serverOptions for Bouncing  SSOBounce SSO component onlyBounce SSO and OIDFlow of SSOUser first time tries to access applicationThere is no login cookie, therefore it is redirected to SSO serverSSO Returns username/password page to user.SSO Verified username/password with OIDIf password</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7758262434532945078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7758262434532945078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7758262434532945078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7758262434532945078'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/04/tip-39-sso-in-oracle-application-server.html' title='TIP #39: SSO in Oracle application server'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5553297630946979061</id><published>2007-03-25T17:38:00.000-04:00</published><updated>2007-03-26T22:30:48.734-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='10046'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #38 : Tracing session with 10046 event</title><summary type='text'>Using event 10046 is a common way to gather extended information about sessions which mostly is useful got performance analysis.Here are different tips on how to enable it and how to read its output.Enabling trace for session.alter session set timed_statistics = true; alter session set statistics_level=all; alter session set max_dump_file_size = unlimited; alter session set events '10046 trace </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5553297630946979061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5553297630946979061' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5553297630946979061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5553297630946979061'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-38-tracing-session-with-10046-event.html' title='TIP #38 : Tracing session with 10046 event'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4297337123863893214</id><published>2007-03-21T23:24:00.000-04:00</published><updated>2007-03-21T23:30:43.047-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>TIP #37: Update massive number of records.</title><summary type='text'>In order to update large number of records in table, it is better off to follow below steps.create table new_table as select from old_table?index new_tablegrant on new tableconstraints on new tabledrop old_tablerename new_table to old_table.During table creation, nologging and parallel query can be used. This way also generate less redo and no undo.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4297337123863893214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4297337123863893214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4297337123863893214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4297337123863893214'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-37-update-massive-number-of-records.html' title='TIP #37: Update massive number of records.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-214526508538862044</id><published>2007-03-18T23:19:00.000-04:00</published><updated>2007-03-18T23:23:25.610-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comparison'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>TIP #36: Why Oracle from Tom `s point of view.</title><summary type='text'>From ASK TOM site , I found a cool document which TOM answered why Oracle and why not other DBs. Reading of that is full of fun.http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:1886476148373</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/214526508538862044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=214526508538862044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/214526508538862044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/214526508538862044'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-36-why-oracle-from-tom-s-point-of.html' title='TIP #36: Why Oracle from Tom `s point of view.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8650268185353653201</id><published>2007-03-18T22:54:00.000-04:00</published><updated>2007-03-18T23:05:40.644-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Editions'/><title type='text'>TIP #35 : 10g editions.</title><summary type='text'>Oracle release four edition for 10g.Express Edition               Standard Edition OneStandard EditionEnterprise Edition  Express Edition :Entry level database based on OracleFree to develop, deploy and distribute1 CPU limitStandard Edition One :Full featured database which suits for small-to-medium business2 CPU limit.Reasonable price. 149$/user with 5 users minimum.Standard EditionFull featured</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8650268185353653201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8650268185353653201' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8650268185353653201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8650268185353653201'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-35-10g-editions.html' title='TIP #35 : 10g editions.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8761238806752046175</id><published>2007-03-18T22:38:00.000-04:00</published><updated>2007-03-18T22:41:08.202-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Price'/><title type='text'>TIP #34 : Oracle price.</title><summary type='text'>For having better understanding of Oracle prices, Please refoer to the following URL.http://www.oracle.com/corporate/pricing/index.html</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8761238806752046175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8761238806752046175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8761238806752046175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8761238806752046175'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-34-oracle-price.html' title='TIP #34 : Oracle price.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7691029106442273778</id><published>2007-03-14T16:53:00.000-04:00</published><updated>2007-03-14T17:00:19.954-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP #33 : Find out patches which were applied on Oracle/Database</title><summary type='text'>Find out latest patch which was applied to Oracle home  : opatch lsinventory (Valid for &gt;=9i)Find out latest patch which was applied to Database          : select * from registry$history;</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7691029106442273778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7691029106442273778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7691029106442273778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7691029106442273778'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-33-find-out-patches-which-were.html' title='TIP #33 : Find out patches which were applied on Oracle/Database'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8658688586059832005</id><published>2007-03-14T00:27:00.000-04:00</published><updated>2007-03-14T00:29:25.462-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><title type='text'>TIP #32 : Oracle trace events</title><summary type='text'>Full list of different Oracle trace evnts and their brief functionality can be found in :https://netfiles.uiuc.edu/jstrode/www/oraparm/events.html</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8658688586059832005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8658688586059832005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8658688586059832005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8658688586059832005'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-32-oracle-trace-events.html' title='TIP #32 : Oracle trace events'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1665489426536704726</id><published>2007-03-13T23:05:00.000-04:00</published><updated>2007-03-13T23:22:26.421-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Job'/><title type='text'>TIP #31: Jobs in dba_jobs are not running as per schedule</title><summary type='text'>Today, I faced with strange situation for a client. I submitted a job in dba_jobs with a minute interval. This job was running simple stored procedure.Job was not run every minute while manual run (with dbms_job.run) was successful.Job_queue_process was 10 and _job_queue_inteval was 5 which means scheduler checks  job for execution every 5 seconds.Eventually found that background process cjq0 was</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1665489426536704726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1665489426536704726' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1665489426536704726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1665489426536704726'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-31-jobs-in-dbajobs-are-not-running.html' title='TIP #31: Jobs in dba_jobs are not running as per schedule'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4281124383290872474</id><published>2007-03-11T23:33:00.000-04:00</published><updated>2007-03-11T23:38:28.773-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application server'/><category scheme='http://www.blogger.com/atom/ns#' term='AS10g'/><category scheme='http://www.blogger.com/atom/ns#' term='AS'/><title type='text'>TIP #30 : Find out Application server tier from metarepository database.</title><summary type='text'>To find out InfraAS home and MidAS home relevant to metarepository database, please run the followings :select * from dcm.tm_instances;Above queries show hostname,hostaddress of infraAS and midAS.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4281124383290872474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4281124383290872474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4281124383290872474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4281124383290872474'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-30-find-out-application-server-tier.html' title='TIP #30 : Find out Application server tier from metarepository database.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4619906193024980384</id><published>2007-03-11T23:03:00.000-04:00</published><updated>2007-03-11T23:10:22.736-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><title type='text'>TIP #29 : RMAN and Resetlogs in 10g.</title><summary type='text'>After each incomplete recovery, database should be opened with resetlogs.In 9i and below, if database is need to be restored to time prior to resetlogs, different incarnation should be restored.In addition, since new log thread starts with number 1 after resetlogs, all previous backups become obsolete.In 10g, this is not an issue anymore. RMAN can use any backup before or after resetlogs to </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4619906193024980384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4619906193024980384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4619906193024980384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4619906193024980384'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-29-rman-and-resetlogs-in-10g.html' title='TIP #29 : RMAN and Resetlogs in 10g.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5540159131883466223</id><published>2007-03-11T22:53:00.000-04:00</published><updated>2007-03-11T23:02:43.089-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><title type='text'>TIP #28 : RMAN 10g and incremental backup.</title><summary type='text'>Why incremental backup ?The most important reason for doing incremental backups is associated with data warehouse environments, where many operations are done in NOLOGGING mode and data changes do not go to the archived log files.Considering the massive size of data warehouses today, and the fact that most of the data in them does not change, full backups are neither desirable nor practical. </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5540159131883466223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5540159131883466223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5540159131883466223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5540159131883466223'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-28-rman-10g-and-incremental-backup.html' title='TIP #28 : RMAN 10g and incremental backup.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6004589408082658231</id><published>2007-03-11T22:45:00.000-04:00</published><updated>2007-03-11T22:51:40.540-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><title type='text'>TIP #27 : Required RMAN backups for restore.</title><summary type='text'>In 10g, before doing recovery, it is possible to find out backups required to perform a restore operation.This feature is called recovery preview and can be done by adding preview at the end of restore command.restore database preview;It can also be run for specific restore operation.restore tablespace users preview;</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6004589408082658231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6004589408082658231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6004589408082658231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6004589408082658231'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-27-required-rman-backups-for.html' title='TIP #27 : Required RMAN backups for restore.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-2356640292025084290</id><published>2007-03-09T10:22:00.000-05:00</published><updated>2007-03-09T10:32:10.429-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Undo'/><title type='text'>TIP #26 : UNDO tablespace recovery.</title><summary type='text'>Here is handy steps for any UNDO tablespace issue.Some example are :     undo tablespace was dropped      undo was not recreated     undo was recreated without specifying 'undo' keyword.To resolve the issue, Follow the following steps :set undo_management to MANUALstartup pfiledrop undo tablespace (If it was created wrongly without undo keyword)create undo tablespace undotbs datafile '??????' </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/2356640292025084290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=2356640292025084290' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2356640292025084290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/2356640292025084290'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-26-undo-tablespace-recovery.html' title='TIP #26 : UNDO tablespace recovery.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-474248665983879494</id><published>2007-03-03T21:19:00.000-05:00</published><updated>2007-03-03T21:38:29.277-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>TIP #25: Estimate backup size (1)</title><summary type='text'>Before taking a backup, it would be idea to estimate backup size.With Estimation of backup size, we can make sure that there is enough disk space for backup.Regarding to my investigation, there is no official way to find backup size before taking backup.However, Oracle comments is : "RMAN does not take backup from NEVER USED blocks" .Never used blocks are blocks which have not ever been </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/474248665983879494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=474248665983879494' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/474248665983879494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/474248665983879494'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/03/tip-25-estimate-backup-size-1.html' title='TIP #25: Estimate backup size (1)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-403910215388942893</id><published>2007-02-01T23:26:00.000-05:00</published><updated>2007-02-01T23:35:24.230-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><title type='text'>TIP #24 : RESUMABLE_TIMEOUT in 10g</title><summary type='text'>RESUMABLE_TIMEOUT is new parameter in 10g which allows DBAs to enable/disable resumable statements and specify resumable timeout at the system level. In 9i this parameter could only be set on session level.Sometimes DBAs does not know how much space is required for UNDO,TEMP or datafile to complete a big job.By setting this parameter, any space issue does not break the job.It reports an error in </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/403910215388942893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=403910215388942893' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/403910215388942893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/403910215388942893'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/02/tip-24-resumabletimeout-in-10g.html' title='TIP #24 : RESUMABLE_TIMEOUT in 10g'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4063512589403171601</id><published>2007-01-31T21:39:00.000-05:00</published><updated>2007-01-31T21:48:54.468-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>TIP #23 : How to find which Oracle inventory is for which Oracle home.</title><summary type='text'>Using correct inventory when you try to apply a patch or installing new software is vital.In order to find which existing Oracle inventory is for which Oracle home , follow the following steps :   - Find orainst.loc (it is in /etc or in /opt/var/oracle) . This file determines inventory location.   - Find inventory.xml file in {inventory_location}/ContentsXML.This file list all Oracle homes which </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4063512589403171601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4063512589403171601' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4063512589403171601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4063512589403171601'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-23-how-to-find-which-oracle.html' title='TIP #23 : How to find which Oracle inventory is for which Oracle home.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8430870070689589790</id><published>2007-01-31T11:56:00.000-05:00</published><updated>2007-01-31T12:26:32.847-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #22 : Statistics gathering in Oracle 10g.</title><summary type='text'>In 10g there is Auto stats gathering job which is called GATHER_STATS_JOB.This job is scheduled in dba_scheduler_jobs and is in the charge of gathering statistics automatically.For having updated statistics, the following conditions should be met.    1. GATHER_STATS_JOB should be enabled.    2. statistics_level should be TYPICAL or ALL. Monitoring/Nomonitoring is deprecated in 10g and as long as </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8430870070689589790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8430870070689589790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8430870070689589790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8430870070689589790'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-22-statistics-gathering-in-oracle.html' title='TIP #22 : Statistics gathering in Oracle 10g.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7927557522367831207</id><published>2007-01-23T22:39:00.001-05:00</published><updated>2010-05-29T20:36:52.448-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #21: Shrink datafiles</title><summary type='text'>Oracle Datafiles can be shrinked if chunk of free space exists at the end of datafiles.This URL has some useful query for shrinking :http://www.oracle.com/technology/oramag/oracle/04-sep/o54asktom.html--- to shrink datafiles:select bytes/1024/1024 real_size,ceil( (nvl(hwm,1)*&amp;DB_BLOCK_SIZE)/1024/1024 ) shrinked_size,bytes/1024/1024-ceil( (nvl(hwm,1)*&amp;DB_BLOCK_SIZE)/1024/1024 ) released_size,'</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7927557522367831207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7927557522367831207' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7927557522367831207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7927557522367831207'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-21-shrink-datafiles.html' title='TIP #21: Shrink datafiles'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-8198120868586707442</id><published>2007-01-22T21:42:00.000-05:00</published><updated>2007-01-22T21:46:10.584-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='ASM'/><title type='text'>TIP #20: Using asmcmd</title><summary type='text'>ASMCMD is command line tool provided by Oracle for managing ASM.This tool is handy.Please be aware that this tool does not work unless ORACLE_SID points to ASM instance.Therefore make sure to set ORACLE_SID (which would be ASM instance name) before using this tool.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/8198120868586707442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=8198120868586707442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8198120868586707442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/8198120868586707442'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-20-using-asmcmd.html' title='TIP #20: Using asmcmd'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5717257853592234552</id><published>2007-01-14T11:34:00.000-05:00</published><updated>2007-01-14T11:46:34.126-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Stream'/><title type='text'>TIP #19: handy queries for Stream administration (Apply process)</title><summary type='text'>Handy queries for apply administration of stream.--- Info about apply processselect * from dba_apply;SELECT APPLY_NAME,QUEUE_NAME,RULE_SET_NAME,DECODE(APPLY_CAPTURED,'YES', 'Captured','NO', 'User-Enqueued') APPLY_CAPTURED,STATUSFROM DBA_APPLY;--- Find out apply process statusselect apply_name,status from dba_apply;exec dbms_apply_adm.start_apply(apply_name=&gt;'&amp;apply_name');exec </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5717257853592234552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5717257853592234552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5717257853592234552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5717257853592234552'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-19-handy-queries-for-stream.html' title='TIP #19: handy queries for Stream administration (Apply process)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-5693843397720957447</id><published>2007-01-14T11:10:00.000-05:00</published><updated>2007-01-14T11:34:13.719-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Stream'/><title type='text'>TIP #18: handy queries for Stream administration (Propagation process)</title><summary type='text'>Basically in propagation, two views are important : DBA_QUEUE_SCHEDULES andDBA_PROPAGATION.The followings are handy statements for propagation administration of stream--- Disable propagationbegin dbms_aqadm.disable_propagation_schedule('STRMADMIN.STREAMS_QUEUE', 'OEMREP.US.ORACLE.COM');end;/--- Enable propagationbegin dbms_aqadm.enable_propagation_schedule('&amp;source_queue_name_with_owner', '&amp;</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/5693843397720957447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=5693843397720957447' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5693843397720957447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/5693843397720957447'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-18-handy-queries-for-stream.html' title='TIP #18: handy queries for Stream administration (Propagation process)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-7864261596083008707</id><published>2007-01-14T10:29:00.000-05:00</published><updated>2007-01-14T11:01:53.783-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='Stream'/><title type='text'>TIP #17 : Handy queries for Stream administration (Capture process)</title><summary type='text'>I found the following sql statements handy for capture administration in Stream :-- If these views have no information, it might be because of capture process status .-- Check capture status select * from dba_capture;exec dbms_capture_adm.stop_capturecapture_name=&gt;'&amp;CAPTURE_NAME');exec dbms_capture_adm.start_capturecapture_name=&gt;'&amp;CAPTURE_NAME');-- To check captured SCN and applied SCN-- Applied </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/7864261596083008707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=7864261596083008707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7864261596083008707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/7864261596083008707'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-17-handy-queries-for-stream.html' title='TIP #17 : Handy queries for Stream administration (Capture process)'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-4140487382832302835</id><published>2007-01-04T21:54:00.000-05:00</published><updated>2007-01-04T22:03:31.204-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #16 : Oracle is 32bit or 64bit</title><summary type='text'>Determining whether installed oracle is 32bit or 64bit is easy task.However, it is more difficult if Oracle_home has not any database.In this case for determining oracle bit number, try one of the following options :1. Use file commandcd $ORACLE_HOME/binfile oracleif it does not show anything, Oracle is 32-bit. If it is 64bit, it shows 64bit tag2. svrmgrl cd $ORACLE_HOME/binsvrmgrlIf it is 64bit,</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/4140487382832302835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=4140487382832302835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4140487382832302835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/4140487382832302835'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-16-oracle-is-32bit-or-64bit.html' title='TIP #16 : Oracle is 32bit or 64bit'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-1813439998767359687</id><published>2007-01-04T21:43:00.000-05:00</published><updated>2007-01-04T21:54:14.743-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #15: CPU patch for 32-bit Oracle home on 64-bit platform</title><summary type='text'>As you know, you can install 32-bit Oracle  on 64-bit platform.So far so good.The main question is that how to apply CPU patch for this specific combination.Regarding to metalink patch link, you only require to choose OS platform. (for example :HP-UX 64bit or HP-UX 32bit).However, I figured out that Oracle32-bit can not be patched up on 64-bit OS if CPU patch is for 64-bit platform. As practical </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/1813439998767359687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=1813439998767359687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1813439998767359687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/1813439998767359687'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2007/01/tip-15-cpu-patch-for-32-bit-oracle-home.html' title='TIP #15: CPU patch for 32-bit Oracle home on 64-bit platform'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-3657122705441594425</id><published>2006-12-30T19:43:00.000-05:00</published><updated>2006-12-30T19:51:38.975-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>TIP #14: Difference between full backup and level 0 incremental backup</title><summary type='text'>I asked many times what the difference between full backup and level 0 incremental backup is.Whether or not they are the same and ...Incremental level 0 backup which is the base for subsequent incremental backup copies all blocks containing data same as full backup. (Same functionality)The only difference between these two backups is that a full backup never considered as base backup in </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/3657122705441594425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=3657122705441594425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3657122705441594425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/3657122705441594425'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-14-difference-between-full-backup.html' title='TIP #14: Difference between full backup and level 0 incremental backup'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-6743521216597598344</id><published>2006-12-23T19:59:00.000-05:00</published><updated>2006-12-24T23:21:12.628-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>TIP #13: Ideal RMAN format for backup</title><summary type='text'>Naming RMAN backup is vital.Proper backup name gives you better idea of which backup may be used during recovery.My ideal RMAN backup format is : backup_%d_set%s_piece%p_%T_%U for backupsets when duplexing is not used. For duplexing backup it would be backup_%d_set%s_piece%p_copy%c_%T_%U The following is brief description of these tags :%d : name of database%s :backup set number. (Unique for </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/6743521216597598344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=6743521216597598344' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6743521216597598344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/6743521216597598344'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-13-idea-rman-format-for-backup.html' title='TIP #13: Ideal RMAN format for backup'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116640596365725914</id><published>2006-12-17T20:29:00.000-05:00</published><updated>2006-12-23T19:59:21.694-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><title type='text'>TIP #12: Can not use TNS to login to database.</title><summary type='text'>When I tried to connect to database via TNS, I got the following error :ERROR - DBPrereq DBConection errorORA-01034: ORACLE not availableORA-27101: shared memory realm does not existIBM AIX RISC System/6000 Error: 2: No such file or directoryHowever, database was available and was accessible from sqlplus in the box without using tnsnames.TNS entry in tnsnames.ora was pinggable (tnsping for this </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116640596365725914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116640596365725914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116640596365725914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116640596365725914'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-12-can-not-luse-tns-to-ogin-to.html' title='TIP #12: Can not use TNS to login to database.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116555691488373552</id><published>2006-12-08T00:45:00.000-05:00</published><updated>2006-12-08T00:48:34.890-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #11: Export failed, generate ORA-07745 error</title><summary type='text'>Export of any schema failed on 10.1.0.4.2.It does not matter whether using exp or data pump.It also creates ORA-07745 error in Alert log.Export log reports the followings:  EXP-00056: ORACLE error 24324 encountered  ORA-24324: service handle not initialized  EXP-00056: ORACLE error 24324 encountered  ORA-24324: service handle not initialized  EXP-00000: Export terminated unsuccessfullyThe root of</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116555691488373552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116555691488373552' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116555691488373552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116555691488373552'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-11-export-failed-generate-ora.html' title='TIP #11: Export failed, generate ORA-07745 error'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116528837795434422</id><published>2006-12-04T21:59:00.000-05:00</published><updated>2006-12-04T22:12:57.976-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #10: How to find password of existing database link</title><summary type='text'>I faced with a odd situation.I `d like to copy some databases link from source DBs to target DBs. In order to create database link in target database, I decided to run "create database link" sql statement.However, for creating database link in target database, I need to know username and password which is currently used by the existing database link in source database. sys.link$  has unencrypted </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116528837795434422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116528837795434422' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116528837795434422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116528837795434422'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-10-how-to-find-password-of.html' title='TIP #10: How to find password of existing database link'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116520247991089216</id><published>2006-12-03T22:08:00.000-05:00</published><updated>2006-12-03T22:21:19.943-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #9 : Track many open cursors.</title><summary type='text'>If cursor in PL/SQL code get open but never get close, Oracle may report too many open cursors error in Alert log. I found the following code handy to track the cause of problem.select          SADDR,        SID, USER_NAME, ADDRESS, HASH_VALUE, SQL_ID, SQL_TEXTfrom       v$open_cursorwhere       sid in(SELECT sid FROM V$OPEN_CURSOR group by sid having count(*)&gt;&amp;threshold);</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116520247991089216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116520247991089216' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116520247991089216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116520247991089216'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/12/tip-9-track-many-open-cursors.html' title='TIP #9 : Track many open cursors.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116474839094473059</id><published>2006-11-28T16:06:00.000-05:00</published><updated>2006-11-28T16:13:10.953-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #8 : Index for null columns</title><summary type='text'>Index does not store NULL value, consequently if you have null condition in SQL statement, related index is ignored by default.create index scott.empidx_sal on scott.emp(sal)select ename from scott.emp where sal is null;  ---&gt; Execution plan is : Full table scan.Workaround :      - Create function-based index on nvl(sal,-1) and changed the query to select ename from scott.emp where  nvl(sal,-1)=-</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116474839094473059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116474839094473059' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116474839094473059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116474839094473059'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-8-index-for-null-columns.html' title='TIP #8 : Index for null columns'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116469152373298940</id><published>2006-11-28T00:24:00.000-05:00</published><updated>2006-11-28T00:26:44.950-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><title type='text'>TIP #7 : Listener crash in Windows box.</title><summary type='text'>I faced to a problem yesterday.Oracle listener crashed each time a connection was made.OS was WINXP SP2.Event log showed the following error in SYSTEM log and APPS log.Faulting application TNSLSNR.EXE, version 0.0.0.0, faulting module orantcp9.dll, version 0.0.0.0, fault address 0x00005732The following items are proposed by metalink to resolve the issue :The following items are proposed by </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116469152373298940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116469152373298940' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116469152373298940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116469152373298940'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-7-listener-crash-in-windows-box.html' title='TIP #7 : Listener crash in Windows box.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116466483158897894</id><published>2006-11-27T16:52:00.000-05:00</published><updated>2006-11-27T17:03:26.580-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #6: Stop jobs in 10g</title><summary type='text'>Before 10g, if you want to stop all jobs, you can simply set JOB_QUEUE_PROCESSES  to zero.In 10g, Oracle intrduced scheduler_job with many advanced features.In this post I do not want to deal with different features of scheduler_jobs.In 10g, it is possible to schedule job either in dba_jobs or dba_scheduler_jobs.Setting JOB_QUEUE_PROCESSES to zero stops only jobs in dba_jobs which means that jobs</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116466483158897894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116466483158897894' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116466483158897894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116466483158897894'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-6-stop-jobs-in-10g.html' title='TIP #6: Stop jobs in 10g'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116373313605427982</id><published>2006-11-16T22:03:00.000-05:00</published><updated>2006-11-16T22:12:16.060-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Migration'/><title type='text'>TIP #5 : Oracle account locked after 10g migration</title><summary type='text'>I migrated 9i DBs to 10g.After migration, clients complained that some of their accounts were locked.In 10g, FAILED_LOGIN_ATTEMPTS in default profile was changed from UNLIMITED to 10.This is the cause of problem.I suggest to create new profile before migration and set all users with default profile to the new profile.New default profile can be something like this :CREATE PROFILE NEW_DEFAULT LIMIT</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116373313605427982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116373313605427982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116373313605427982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116373313605427982'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-5-oracle-account-locked-after-10g.html' title='TIP #5 : Oracle account locked after 10g migration'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116365270315580234</id><published>2006-11-15T23:24:00.000-05:00</published><updated>2006-12-03T22:07:38.686-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>TIP #4 : RMAN Recovery window</title><summary type='text'>I `d like to clarify misunderstanding of RMAN recovery window.There is incorrect thought :Setting RMAN recovery window to 14 days ==&gt; any backup older than 14 days become obsolete.  Incorrect Regarding to Oracle document, A recovery window is a period of time that begins with the current time and extends backward in time to the point of recoverability. In other words, Recovery window determines </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116365270315580234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116365270315580234' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116365270315580234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116365270315580234'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-4-rman-recovery-window.html' title='TIP #4 : RMAN Recovery window'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116322183983868357</id><published>2006-11-11T00:01:00.000-05:00</published><updated>2006-11-11T00:10:39.846-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #3 : _PGA_MAX_SIZE hidden parameter.</title><summary type='text'> _pga_max_size  is hidden parameter which can have key role in proper PGA usage.For serial operation, the size of PGA for each work area is limited to max 100MB when pga_aggregate_target&gt;=2GB._pga_max_size controls max PGA which can be used by every workarea.Oracle Default setting can be changed by assigning higher value to this hidden parameter. In addition, It would solve high temporary </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116322183983868357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116322183983868357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116322183983868357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116322183983868357'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-3-pgamaxsize-hidden-parameter.html' title='TIP #3 : _PGA_MAX_SIZE hidden parameter.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116287451273683365</id><published>2006-11-06T23:15:00.000-05:00</published><updated>2006-11-08T21:49:24.876-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #2 : TEMP Tablespace can not extend.</title><summary type='text'>TEMP tablespace growth issue is known issue for DBAs.I know that each of us experienced this issue so many time. In this post, I `d like to outline this issue and explain options to fix.Basically, this error reports in Alert log with the following statement: ORA-01652: unable to extend temp segment by %s in tablespace %s). A "temp segment" is not necessarily a SORT segment in a temporary </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116287451273683365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116287451273683365' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116287451273683365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116287451273683365'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-2-temp-tablespace-can-not-extend.html' title='TIP #2 : TEMP Tablespace can not extend.'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116270033047075112</id><published>2006-11-04T22:52:00.000-05:00</published><updated>2006-11-11T00:11:26.956-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Administration'/><title type='text'>TIP #1: How to minimize rollback segments generation in bulk delete ?</title><summary type='text'>One of my client has monthly job which deletes many records. This job generates many rollback segments. The main idea of this post is to find out options to minimize rollback generation in bulk delete.There are 2 options : - Replace delete statement with truncate. Truncate deletes all records in table and does not generate any rollback segment. This solution may not be applicable in all cases. </summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116270033047075112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116270033047075112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116270033047075112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116270033047075112'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/tip-1-how-to-minimize-rollback.html' title='TIP #1: How to minimize rollback segments generation in bulk delete ?'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36986360.post-116244448128133014</id><published>2006-11-02T03:10:00.000-05:00</published><updated>2007-11-04T09:25:14.080-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>First post</title><summary type='text'>I created this new blog to address some Oracle DBA tips that I experienced.I hope that this blog will be a place to share ideas in Oracle DBA subject.I appreciate any technical post on this blog.I try my best to respond them.Currently, I am working as Oracle DBA in Canada.</summary><link rel='replies' type='application/atom+xml' href='http://oradbatips.blogspot.com/feeds/116244448128133014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36986360&amp;postID=116244448128133014' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116244448128133014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36986360/posts/default/116244448128133014'/><link rel='alternate' type='text/html' href='http://oradbatips.blogspot.com/2006/11/first-post.html' title='First post'/><author><name>Shervin</name><uri>http://www.blogger.com/profile/02970426988882798213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_zyP8QhXSoow/SwnlcFQAdZI/AAAAAAAAAEQ/SuTybNLfCMc/S220/25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_zyP8QhXSoow/Ry3V-AuBcgI/AAAAAAAAABE/GPIGIdXksLE/s72-c/DSC00292.JPG' height='72' width='72'/><thr:total>3</thr:total></entry></feed>
