<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A08MR3k5eCp7ImA9WhRaE0Q.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913</id><updated>2012-02-16T05:44:46.720-08:00</updated><category term="forum" /><title>Oracle Database DBA</title><subtitle type="html">Discuss your Oracle Database Queries and Issues here..</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.oracledatabaseissues.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>92</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/oracledatabaseissues/Sryy" /><feedburner:info uri="oracledatabaseissues/sryy" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkABRHszeSp7ImA9WhRUFkk.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-1357218029708139575</id><published>2012-01-26T23:17:00.000-08:00</published><updated>2012-01-26T23:19:15.581-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T23:19:15.581-08:00</app:edited><title>TNS-12557: TNS:protocol adapter not loadable</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lXc4zzfGqyg_s5Ziiu-or-gq9pk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lXc4zzfGqyg_s5Ziiu-or-gq9pk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lXc4zzfGqyg_s5Ziiu-or-gq9pk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lXc4zzfGqyg_s5Ziiu-or-gq9pk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;TNS-12557: TNS:protocol adapter not loadable&lt;/b&gt;&lt;br /&gt;
Might occur on a Windows machine that has two or more Oracle homes installed.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;Set the ORACLE_HOME environment variable using the OUI under Start &amp;gt; Programs &amp;gt; Oracle_home &amp;gt;  Oracle Installation Products &amp;gt; Universal Installer.&amp;nbsp; Use the OUI to  set the Environment properly on Windows.&lt;/div&gt;&lt;br /&gt;
* Refer metalink doc &lt;span style="font-family: helvetica;"&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;556895.1 for details.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-1357218029708139575?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/32OiE3vORlg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/1357218029708139575/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2012/01/tns-12557-tnsprotocol-adapter-not.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1357218029708139575?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1357218029708139575?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/32OiE3vORlg/tns-12557-tnsprotocol-adapter-not.html" title="TNS-12557: TNS:protocol adapter not loadable" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2012/01/tns-12557-tnsprotocol-adapter-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAARHs5eyp7ImA9WhdWFE0.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-296868447495317325</id><published>2011-09-07T07:42:00.000-07:00</published><updated>2011-09-07T07:45:45.523-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-07T07:45:45.523-07:00</app:edited><title>ORA-07445 [kkqvSearchLogOpn()]</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-2W_adqZ4WFwuwLyGSMHAhuHT5I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-2W_adqZ4WFwuwLyGSMHAhuHT5I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-2W_adqZ4WFwuwLyGSMHAhuHT5I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-2W_adqZ4WFwuwLyGSMHAhuHT5I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;ORA-07445: exception encountered: core dump [kkqvSearchLogOpn()+15]&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: helvetica;"&gt;Bug 9053676&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: helvetica;"&gt;Fixed in 11.2.0.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: helvetica;"&gt;&lt;b&gt;Workaround:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: helvetica;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; Disable cost based query transformation.&lt;br /&gt;
&amp;nbsp; eg: Set "_OPTIMIZER_COST_BASED_TRANSFORMATION" = OFF&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-296868447495317325?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/RsDT_sS0rP8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/296868447495317325/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/09/ora-07445-kkqvsearchlogopn.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/296868447495317325?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/296868447495317325?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/RsDT_sS0rP8/ora-07445-kkqvsearchlogopn.html" title="ORA-07445 [kkqvSearchLogOpn()]" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/09/ora-07445-kkqvsearchlogopn.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAMSXk4eyp7ImA9WhdWEEk.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-6494059626752637330</id><published>2011-09-03T04:18:00.001-07:00</published><updated>2011-09-03T04:19:48.733-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-03T04:19:48.733-07:00</app:edited><title>ORA-7445 [nstimexp]</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LnOqR2NO5w_nNjuihQZ6ueiV2KA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LnOqR2NO5w_nNjuihQZ6ueiV2KA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LnOqR2NO5w_nNjuihQZ6ueiV2KA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LnOqR2NO5w_nNjuihQZ6ueiV2KA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;ORA-07445: exception encountered: core dump [nstimexp()+36] [SIGSEGV]&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
This error function could occur if sqlnet.expire_time is set in sqlnet.ora.&lt;b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/b&gt;Bug 3934729&lt;br /&gt;
&lt;br /&gt;
Fixed in&amp;nbsp; 10.2.0.3, 11.2.0.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-6494059626752637330?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/f3Wsuz2cWZQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/6494059626752637330/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/09/ora-7445-nstimexp.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6494059626752637330?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6494059626752637330?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/f3Wsuz2cWZQ/ora-7445-nstimexp.html" title="ORA-7445 [nstimexp]" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/09/ora-7445-nstimexp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8BQHs6fCp7ImA9WhdXFkQ.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-7865394464918189094</id><published>2011-08-30T03:04:00.000-07:00</published><updated>2011-08-30T03:07:31.514-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-30T03:07:31.514-07:00</app:edited><title>ORA-12571: TNS:packet writer failure</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2M77DT3jqRkKmcj8CUMV3iTtd9I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2M77DT3jqRkKmcj8CUMV3iTtd9I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2M77DT3jqRkKmcj8CUMV3iTtd9I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2M77DT3jqRkKmcj8CUMV3iTtd9I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;This is one of the tricky errors which could have been caused because of various components.&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
In general this error occurs when there is an interruption on the Packet being communicated between client and server. The interruption can be caused by a a software or application (example spyware / anitivirus / download accelerators / compression softwares / local firewall settings on client machine / NIC settings etc)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-7865394464918189094?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/wHvrzMZeHZg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/7865394464918189094/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/08/ora-12571-tnspacket-writer-failure.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7865394464918189094?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7865394464918189094?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/wHvrzMZeHZg/ora-12571-tnspacket-writer-failure.html" title="ORA-12571: TNS:packet writer failure" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/08/ora-12571-tnspacket-writer-failure.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEERXY4cCp7ImA9WhZVFU8.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-6025398343019285215</id><published>2011-05-26T06:20:00.000-07:00</published><updated>2011-05-27T11:23:24.838-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-27T11:23:24.838-07:00</app:edited><title>Upgrading 10g RAC Clusterware to 11g RAC Clusterware</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DJIeF_9Ms3fXwa6028OTujaQlXM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DJIeF_9Ms3fXwa6028OTujaQlXM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DJIeF_9Ms3fXwa6028OTujaQlXM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DJIeF_9Ms3fXwa6028OTujaQlXM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;This article lists the steps to upgrade Oracle 10g RAC Clusterware to 11g RAC Clusterware. There are few new requirements in 11g like kernel parameters and SCAN IP which are discussed herewith.&lt;/b&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Existing&amp;nbsp;Environment:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Oracle 10g Two Node RAC Database using ASM&amp;nbsp;on Sun Solaris 10 Update 9.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Preliminary Settings:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Set the following kernel parameters in &lt;b&gt;/etc/system&lt;/b&gt; file on both nodes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set noexec_user_stack=1&lt;br /&gt;
set shmsys:shminfo_shmmax=8589934590&lt;br /&gt;
set shmsys:shminfo_shmmin=1&lt;br /&gt;
set shmsys:shminfo_shmmni=100&lt;br /&gt;
set semsys:seminfo_semmns=2000&lt;br /&gt;
set semsys:seminfo_semmsl=1000&lt;br /&gt;
set semsys:seminfo_semmni=100&lt;br /&gt;
set semsys:seminfo_semvmx=32767&lt;br /&gt;
set shmsys:shminfo_shmseg=10&lt;br /&gt;
set rlim_fd_cur=1024&lt;br /&gt;
set max_nprocs=30000&lt;br /&gt;
set maxuprc=16384&lt;br /&gt;
set default_stksize=32768&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;- Oracle 11g requires additional IPs for &lt;b&gt;SCAN&lt;/b&gt; configuration. Recommended is 3 IPs and minimum is 1. If using 3 IPs, you need to make entry in DNS for round robin name resolution. If using single IP, then hosts file resolution could be used, in which case, cluster verification utility during installation would show as failed, which could be ignored. To avoid this, you need to make a Host entry in DNS Server.&lt;/div&gt;&lt;br /&gt;
E.g. make an entry in &lt;b&gt;/etc/hosts&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#SCAN&lt;br /&gt;
10.192.154.234&amp;nbsp; SCAN-PROD &lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Palatino-Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
The IP address should be of same subnet like public IP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- Download the 11g Software from oracle website.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Unzip the software and run the Cluster Verification Utility.&lt;br /&gt;
&lt;br /&gt;
./runcluvfy.sh stage -pre crsinst -n&amp;nbsp; &amp;lt; &lt;em&gt;node1&lt;/em&gt; &amp;gt;&lt;node1&gt;, &amp;lt; &lt;em&gt;node2&lt;/em&gt; &amp;gt;&lt;node2&gt;&amp;nbsp;–verbose&lt;/node2&gt;&lt;/node1&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;As Oracle Clusterware was already running on these servers, most of the settings like user equivalence, patches etc would be already in place. In case of any errors, take appropriate action.&lt;/div&gt;&lt;br /&gt;
After Pre-checks are successful, we can further create the home directory for Grid software.&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
/project/11.2.0/grid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;- Shutdown the Database and ASM Instances. There is no need to stop the Clusterware.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- &lt;strong&gt;Unset the following environment variables:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
ORA_CRS_HOME&lt;br /&gt;
ORACLE_HOME&lt;br /&gt;
ORA_NLS10&lt;br /&gt;
TNS_ADMIN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- &lt;b&gt;Execute RunInstaller from Clusterware Software:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;On Screen Selections:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Step 1 of 8&lt;br /&gt;
&lt;br /&gt;
Select - Upgrade Grid Infrastructure&lt;br /&gt;
Click Yes on message ‘Existing ASM Instances detected’&lt;br /&gt;
&lt;br /&gt;
Step 2 of 8&lt;br /&gt;
&lt;br /&gt;
Click Next on Select Language screen&lt;br /&gt;
&lt;br /&gt;
Step 3 of 8&lt;br /&gt;
&lt;br /&gt;
Select existing Cluster Nodes.&lt;br /&gt;
Make sure check box ‘Update cluster ASM’ is checked&lt;br /&gt;
&lt;br /&gt;
Step 4 of 8&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SCAN Information:&lt;/b&gt;&lt;br /&gt;
Enter Cluster name: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRS&lt;br /&gt;
Scan name:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCAN-PROD&lt;br /&gt;
Scan port:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1521&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 5 of 8&lt;br /&gt;
&lt;br /&gt;
Specify password for ASMSNMP user&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 6 of 8&lt;br /&gt;
&lt;br /&gt;
Select OS group - oinstall&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 7 of 8&lt;br /&gt;
&lt;br /&gt;
Specify Oracle Base and Grid Home location&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 8 of 8&lt;br /&gt;
&lt;br /&gt;
Verify all Prerequisite checks have passed and click finish to start Setup.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run &lt;b&gt;‘rootupgrade.sh’&lt;/b&gt; script as root on all nodes one by one, when prompted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;b&gt;After it finishes, Oracle 10g Clusterware and ASM Instances had been successfully upgraded to 11g Clusterware.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-6025398343019285215?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/onXi8uFX35I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/6025398343019285215/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/05/upgrading-10g-rac-clusterware-to-11g.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6025398343019285215?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6025398343019285215?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/onXi8uFX35I/upgrading-10g-rac-clusterware-to-11g.html" title="Upgrading 10g RAC Clusterware to 11g RAC Clusterware" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/05/upgrading-10g-rac-clusterware-to-11g.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIGRX84fCp7ImA9WhZSFE0.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-251672674862032301</id><published>2011-03-29T00:07:00.000-07:00</published><updated>2011-03-29T07:22:04.134-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-29T07:22:04.134-07:00</app:edited><title>Sample Listener and Tnsnames files in 11g RAC</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xHrHRkUFAth3mFNiBp_-kFkfYrU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xHrHRkUFAth3mFNiBp_-kFkfYrU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xHrHRkUFAth3mFNiBp_-kFkfYrU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xHrHRkUFAth3mFNiBp_-kFkfYrU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;The contents of Listener.ora and tnsnames.ora in 11g RAC are shown below.&lt;/strong&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#listener.ora&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent&lt;br /&gt;
&lt;br /&gt;
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent&lt;br /&gt;
&lt;br /&gt;
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent&lt;br /&gt;
&lt;br /&gt;
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#tnsnames.ora&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
# tnsnames.ora Network Configuration File: /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/tnsnames.ora&lt;br /&gt;
&lt;br /&gt;
# Generated by Oracle configuration tools.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BVNPRD =&lt;br /&gt;
&lt;br /&gt;
(DESCRIPTION =&lt;br /&gt;
&lt;br /&gt;
(ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521))&lt;br /&gt;
&lt;br /&gt;
(CONNECT_DATA =&lt;br /&gt;
&lt;br /&gt;
(SERVER = DEDICATED)&lt;br /&gt;
&lt;br /&gt;
(SERVICE_NAME = bvnprd)&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#endpoints_listener.ora&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
LISTENER_IBS-ASH-SR147=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ibs-ash-sr147-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.192.154.205)(PORT=1521)(IP=FIRST)))) # line added by Agent&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-251672674862032301?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/9WLO_lPw1CI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/251672674862032301/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/03/sample-listener-and-tnsnames-files-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/251672674862032301?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/251672674862032301?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/9WLO_lPw1CI/sample-listener-and-tnsnames-files-in.html" title="Sample Listener and Tnsnames files in 11g RAC" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/03/sample-listener-and-tnsnames-files-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUEQHw-eCp7ImA9Wx9aGUw.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-5738875921000449508</id><published>2011-03-11T22:40:00.000-08:00</published><updated>2011-03-11T22:43:21.250-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-11T22:43:21.250-08:00</app:edited><title>ORA-31693: Table data object failed to load/unload and is being skipped due to error</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d1XKVKnOdG_OJ5N0gs_kIDOSupE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d1XKVKnOdG_OJ5N0gs_kIDOSupE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d1XKVKnOdG_OJ5N0gs_kIDOSupE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d1XKVKnOdG_OJ5N0gs_kIDOSupE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;Export or Import could fail with the following error:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
ORA-31693: Table data object&amp;nbsp;failed to load/unload and is being skipped due to error:&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
ORA-31640: unable to open dump file&amp;nbsp;for read&lt;br /&gt;
ORA-19505: failed to identify file&lt;br /&gt;
ORA-27037: unable to obtain file status&lt;br /&gt;
Solaris-AMD64 Error: 2: No such file or directory&lt;br /&gt;
Additional information: 3&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Try running export or import without the '&lt;strong&gt;Parallel'&lt;/strong&gt; option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-5738875921000449508?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/TL_ZDaRVXQM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/5738875921000449508/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2011/03/ora-31693-table-data-object-failed-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5738875921000449508?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5738875921000449508?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/TL_ZDaRVXQM/ora-31693-table-data-object-failed-to.html" title="ORA-31693: Table data object failed to load/unload and is being skipped due to error" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2011/03/ora-31693-table-data-object-failed-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAMQHs_eCp7ImA9Wx9aEk8.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-7297341319879387110</id><published>2011-03-03T23:13:00.000-08:00</published><updated>2011-03-03T23:13:01.540-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-03T23:13:01.540-08:00</app:edited><title>High CPU usage-spike-load on Database Server</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-rUdWZxWrE08iFzRdL9L6JVBibU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-rUdWZxWrE08iFzRdL9L6JVBibU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-rUdWZxWrE08iFzRdL9L6JVBibU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-rUdWZxWrE08iFzRdL9L6JVBibU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;One of the issues that could make the DBA life uncomfortable is high CPU usage. Ocassionally, you might see High CPU usage or CPU spikes on the Database Server. Ideally, the Operating systems are designed to use CPU to maximum to get high throughput, however at the same time we need to make sure that a single process doesn’t eats up the whole CPU, causing the other processes to starve.&lt;/b&gt; &lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;strong&gt;‘Load average’&lt;/strong&gt; field in the top command would tell you the average number of processes ready to run in the last 1, 5 and 15 minutes, which could be viewed in combination with number of processes waiting for run time shown&amp;nbsp;by &lt;strong&gt;vmstat&lt;/strong&gt; command. It could be a point of concern if this starts happening frequently and stays for long duration. In this post, we would discuss how to identify and fix the cause of high CPU usage.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The first thing is to find out the process that is causing high CPU usage. It’s not necessary that it would be a DB process. There is a possibility that some other process at Operating system level might be consuming high CPU. You can use &lt;strong&gt;‘top’&lt;/strong&gt; command to find the same.&lt;/div&gt;&lt;br /&gt;
- Run the top command at OS prompt&lt;br /&gt;
- Sort the output by CPU usage (Shift + p in linux)&lt;br /&gt;
- To see individual CPU usage, press 1&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;Now the output of top command would be sorted by CPU usage. You can get the Process ID of the top CPU consuming processes. The user name would tell you whether it’s a Database process or some other.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You can easily get the details about that session e.g. username, program, module, sql etc by providing the OS Process ID to the following &lt;a href="http://www.oracledatabaseissues.com/2009/12/script-to-find-session-details-from-pid.html"&gt;Script&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You have now identified the SQL which is consuming high CPU and the corresponding program or module running it. To fix the issue, you need to tune the SQL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Have a question or comment? Post it below!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-7297341319879387110?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/eFw0BETjm2g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/7297341319879387110/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2009/12/high-cpu-usage-spike-load-on-database.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7297341319879387110?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7297341319879387110?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/eFw0BETjm2g/high-cpu-usage-spike-load-on-database.html" title="High CPU usage-spike-load on Database Server" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2009/12/high-cpu-usage-spike-load-on-database.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcESHg7fCp7ImA9Wx9QGUk.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-5163791421374989069</id><published>2010-12-27T06:36:00.000-08:00</published><updated>2011-01-01T19:46:49.604-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-01T19:46:49.604-08:00</app:edited><title>ORA-12542 or TNS-12542</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zmcHjEQktWEguXJamnFjTaqGhRg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zmcHjEQktWEguXJamnFjTaqGhRg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zmcHjEQktWEguXJamnFjTaqGhRg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zmcHjEQktWEguXJamnFjTaqGhRg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;ORA-12542 or&amp;nbsp;TNS-12542 could occur in few situations.&lt;/b&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;More info:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;TNS:address already in use&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;TNS:protocol adapter error&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Case 1: &amp;nbsp;While starting the listener.&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;- &amp;nbsp; Change the port number, in case another listener is running on same port.&lt;br /&gt;
&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;- &amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;Delete the .oracle subdirectory under /tmp to repopulate the hung TCP/IP socket.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;b&gt;Case 2: While connecting from Application/Client Server&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; - &amp;nbsp; Bounce the Application Services as maximum port limit has reached.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; - &amp;nbsp; Increase the free port limit on the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2009/12/troubleshooting-client-connectivity.html"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;More Troubleshooting Steps&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-5163791421374989069?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/AtRRmb6256I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/5163791421374989069/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/ora-12542-or-tns-12542.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5163791421374989069?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5163791421374989069?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/AtRRmb6256I/ora-12542-or-tns-12542.html" title="ORA-12542 or TNS-12542" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/ora-12542-or-tns-12542.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMHRXc9eCp7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-1062377259765010066</id><published>2010-12-05T06:33:00.000-08:00</published><updated>2010-12-05T09:00:34.960-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T09:00:34.960-08:00</app:edited><title>Commit statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WtpyUbawHqzWMQg_ll-zPhpOjQk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WtpyUbawHqzWMQg_ll-zPhpOjQk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WtpyUbawHqzWMQg_ll-zPhpOjQk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WtpyUbawHqzWMQg_ll-zPhpOjQk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;COMMIT statement is used to make permanent all changes performed in the transaction.&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SQL&amp;gt; Commit;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&amp;nbsp;Oracle Database issues an implicit COMMIT before and after any data definition&amp;nbsp;language (DDL) statement&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/12/rollback-statement.html"&gt;Previous Tutorial&lt;/a&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-1062377259765010066?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/7cQIkBEDUSU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/1062377259765010066/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/commit-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1062377259765010066?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1062377259765010066?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/7cQIkBEDUSU/commit-statement.html" title="Commit statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/commit-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQGRH88eip7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-7745122665072914886</id><published>2010-12-05T06:29:00.000-08:00</published><updated>2010-12-05T08:58:45.172-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T08:58:45.172-08:00</app:edited><title>Rollback Statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YFAHoegxRcLkEKlgdM7dOtudNIM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YFAHoegxRcLkEKlgdM7dOtudNIM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YFAHoegxRcLkEKlgdM7dOtudNIM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YFAHoegxRcLkEKlgdM7dOtudNIM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Use the ROLLBACK&amp;nbsp;statement to undo the work done in the current transaction.&lt;/b&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;b&gt;SQL&amp;gt; Rollback;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;rolls back the entire transaction.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/12/delete-statement.html"&gt;Previous Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.oracledatabaseissues.com/2010/12/commit-statement.html"&gt;Next Tutorial&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-7745122665072914886?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/SFx8wWEME78" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/7745122665072914886/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/rollback-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7745122665072914886?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7745122665072914886?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/SFx8wWEME78/rollback-statement.html" title="Rollback Statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/rollback-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUCR304cCp7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-3880740789769004757</id><published>2010-12-05T05:53:00.000-08:00</published><updated>2010-12-05T08:57:46.338-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T08:57:46.338-08:00</app:edited><title>Delete statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u73_JVuNvNDlzn2FrljdrEahyzs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u73_JVuNvNDlzn2FrljdrEahyzs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u73_JVuNvNDlzn2FrljdrEahyzs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u73_JVuNvNDlzn2FrljdrEahyzs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;DELETE statement is used to remove rows from the table.&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Syntax:&lt;/b&gt;&lt;br /&gt;
delete from &amp;lt;&lt;i&gt;table_name&lt;/i&gt;&amp;gt; [where clause]&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;e.g.&lt;/b&gt;&lt;br /&gt;
SQL&amp;gt;delete from employees where employee_id = 902;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CAUTION: Delete without 'Where' clause will remove all rows from table.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/12/update-statement.html"&gt;Previous Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.oracledatabaseissues.com/2010/12/rollback-statement.html"&gt;Next Tutorial&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-3880740789769004757?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/pqxMrgh_BkY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/3880740789769004757/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/delete-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/3880740789769004757?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/3880740789769004757?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/pqxMrgh_BkY/delete-statement.html" title="Delete statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/delete-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUEQ38_fyp7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-8350151699942782867</id><published>2010-12-05T05:41:00.000-08:00</published><updated>2010-12-05T08:56:42.147-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T08:56:42.147-08:00</app:edited><title>Update statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bq6sodEFm2M1uM7Dw-FOkXoSm3o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bq6sodEFm2M1uM7Dw-FOkXoSm3o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bq6sodEFm2M1uM7Dw-FOkXoSm3o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bq6sodEFm2M1uM7Dw-FOkXoSm3o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;UPDATE statement is used to change existing values in a table.&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Syntax:&lt;/b&gt;&lt;br /&gt;
Update &amp;lt;table_name&amp;gt; set &amp;lt;column_name&amp;gt; = value [where clause]&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;e.g.&lt;/b&gt;&lt;br /&gt;
SQL&amp;gt; update employees set first_name='Johnson' where employee_id=901;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CAUTION: Update Statement without the WHERE clause will update all rows in the table.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/12/insert-statement.html"&gt;Previous Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.oracledatabaseissues.com/2010/12/delete-statement.html"&gt;Next Tutorial&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-8350151699942782867?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/JRqUKQ2qRlg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/8350151699942782867/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/update-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/8350151699942782867?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/8350151699942782867?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/JRqUKQ2qRlg/update-statement.html" title="Update statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/update-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYGSHYyfCp7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-436981953857601714</id><published>2010-12-05T05:23:00.000-08:00</published><updated>2010-12-05T08:55:29.894-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T08:55:29.894-08:00</app:edited><title>Insert Statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-4FB7FFeD0XTczFN5QPwYrP9F1c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-4FB7FFeD0XTczFN5QPwYrP9F1c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-4FB7FFeD0XTczFN5QPwYrP9F1c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-4FB7FFeD0XTczFN5QPwYrP9F1c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;INSERT Statement is used to add new rows to a table.&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Syntax:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Insert into &amp;lt;table_name&amp;gt; values (value1,value2..);&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;e.g.&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;SQL&amp;gt; insert into employees values(901,'John','S','john@gmail.com','949999333','17-JUN-2010','AD_PRES',20000,0,100,90);&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To insert values in specific columns:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;insert into employees(employee_id,first_name,last_name,email,hire_date,job_id) values(902,'Steven','J','steven@gmail.com','17-JUN-2010','AD_PRES');&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/order-by-clause.html"&gt;Previous Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.oracledatabaseissues.com/2010/12/update-statement.html"&gt;Next Tutorial&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-436981953857601714?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/9TdP74ZMzdY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/436981953857601714/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/insert-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/436981953857601714?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/436981953857601714?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/9TdP74ZMzdY/insert-statement.html" title="Insert Statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/insert-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MMRH08eSp7ImA9Wx9SE0Q.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-4810657036860936176</id><published>2010-12-03T07:37:00.000-08:00</published><updated>2010-12-03T08:58:05.371-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-03T08:58:05.371-08:00</app:edited><title>Adding a datafile in Tablespace</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RbF95oHjbUlasMKfx5tFrsXrbDw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RbF95oHjbUlasMKfx5tFrsXrbDw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RbF95oHjbUlasMKfx5tFrsXrbDw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RbF95oHjbUlasMKfx5tFrsXrbDw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Use the 'Alter Tablespace' SQL statement to add a datafile&amp;nbsp;in a tablespace.&lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Alter tablespace &amp;lt;&lt;em&gt;tablespace_name&lt;/em&gt;&amp;gt; add datafile 'file_name' size &lt;em&gt;int_value&lt;/em&gt; [K|M];&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
Alter Tablespace USERS add datafile '/u01/oracle/oradata/orcl/user02.dbf' size 100M;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-4810657036860936176?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/iZgdaC3rxbQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/4810657036860936176/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/12/adding-datafile-in-tablespace.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4810657036860936176?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4810657036860936176?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/iZgdaC3rxbQ/adding-datafile-in-tablespace.html" title="Adding a datafile in Tablespace" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/12/adding-datafile-in-tablespace.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcAQXcyfip7ImA9Wx9SFUs.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-651282431286753218</id><published>2010-11-13T07:17:00.000-08:00</published><updated>2010-12-05T08:54:00.996-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-05T08:54:00.996-08:00</app:edited><title>ORDER BY Clause</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T19gOCG6R17vLg1gHfaZpr8-xvI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T19gOCG6R17vLg1gHfaZpr8-xvI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T19gOCG6R17vLg1gHfaZpr8-xvI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T19gOCG6R17vLg1gHfaZpr8-xvI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Use the 'Order By' clause to sort the data in ascending or descending order.&lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;SQL&amp;gt; select first_name,last_name,salary from employees where salary between 1000 and 3000 order by salary;&lt;/div&gt;&lt;br /&gt;
would display the output in increasing order of salary.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;SQL&amp;gt; select first_name,last_name,salary from employees where salary between 1000 and 3000 order by salary &lt;strong&gt;desc&lt;/strong&gt;;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&amp;nbsp;would display the output with salary in descending order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/between-and-in-operators.html"&gt;Previous Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.oracledatabaseissues.com/2010/12/insert-statement.html"&gt;Next Tutorial&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-651282431286753218?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/lVA_uGyFiHs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/651282431286753218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/order-by-clause.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/651282431286753218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/651282431286753218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/lVA_uGyFiHs/order-by-clause.html" title="ORDER BY Clause" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/order-by-clause.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHRn0zeyp7ImA9Wx5aFks.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-4407958017995873782</id><published>2010-11-13T07:08:00.000-08:00</published><updated>2010-11-13T07:20:37.383-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-13T07:20:37.383-08:00</app:edited><title>BETWEEN and IN operators</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/f2rROOcCx2fqc8MZD75cC553FgA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f2rROOcCx2fqc8MZD75cC553FgA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/f2rROOcCx2fqc8MZD75cC553FgA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f2rROOcCx2fqc8MZD75cC553FgA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;The operators IN and BETWEEN&amp;nbsp;facilitates selection of particular rows based on range or list of values.&lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;'IN'&lt;/strong&gt; operator is used to specify a list of values.&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select first_name,last_name from employees where first_name IN ('Anthony','Sarah','Kevin');&lt;br /&gt;
&lt;br /&gt;
would list&amp;nbsp;employees whose&amp;nbsp;first_name is either of the list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;'BETWEEN'&lt;/strong&gt; operator is used to specify a range of values.&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select first_name,last_name from employees where salary between 1000 and 3000;&lt;br /&gt;
&lt;br /&gt;
would list employees whose salary is between 1000 and 3000, both inclusive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/like-operator.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/order-by-clause.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-4407958017995873782?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/9KE_7FAnqUY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/4407958017995873782/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/between-and-in-operators.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4407958017995873782?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4407958017995873782?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/9KE_7FAnqUY/between-and-in-operators.html" title="BETWEEN and IN operators" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/between-and-in-operators.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ICRns_eyp7ImA9Wx5aFks.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-4022397584343678941</id><published>2010-11-13T01:28:00.000-08:00</published><updated>2010-11-13T07:19:27.543-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-13T07:19:27.543-08:00</app:edited><title>LIKE operator</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9c-kaauOIjG_-GMegQ0GEeFpsfY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9c-kaauOIjG_-GMegQ0GEeFpsfY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9c-kaauOIjG_-GMegQ0GEeFpsfY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9c-kaauOIjG_-GMegQ0GEeFpsfY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;LIKE operator is used for pattern matching. &lt;/strong&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
e.g. &lt;br /&gt;
&lt;br /&gt;
To find name and salary of employees whose first name starts with 'A':&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select first_name,salary from employees where first_name like 'A%';&lt;br /&gt;
&lt;br /&gt;
To find name and salary of employees whose first name starts with 'A' and followed by 3 characters:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select first_name,salary from employees where first_name like 'A___';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/wildcard-characters.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/between-and-in-operators.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-4022397584343678941?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/mpvHxClw2-s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/4022397584343678941/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/like-operator.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4022397584343678941?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/4022397584343678941?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/mpvHxClw2-s/like-operator.html" title="LIKE operator" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/like-operator.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAASHw7fip7ImA9Wx5aFkk.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-6411362933919201123</id><published>2010-11-13T01:20:00.000-08:00</published><updated>2010-11-13T01:32:29.206-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-13T01:32:29.206-08:00</app:edited><title>WildCard Characters</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sz-cZGVYXw3yQezid0g2V4o4oB8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sz-cZGVYXw3yQezid0g2V4o4oB8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sz-cZGVYXw3yQezid0g2V4o4oB8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sz-cZGVYXw3yQezid0g2V4o4oB8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;SQL gives you two wildcard characters '%' and ' _' which are used to&amp;nbsp;substitute zero or more characters.&lt;/strong&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
%&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; Used to specify zero or more characters.&lt;br /&gt;
&lt;br /&gt;
_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; Used to specify any one character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We would see their usage in next tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/where-clause.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/like-operator.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-6411362933919201123?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/cKEK44PT9FU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/6411362933919201123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/wildcard-characters.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6411362933919201123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/6411362933919201123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/cKEK44PT9FU/wildcard-characters.html" title="WildCard Characters" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/wildcard-characters.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEENRXgyfSp7ImA9Wx5aFks.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-442980266849552930</id><published>2010-11-12T07:29:00.000-08:00</published><updated>2010-11-13T07:38:14.695-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-13T07:38:14.695-08:00</app:edited><title>WHERE Clause</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fEc-Nc9O_46Fm3qf_zqPQ4UOOJ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fEc-Nc9O_46Fm3qf_zqPQ4UOOJ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fEc-Nc9O_46Fm3qf_zqPQ4UOOJ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fEc-Nc9O_46Fm3qf_zqPQ4UOOJ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;The 'Where' clause lets you restrict rows in the output based on the given condition.&lt;/strong&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
e.g. &lt;br /&gt;
&lt;br /&gt;
To select details of employees whose salary is greater than 15000:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; select * from employees where salary &amp;gt; 15000;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;AND Operator:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;strong&gt;'And' &lt;/strong&gt;operator is used to combine multiple conditions, and returns rows which satisfy &lt;strong&gt;All&lt;/strong&gt; of the&amp;nbsp;given conditions.&lt;/div&gt;&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; Select * from employees where salary &amp;gt; 5000 and department_id = 110;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;OR Operator:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;strong&gt;'OR'&lt;/strong&gt; operator is also used to combine multiple conditions, and returns rows which satisfy&amp;nbsp;&lt;strong&gt;Either&lt;/strong&gt; of the given conditions.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; Select * from employees where salary &amp;gt; 5000&amp;nbsp;or department_id = 110;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/select-statement.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/wildcard-characters.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-442980266849552930?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/FV3LqIR1jhY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/442980266849552930/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/where-clause.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/442980266849552930?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/442980266849552930?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/FV3LqIR1jhY/where-clause.html" title="WHERE Clause" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/where-clause.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QMQ3Y4fSp7ImA9Wx5aFEQ.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-1010465865771553830</id><published>2010-11-11T08:17:00.000-08:00</published><updated>2010-11-11T09:09:42.835-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-11T09:09:42.835-08:00</app:edited><title>DESCRIBE Command</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yL0eHAHkkEh9wjJIZmheXy4cUWQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yL0eHAHkkEh9wjJIZmheXy4cUWQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yL0eHAHkkEh9wjJIZmheXy4cUWQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yL0eHAHkkEh9wjJIZmheXy4cUWQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Describe is used to display the structure of the table, view etc. It lists the columns, their data types i.e. the type of data they can store etc.&lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
SQL&amp;gt; DESCRIBE DEPARTMENTS&lt;br /&gt;
&lt;br /&gt;
where Departments is the name of the table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a question or comment? Post it below!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/05/sample-tables.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/05/sql-statements.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-1010465865771553830?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/0KFqT1mjklE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/1010465865771553830/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/describe-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1010465865771553830?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/1010465865771553830?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/0KFqT1mjklE/describe-statement.html" title="DESCRIBE Command" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/describe-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEANQ3g_fCp7ImA9Wx5aFUo.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-8107094995685832517</id><published>2010-11-11T08:02:00.000-08:00</published><updated>2010-11-12T07:46:32.644-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-12T07:46:32.644-08:00</app:edited><title>Select statement</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/anddcxKKQDgoJUZAtkjSoyBTV4A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/anddcxKKQDgoJUZAtkjSoyBTV4A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/anddcxKKQDgoJUZAtkjSoyBTV4A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/anddcxKKQDgoJUZAtkjSoyBTV4A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;The Select statement is used to retrieve data from one or more tables, views etc.&lt;/strong&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;To Select all data from 'Departments' table:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; SQL&amp;gt; Select * from departments;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;To Select specific columns:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; SQL&amp;gt; Select department_id, department_name from departments;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;DISTINCT or UNIQUE:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Use distinct or unique to omit duplicate values from the output.&lt;br /&gt;
&lt;br /&gt;
e.g. to retrieve unique employee first name&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; Select distinct first_name from employees;&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Have a question or comment? Post it below!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/05/sql-statements.html"&gt;&lt;strong&gt;Previous Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;a href="http://www.oracledatabaseissues.com/2010/11/where-clause.html"&gt;&lt;strong&gt;Next Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-8107094995685832517?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/tNy-K24uYfU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/8107094995685832517/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/11/select-statement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/8107094995685832517?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/8107094995685832517?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/tNy-K24uYfU/select-statement.html" title="Select statement" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/11/select-statement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANQ344fCp7ImA9Wx5TE0w.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-5499635200011595369</id><published>2010-07-26T00:03:00.000-07:00</published><updated>2010-07-28T02:53:12.034-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-28T02:53:12.034-07:00</app:edited><title>Convert / Migrate single Instance database to RAC database manually</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aIJnqTe5T7yF5_IUiiEW-aCFyzI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aIJnqTe5T7yF5_IUiiEW-aCFyzI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aIJnqTe5T7yF5_IUiiEW-aCFyzI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aIJnqTe5T7yF5_IUiiEW-aCFyzI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Detailed steps to convert / migrate your single instance Oracle 10g Database to 2 node RAC database manually. The current environment is a single Instance Oracle 10g Database running on a local storage. We would migrate it to shared storage with 2 RAC instances. &lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;HIGH LEVEL STEPS:&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Preliminary Configuration and Verification&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Migrate the existing database to shared storage (Raw devices / ASM)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Install the CRS Software&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Install Oracle RAC Software&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Configure Listeners, tnsnames files&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Modify/Create Initialization parameter, Password files&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Start the first Instance&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Create RAC data dictionary views&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Create Undo tablespace, Redo log files&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Bring up the Second RAC Instance&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Ø Verify status of RAC processes/Services&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;DETAILED STEPS:&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Pre-Setup:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;----------&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;- Install the Oracle Clusterware and Oracle RAC Database software on nodes&lt;/div&gt;&lt;div style="text-align: justify;"&gt;- Copy/Edit original init file as init$SID1.ora and init$SID2.ora&lt;/div&gt;&lt;div style="text-align: justify;"&gt;- Make sure SID, listeners, tnsnames, profile, password file are correct on both nodes&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://www.oracledatabaseissues.com/2009/11/sample-files.html"&gt;Sample init, tnsnames, listener files&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Moving DB to shared storage:&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;------------------------------&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Create pfile from spfile on original instance, if using spfile&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Shutdown original instance&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Copy only datafiles on raw devices:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;e.g. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;dd if=/oradata/file_name of=/dev/raw/raw5&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Start instance in mount state&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;STARTUP MOUNT;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Rename datafiles:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;e.g.&lt;/div&gt;&lt;div style="text-align: left;"&gt;alter database rename file '/u01/app/oracle/oradata/test10g/users01.dbf' to '/dev/raw/raw7';&lt;/div&gt;&lt;div style="text-align: left;"&gt;alter database rename file '/u01/app/oracle/oradata/test10g/temp01.dbf' to '/dev/raw/raw8';&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;Alter database open;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ADD LOGFILES on shared storage:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;(Don't try to drop active group)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;select group#, bytes, status from v$log;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;select group#, member from v$logfile;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;e.g.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database add logfile group 4 '/dev/raw/raw13' size 128M;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database add logfile group 5 '/dev/raw/raw14' size 128M;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;select group#, status from v$log;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter system switch logfile;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database drop logfile group 1;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database drop logfile group 2;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database drop logfile group 3;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;select group#, bytes, status from v$log;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Alter database backup controlfile to trace;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;shutdown immediate;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Edit init file and give raw location of controlfiles (rename spfile so Instance do not start using spfile)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;STARTUP NOMOUNT;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Recreate controlfile;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Alter database open;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;shutdown immediate;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Now Database has been moved to shared storage on original instance.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Now Start DB from RAC instance 1:&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;-------------------------------------&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;(Make sure RAC instances have the latest init file)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;START the first instance&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Add tempfile&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;e.g.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ALTER TABLESPACE TEMP ADD TEMPFILE '/dev/raw/raw8' &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Create RAC dictionary views:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;@$ORACLE_HOME/rdbms/admin/catclust&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;shutdown immediate&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;From Linux prompt:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl add database -d &lt;db_name&gt;-o $ORACLE_HOME&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl add instance -d test10g -i test10g1 -n rac1&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl add instance -d test10g -i test10g2 -n rac2&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl start instance -d test10g -i test10g1&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;/ as sysdba&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database add logfile thread 2 group 1 '/dev/raw/raw15' size 128M;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database add logfile thread 2 group 2 '/dev/raw/raw16' size 128M;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;alter database enable thread 2;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;create undo tablespace UNDOTBS2 datafile '/dev/raw/raw10' size 25M;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;- Start second instance&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl start instance -d test10g -i test10g2&lt;/div&gt;&lt;div style="text-align: justify;"&gt;-------------------------------------------&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Verify the RAC services:&lt;/strong&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;crs_stat -t&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl status database -d test10g&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl stop database -d test10g&lt;/div&gt;&lt;div style="text-align: justify;"&gt;srvctl start database -d test10g&lt;/div&gt;&lt;div style="text-align: justify;"&gt;select instance_number instance#, instance_name, host_name, status from gv$instance;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;-----------------------------------------------------------------------------&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;You have now converted your single instance database to a 2 node RAC database&lt;/strong&gt;.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Have a question or comment? Post it below!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-5499635200011595369?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/ChbWQ-r58Fk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/5499635200011595369/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2009/11/converting-single-instance-to-rac.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5499635200011595369?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/5499635200011595369?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/ChbWQ-r58Fk/converting-single-instance-to-rac.html" title="Convert / Migrate single Instance database to RAC database manually" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2009/11/converting-single-instance-to-rac.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMARng4cCp7ImA9WxFaFU4.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-7023263739636663293</id><published>2010-07-19T02:52:00.000-07:00</published><updated>2010-07-19T02:57:27.638-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-19T02:57:27.638-07:00</app:edited><title>Difference in Schema and User in Oracle Database</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZSRMMjdi9-dUTiQduwUY43IZ-QY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZSRMMjdi9-dUTiQduwUY43IZ-QY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZSRMMjdi9-dUTiQduwUY43IZ-QY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZSRMMjdi9-dUTiQduwUY43IZ-QY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;Schema Vs. User&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Whenever a new user is created, a schema with the same name as of user is also created. The user owns the schema and all the objects created in his schema.&lt;/strong&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The term 'user' is normally used in context to 'login' and schema is used while refering to database objects e.g. tables, views etc. However, both terms could be used interchangeably and you can consider a user to be schema and vica versa.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Have a question or comment? Post it below!&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-7023263739636663293?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/YwvqwJ3PODo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/7023263739636663293/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2009/10/difference-in-schema-and-user-in-oracle.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7023263739636663293?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/7023263739636663293?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/YwvqwJ3PODo/difference-in-schema-and-user-in-oracle.html" title="Difference in Schema and User in Oracle Database" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2009/10/difference-in-schema-and-user-in-oracle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AFRHc9fSp7ImA9WxFWGEU.&quot;"><id>tag:blogger.com,1999:blog-8684173067227128913.post-3086585302714117948</id><published>2010-06-06T10:56:00.000-07:00</published><updated>2010-06-06T21:41:55.965-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-06T21:41:55.965-07:00</app:edited><title>Understanding Database Performance Tuning and Resolving Performance Issues</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/V-0ebP5FbTwCCljv0pACom2zaS4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V-0ebP5FbTwCCljv0pACom2zaS4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/V-0ebP5FbTwCCljv0pACom2zaS4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V-0ebP5FbTwCCljv0pACom2zaS4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;strong&gt;Performance tuning is basically a reactive process. You need to identify the bottleneck and make the appropriate changes to remove or reduce the bottleneck. The purpose of tuning is to reduce the Resource consumption, so the overall response time for an operation could be reduced. &lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;To identify performance issues, you can create a Baseline AWR Report i.e. a report when the system is performing fine. You can then compare this Baseline report with the one created, when you see Performance issues. Basically, you would be comparing the Volume of transactions, Database, Operating System and Input-Output Statistics in the two reports to identify where the bottleneck is. &lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;To resolve the Performance issues, you could make changes at the Application level, Database level or the Hardware level. And in 90% cases, it would be the Application. So, let’s see how an Application works. &lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;An Application would trigger hundred’s of SQL queries on the Database, which could consume huge amount of DB Server resources e.g. CPU, I/O, Memory, Locks and Latches etc, depending on how badly are the SQL queries written. A SQL query goes through various phases like Evaluation, Transformation, and Optimization before being finally executed. The Oracle Query Optimizer uses the Statistics gathered at the Database level to choose the Optimal data access path. So, gathering Statistics at regular intervals is very important for the SQL queries to perform efficiently. &lt;/div&gt;&lt;br /&gt;
There are various tools provided by Oracle which could be used to monitor and resolve performance issues, for example AWR and ADDM Reports, Session Tracing, Performance Views etc. We would be looking into these tools in detail in the next posts. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.oracledatabaseissues.com/2009/12/high-cpu-usage-spike-load-on-database.html"&gt;&lt;strong&gt;Click here to find how to handle high CPU usage issues&lt;/strong&gt;&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Have a question or comment? Post it below!&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8684173067227128913-3086585302714117948?l=www.oracledatabaseissues.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/oracledatabaseissues/Sryy/~4/MznLSj6on7k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.oracledatabaseissues.com/feeds/3086585302714117948/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.oracledatabaseissues.com/2010/06/understanding-database-performance.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/3086585302714117948?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8684173067227128913/posts/default/3086585302714117948?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/oracledatabaseissues/Sryy/~3/MznLSj6on7k/understanding-database-performance.html" title="Understanding Database Performance Tuning and Resolving Performance Issues" /><author><name>Administrator</name><uri>http://www.blogger.com/profile/14189807879343010152</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.oracledatabaseissues.com/2010/06/understanding-database-performance.html</feedburner:origLink></entry></feed>

