<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>DB World</title>
	<atom:link href="http://dbaseworld.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbaseworld.wordpress.com</link>
	<description>All about databases, ETLs and Business Intelligence</description>
	<lastBuildDate>Fri, 20 Jan 2012 16:40:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dbaseworld.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>DB World</title>
		<link>http://dbaseworld.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dbaseworld.wordpress.com/osd.xml" title="DB World" />
	<atom:link rel='hub' href='http://dbaseworld.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Rman Script for Full Hot Backup Including SPFILE and Controlfile</title>
		<link>http://dbaseworld.wordpress.com/2012/01/10/rman-script-for-full-hot-backup-including-spfile-and-controlfile/</link>
		<comments>http://dbaseworld.wordpress.com/2012/01/10/rman-script-for-full-hot-backup-including-spfile-and-controlfile/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:07:14 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[rman]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[spfile]]></category>
		<category><![CDATA[controlfile]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=163</guid>
		<description><![CDATA[Follow script to use in Rman to perform a full hot backup in an Oracle database, including its controlfile and spfile. Hot backup means that the database doesn&#8217;t have to be down. Also it must be running in archivelog mode. Simply log to rman with your database open and run the following (don&#8217;t forget to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=163&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Follow script to use in Rman to perform a full hot backup in an Oracle database, including its controlfile and spfile. Hot backup means that the database doesn&#8217;t have to be down. Also it must be running in archivelog mode.</p>
<p>Simply log to rman with your database open and run the following (don&#8217;t forget to adjust the paths to your own need).</p>
<pre><span style="color:#339966;">run {
 allocate channel ch1 type Disk maxpiecesize = 1900M FORMAT '/path/hbk_%t_set%s_piece%p_dbid%I.rman';
 backup incremental level 0
 tag cold_db_f
 filesperset 1
 (database);
 backup archivelog all delete all input FORMAT '/path/hbk_%t_set%s_piece%p_dbid%I.rman';
 backup spfile format '/oradata/orcl/rmanb/spfile_%d_%s_%T_dbid%I.rman';
 backup current controlfile format '/path/ctl_%t_dbid%I.rman';
}</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=163&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2012/01/10/rman-script-for-full-hot-backup-including-spfile-and-controlfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Performing Switchover on Oracle Standby Database</title>
		<link>http://dbaseworld.wordpress.com/2012/01/01/performing-switchover-on-oracle-standby-database/</link>
		<comments>http://dbaseworld.wordpress.com/2012/01/01/performing-switchover-on-oracle-standby-database/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 02:44:48 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[standby]]></category>
		<category><![CDATA[Switchover]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=155</guid>
		<description><![CDATA[My purpose on this post is a quick step-by-step on how to perform a switchover on an Oracle physical standby database. A switchover consists of the change of roles between the primary and standby database. After the switch, the primary will turn into the standby database and the standby into the primary. This operation usually [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=155&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My purpose on this post is a quick step-by-step on how to perform a switchover on an Oracle physical standby database.</p>
<p>A switchover consists of the change of roles between the primary and standby database. After the switch, the primary will turn into the standby database and the standby into the primary. This operation usually is performed when the primary database must go under maintenance.</p>
<p>First of all you must have a standby database working properly, receiving and applying the redologs from the primary database. The primary db must be in open status and the standby in mounted mode.</p>
<p>To check the database open mode:</p>
<pre><span style="color:#008000;">SQL&gt; select open_mode from v$database;</span></pre>
<p>Also make sure there&#8217;s no other users connected to the primary database but you (as sysdba). If there&#8217;s any active connection to the database, you can perform the switch using the &#8220;with session shutdown&#8221; command to disconnect all active sessions.</p>
<p>Check the Switchover Status for both databases.</p>
<pre><span style="color:#008000;">SQL&gt; select switchover_status from v$database;</span></pre>
<p>It&#8217;s ok to perform the switchover if the primary database has the status of <span style="color:#003366;">&#8220;SESSIONS ACTIVE&#8221;</span> or <span style="color:#003366;">&#8220;TO STANDBY&#8221;</span> and for the standby database the status <span style="color:#003366;">&#8220;SESSIONS ACTIVE&#8221;</span> or <span style="color:#003366;">&#8220;NOT ALLOWED&#8221;</span>.</p>
<p>Below a list with the values for the SWITCHOVER_STATUS column:</p>
<ul>
<li><span style="color:#003366;">NOT ALLOWED</span> &#8211; Either this is a standby database and the primary database has not been switched first, or this is a primary database and there are no standby databases.</li>
</ul>
<ul>
<li><span style="color:#003366;">SESSIONS ACTIVE</span> &#8211; Indicates that there are active SQL sessions attached to the primary or standby database that need to be disconnected before the switchover operation is permitted.</li>
</ul>
<ul>
<li><span style="color:#003366;">SWITCHOVER PENDING</span> &#8211; This is a standby database and the primary database switchover request has been received but not processed.</li>
</ul>
<ul>
<li><span style="color:#003366;">SWITCHOVER LATENT</span> &#8211; The switchover was in pending mode, but did not complete and went back to the primary database.</li>
</ul>
<ul>
<li><span style="color:#003366;">TO PRIMARY</span> &#8211; This is a standby database, with no active sessions, that is allowed to switch over to a primary database.</li>
</ul>
<ul>
<li><span style="color:#003366;">TO STANDBY</span> &#8211; This is a primary database, with no active sessions, that is allowed to switch over to a standby database.</li>
</ul>
<ul>
<li><span style="color:#003366;">RECOVERY NEEDED</span> &#8211; This is a standby database that has not received the switchover request.</li>
</ul>
<p><strong>1-</strong> Make the primary db the standby db (Do that on the primary database)</p>
<pre><span style="color:#008000;">SQL&gt; alter database commit to switchover to standby with session shutdown;</span></pre>
<p><strong>2-</strong> Shutdown and start the former primary database in standby mode.</p>
<pre><span style="color:#008000;">SQL&gt; shutdown immediate;</span>
<span style="color:#008000;">SQL&gt; startup nomount;</span>
<span style="color:#008000;">SQL&gt; alter database mount standby database;</span></pre>
<p><strong>3-</strong> Turn the standby database into the new primary;</p>
<pre><span style="color:#008000;">SQL&gt; alter database commit to switchover to primary;</span></pre>
<p><strong>4-</strong> Shutdown and startup open the new primary database</p>
<pre><span style="color:#008000;">SQL&gt; shutdown immediate;</span>
<span style="color:#008000;">SQL&gt; startup;</span></pre>
<p><strong>5-</strong> On the new standby database, start the redo log application</p>
<pre><span style="color:#008000;">SQL&gt; recover managed standby database disconnect from session;</span></pre>
<p>When done with the steps above the switchover_status column from v$database should be in one of the acceptable status as mentioned earlier.</p>
<p>Double check if the archive is being applied correctly</p>
<pre><span style="color:#008000;">SQL&gt; select sequence#, applied from v$archived_log order by sequence#;</span></pre>
<p>For more information about creating a standby database check out my post by clicking <a title="here" href="http://dbaseworld.wordpress.com/2011/12/29/creating-oracle-standby-database-using-rman/">here</a>.</p>
<p>References:</p>
<p>- Performing Switchover in a Data Guard Configuration by Ayyu</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=155&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2012/01/01/performing-switchover-on-oracle-standby-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Oracle Standby Database using RMAN</title>
		<link>http://dbaseworld.wordpress.com/2011/12/29/creating-oracle-standby-database-using-rman/</link>
		<comments>http://dbaseworld.wordpress.com/2011/12/29/creating-oracle-standby-database-using-rman/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 17:49:06 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[standby]]></category>
		<category><![CDATA[rman]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=132</guid>
		<description><![CDATA[I have created the guide below to help all the ones who need to setup a Standby database using RMAN. I&#8217;m using Oracle 11g Release 2 on two Linux CentOS 6. I&#8217;m also assuming that the database binaries are already installed in both servers and working properly. For a convention I have called the primary [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=132&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have created the guide below to help all the ones who need to setup a Standby database using RMAN.</p>
<p>I&#8217;m using Oracle 11g Release 2 on two Linux CentOS 6. I&#8217;m also assuming that the database binaries are already installed in both servers and working properly.</p>
<p>For a convention I have called the primary db as &#8216;primary&#8217; adn the standby db as &#8216;standby&#8217; (nothing more obvious.. hehe).</p>
<p><span style="color:#0000ff;"><strong>Steps for the Pimary Database</strong></span></p>
<p><strong>1- Enable Force Logging</strong></p>
<p>To make sure all data are sent over to the standby database, we need to force oracle to generate log for all changes to the database.</p>
<pre><span style="color:#008000;">SQL&gt; ALTER DATABASE FORCE LOGGING;</span></pre>
<p><strong>2 &#8211; Setup Standby Redo Log</strong></p>
<p>The purpose of standby redo logs is high availability since the actual redo logs are copied to the standby redo logs (in the primary database) to assure that full recovery can be performed in case of db crash.</p>
<p>Make sure the stand by logs have the exactly size of the db redo logs. It&#8217;s also recommended that you create at least one more standby redo log then you have normal redo logs. For example if you have 3 redo log groups, create 4 standby redo log groups as follow.SQL</p>
<pre><span style="color:#008000;">SQL&gt; ALTER DATABASE ADD STANDBY LOGFILE GROUP 11  '/oradata/prim/redo/sbredo11.log' SIZE 100M;</span>
<span style="color:#008000;">SQL&gt; ALTER DATABASE ADD STANDBY LOGFILE GROUP 12  '/oradata/prim/redo/sbredo12.log' SIZE 100M;</span>
<span style="color:#008000;">SQL&gt; ALTER DATABASE ADD STANDBY LOGFILE GROUP 13  '/oradata/prim/redo/sbredo13.log' SIZE 100M;</span>
<span style="color:#008000;">SQL&gt; ALTER DATABASE ADD STANDBY LOGFILE GROUP 14  '/oradata/prim/redo/sbredo14.log' SIZE 100M;</span></pre>
<p><strong>3 &#8211; Create the Password File for the Primary Database</strong></p>
<p>You have to create the password file since the user sys will be used by oracle to access the standby db and also be accessed by the standby db. Make sure the password used for SYS on the primary database is the same used on the standby database.</p>
<p>on the OS prompt line do the following:</p>
<pre><span style="color:#008000;"># orapwd file=orapwSID password=your_pwd entries=5</span></pre>
<p><strong>4 &#8211; Setup instance parameters for the primary database.</strong></p>
<p>You can do that in your PFILE or SPFILE.</p>
<p>Below are the required parameters, i&#8217;m not showing the others.</p>
<pre> <span style="color:#008000;">*.DB_UNIQUE_NAME='primary'</span>
 <span style="color:#008000;">*.DB_NAME='primary'</span>
 <span style="color:#008000;">*.INSTANCE_NAME='primary'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,standby)'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_DEST_1='LOCATION=/oradata/orcl/archive/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=primary'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_DEST_2='SERVICE=standby VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=standby'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'</span>
<span style="color:#008000;"> *.LOG_ARCHIVE_FORMAT='arch_%r_%t_%s.arc'</span>
<span style="color:#008000;"> *.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'</span>
<span style="color:#008000;"> *.SERVICE_NAMES='primary'</span>
<span style="color:#008000;"> *.STANDBY_FILE_MANAGEMENT='AUTO'</span>
<span style="color:#008000;"> *.DB_FILE_NAME_CONVERT='standby','primary'</span> --Only use this parameter if you have different path in the standby server
<span style="color:#008000;"> *.FAL_SERVER='standby'</span>
<span style="color:#008000;"> *.FAL_CLIENT='primary</span>'</pre>
<p>Shutdown the database and start it up so the new parameters take effect.</p>
<p><strong>5 &#8211; Archive Must be Enabled</strong></p>
<p>If your database is not already running in archivelog, do the following</p>
<pre><span style="color:#008000;">SQL&gt; shutdown immediate;</span>
<span style="color:#008000;">SQL&gt; startup mount;</span>
<span style="color:#008000;">SQL&gt; alter database archivelog;</span>
<span style="color:#008000;">SQL&gt; alter database open;</span></pre>
<p><strong>6 &#8211; Create a Copy of the PFILE</strong></p>
<p>Create a copy of the primary database PFILE. It&#8217;ll be used on the standby db with some changes</p>
<p><strong>7 &#8211; Backup Primary Database, Controlfile and Archivelogs</strong></p>
<p>It&#8217;s necessary to create a full backup of the database with its archivelogs and also a backup of the controlfile for standby.</p>
<p>- Full database backup using RMAN<br />
<code><span style="color:#008000;">rman connect target /<br />
run {  allocate channel ch1 type Disk maxpiecesize = 1900M<br />
FORMAT '/oradata/rmanbkp/hbk_%t_set%s_piece%p.rman';<br />
backup full tag cold_db_f<br />
filesperset 1<br />
(database);<br />
release channel ch1;<br />
}</span></code><br />
- Controlfile backup for Standby</p>
<pre><span style="color:#008000;">RMAN&gt; BACKUP CURRENT CONTROLFILE FOR STANDBY;</span></pre>
<p>- Archivelog</p>
<pre><span style="color:#008000;">RMAN&gt; BACKUP ARCHIVELOG ALL;</span></pre>
<p><strong>8 &#8211; Move Files to Standby Server</strong></p>
<p>On the standby server create ALL directories using the same name convention and paths used in the primary server.</p>
<p>Move the PFILE, the standby controlfile, the archivelogs and the primary database backup to the same path in the standby server (do the file movement the best way it fits for you, FTP, SCP and so on).</p>
<p><span style="color:#0000ff;"><strong>Steps for Both Databases</strong></span></p>
<p><strong>9 &#8211; Setup Oracle Net</strong></p>
<p>In order to have the redo logs being applied on the standby database, it&#8217;s necessary to have the network setup working properly. Let&#8217;s setup the listener for both database.</p>
<p>- Listener.ora on primary database<br />
<code><span style="color:#008000;">LISTENER =<br />
(DESCRIPTION_LIST =<br />
(DESCRIPTION =<br />
(ADDRESS_LIST =<br />
(ADDRESS = (PROTOCOL = TCP) (HOST = hostname_primary)(PORT = 1521))<br />
)<br />
(ADDRESS_LIST =<br />
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))<br />
)<br />
)<br />
)<br />
SID_LIST_LISTENER =<br />
(SID_LIST =<br />
(SID_DESC =<br />
(SID_NAME = PLSExtProc)<br />
(ORACLE_HOME = /usr/app/oracle/product/10.2.0)<br />
(PROGRAM = extproc) </span><br />
<span style="color:#008000;">   )<br />
(SID_DESC =<br />
(GLOBAL_DBNAME = primary)<br />
(ORACLE_HOME = /usr/app/oracle/product/10.2.0)<br />
(SID_NAME = primary)<br />
)<br />
)</span></code><br />
- Listener.ora on standby database</p>
<pre><span style="color:#008000;">LISTENER = </span>
<span style="color:#008000;">(DESCRIPTION_LIST = </span>
<span style="color:#008000;"> (DESCRIPTION = </span>
<span style="color:#008000;"> (ADDRESS_LIST = </span>
<span style="color:#008000;"> (ADDRESS = (PROTOCOL = TCP)</span>
<span style="color:#008000;"> (HOST = hostname_secondary)(PORT = 1521)) </span>
<span style="color:#008000;"> ) </span>
<span style="color:#008000;"> (ADDRESS_LIST = </span>
<span style="color:#008000;"> (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) </span>
<span style="color:#008000;"> ) </span>
<span style="color:#008000;"> ) </span>
<span style="color:#008000;">) </span>
<span style="color:#008000;">SID_LIST_LISTENER = </span>
<span style="color:#008000;">(SID_LIST = </span>
<span style="color:#008000;"> (SID_DESC = </span>
<span style="color:#008000;"> (SID_NAME = PLSExtProc) </span>
<span style="color:#008000;"> (ORACLE_HOME = /usr/app/oracle/product/10.2.0) (PROGRAM = extproc) </span>
<span style="color:#008000;"> ) </span>
<span style="color:#008000;"> (SID_DESC = </span>
<span style="color:#008000;"> (GLOBAL_DBNAME = secondary) </span>
<span style="color:#008000;"> (ORACLE_HOME = /usr/app/oracle/product/10.2.0) </span>
<span style="color:#008000;"> (SID_NAME = secondary) </span>
<span style="color:#008000;"> )</span></pre>
<p>- tnsnames.ora for both databases<br />
<code><span style="color:#008000;">primary=<br />
(DESCRIPTION =<br />
(ADDRESS_LIST =<br />
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname_primary)(PORT = 1521))<br />
)<br />
(CONNECT_DATA =<br />
(SERVER = DEDICATED)<br />
(SERVICE_NAME = primary)<br />
)<br />
)<br />
secondary=<br />
(DESCRIPTION =<br />
(ADDRESS_LIST =<br />
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname_secondary)(PORT = 1521))<br />
)<br />
(CONNECT_DATA =<br />
(SERVER = DEDICATED)<br />
(SERVICE_NAME = secondary)<br />
)<br />
) </span></code><br />
- Restart the listener in both servers</p>
<pre><span style="color:#008000;"># lsnrctl stop;</span>
<span style="color:#008000;"># lsnrctl start;</span></pre>
<p><span style="color:#0000ff;"><strong>Steps for Standby Database</strong></span></p>
<p><strong>10 &#8211; Setup instance parameters for the standby database.</strong></p>
<p>Make a copy of you PFILE to $ORACLE_HOME/dbs and save as initsecondary.ora. Edit it with the parameters below:<br />
<code><span style="color:#008000;">*.DB_UNIQUE_NAME='standby'<br />
*.DB_NAME='primary'<br />
*.INSTANCE_NAME='standby'<br />
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,standby)'<br />
*.LOG_ARCHIVE_DEST_1='LOCATION=/oradata/orcl/archive/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=standby'<br />
*.LOG_ARCHIVE_DEST_2='SERVICE=primary VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=primary'<br />
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'<br />
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'<br />
*.LOG_ARCHIVE_FORMAT='arch_%r_%t_%s.arc'<br />
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'<br />
*.SERVICE_NAMES='standby'<br />
*.STANDBY_FILE_MANAGEMENT='AUTO'<br />
*.DB_FILE_NAME_CONVERT='primary','standby'<br />
*.FAL_SERVER='primary'<br />
*.FAL_CLIENT='standby'</span></code><br />
<strong>11- Create password file for Standby database</strong></p>
<p>Follow the same steps from bullet 3 to create the <span style="color:#ff0000;">orapwstandby</span> password file for the standby database.</p>
<p><strong>12 &#8211; Startup nomount the standby database</strong></p>
<p>Set your ORACLE_SID to standby and start it up in nomount mode using the new PFILE.</p>
<pre><span style="color:#008000;">SQL&gt; startup nomount;</span></pre>
<p><strong>13 &#8211; Recover database using RMAN</strong></p>
<p>Since all the backup files are already in the same location within the standby database connect to RMAN, connect to both databases and perform the recovery as follows.</p>
<pre><span style="color:#008000;">RMAN&gt; connect target sys/pwd@primary;</span>
<span style="color:#008000;">RMAN&gt; connect aixiliary sys/pwd@standby;</span>
<span style="color:#008000;">RMAN&gt; duplicate target database for standby nofilenamecheck;</span></pre>
<p>This command will automatically mount the database in standby mode.</p>
<p>Start the automatically redo apply</p>
<pre><span style="color:#008000;">SQL&gt; alter database recover managed standby database disconnect from session;</span></pre>
<p><strong>14 &#8211; Checking if Standby database is working properly</strong></p>
<p>To check if the database is working correctly, the current log sequence must be the same in both databases.</p>
<p>- Primary database</p>
<p>SQL&gt; archive log list<br />
Database log mode              Archive Mode<br />
Automatic archival             Enabled<br />
Archive destination            /oradata/orcl/archive/<br />
Oldest online log sequence     941<br />
Next log sequence to archive   943<br />
Current log sequence           943</p>
<p>- Standby database</p>
<p>SQL&gt; archive log list<br />
Database log mode              Archive Mode<br />
Automatic archival             Enabled<br />
Archive destination            /oradata/orcl/archive/<br />
Oldest online log sequence     941<br />
Next log sequence to archive   0<br />
Current log sequence           943</p>
<p>Also check if logs are being applied</p>
<pre><span style="color:#008000;">SQL&gt; select sequence#, applied from v$archived_log order by sequence#;</span></pre>
<p>SEQUENCE# APP<br />
&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8211;<br />
935                   YES<br />
936                   YES<br />
937                   YES<br />
938                   YES<br />
939                   YES<br />
940                   YES<br />
941                    YES<br />
942                   YES</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=132&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2011/12/29/creating-oracle-standby-database-using-rman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Start eth0 on boot</title>
		<link>http://dbaseworld.wordpress.com/2011/12/24/start-eth0-on-boot/</link>
		<comments>http://dbaseworld.wordpress.com/2011/12/24/start-eth0-on-boot/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 21:33:49 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=125</guid>
		<description><![CDATA[Hey all, while checking some setups from my Linux CentOS 6, it came to my mind how boring is to remember simple steps to start my eth0 so I can access my machine remotely. To do that simply start the service as root first # ifup eth0 Once you have your network working edit the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=125&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey all, while checking some setups from my Linux CentOS 6, it came to my mind how boring is to remember simple steps to start my eth0 so I can access my machine remotely.</p>
<p>To do that simply start the service as root first</p>
<p><span style="color:#339966;"># ifup eth0</span></p>
<p>Once you have your network working edit the <span style="color:#ff0000;">ifcfg-eth0</span> file located on <span style="color:#339966;">/etc/sysconfig/network-scripts</span> (note that this path may change in different Linux distributions)</p>
<p>Change the<span style="color:#339966;"> ONBOOT=&#8221;no&#8221;</span> to <span style="color:#339966;">ONBOOT=&#8221;yes&#8221;</span></p>
<p>restart the system and it&#8217;s done.</p>
<p>Obs. It should work with any eth*.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=125&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2011/12/24/start-eth0-on-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading from Oracle 10g to 11g R2</title>
		<link>http://dbaseworld.wordpress.com/2011/12/14/upgrading-from-oracle-10g-to-11g-r2/</link>
		<comments>http://dbaseworld.wordpress.com/2011/12/14/upgrading-from-oracle-10g-to-11g-r2/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 01:55:50 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10.2.0.4]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11.2.0]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=113</guid>
		<description><![CDATA[Upgrading to Oracle 11g is a quite easy task, we are going to do that in some few steps. The way I&#8217;m doing that is by installing the new 11g binaries in a new oracle_home. I&#8217;m also performing the upgrade on a Linux CentOS operating system. You can do basically the same on different OS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=113&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Upgrading to Oracle 11g is a quite easy task, we are going to do that in some few steps.</p>
<p>The way I&#8217;m doing that is by installing the new 11g binaries in a new oracle_home. I&#8217;m also performing the upgrade on a Linux CentOS operating system. You can do basically the same on different OS just make sure to read the specific preinstallation guide.</p>
<p><strong>1. Make sure you read the Oracle 11g R2 preinstallation guide so all the prerequisites are fulfilled.</strong></p>
<p>- Download the PDF guide it he link below:<br />
<a href="http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#BABFDGHJ" target="_blank">http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#BABFDGHJ</a></p>
<p><strong>2. Creating operating system groups for Database administrators.</strong></p>
<p>- For a complete guidance on creating groups for all levels of administration and ASM refer to the pdf above. On this post I&#8217;m just creating the groups and user I&#8217;m going to work with.</p>
<p>- Create groups oinstall (used to be the oracle inventory owner) and dba (used for database administrations)</p>
<p><span style="color:#339966;"># groupadd oinstall</span><br />
<span style="color:#339966;"># groupadd dba</span></p>
<p>- Create user oracle</p>
<p><span style="color:#339966;"># useradd oracle</span> and set a password for it <span style="color:#339966;"># passwd your_pwd</span></p>
<p>- Add user oracle to dba and oinstall groups</p>
<p><span style="color:#339966;"># usermod -g dba oracle</span><br />
<span style="color:#339966;"># usermod -g oinstall oracle</span></p>
<p>For more about user creation click <a href="http://www.cyberciti.biz/faq/howto-add-new-linux-user-account/" target="_blank">here</a> and groups <a href="http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/" target="_blank">here</a>.</p>
<p>Perform the coming steps logged as user oracle.</p>
<p><strong>3. Download the binaries for 11gR2 on the link below</strong></p>
<p><a href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen" target="_blank">http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen</a></p>
<p>4. Unzip the packages</p>
<p><span style="color:#339966;"># unzip file_name.zip</span></p>
<p><strong>5. Performing Oracle 11g installation in silent mode</strong></p>
<p>I have chosen to perform the installation in silent mode since I&#8217;m not using any GUI you can do that the way it fits for you.</p>
<p>- After filling out the response file (will talk about it in a later post) where you set the new ORACLE_HOME, the SYSDBA groups and so on, run the following command from the &#8216;database&#8217; folder</p>
<p><span style="color:#339966;"># . runInstaller -silent -responseFile /home/downloads/database/response/my_response.rsp</span> (change the path and file name to your own)</p>
<p><strong>6. Run the pre-upgrade script utlu112i.sql</strong></p>
<p>- From the 10g database, login as sysdba and run script utlu112i.sql</p>
<p><span style="color:#339966;">SQL&gt; @Oracle_home11g/rdbms/admin/utlu112i.sql</span></p>
<p>This script will check any possible problems in the database to be upgraded and also update some system tables with information related to the new time zone patch and some more information.</p>
<p>Read carefully all the warnings and advises returned by the script, try to fix all of them. Below some of the most common ones:</p>
<p><code>Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]<br />
**********************************************************************<br />
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]<br />
**********************************************************************<br />
--&gt; background_dump_dest         11.1       DEPRECATED   replaced by "diagnostic_dest"<br />
--&gt; user_dump_dest               11.1       DEPRECATED   replaced by "diagnostic_dest"<br />
--&gt; core_dump_dest               11.1       DEPRECATED   replaced by "diagnostic_dest"</code></p>
<p>The above warning will show up normally just as a reminder for the deprecated parameters change. I&#8217;ll discuss it in the next bullet.</p>
<p><code>WARNING: --&gt; Database contains schemas with stale optimizer statistics. -DONE<br />
.... Refer to the Upgrade Guide for instructions to update<br />
.... schema statistics prior to upgrading the database.<br />
.... Component Schemas with stale statistics:<br />
....   SYS"</code></p>
<p>To fix that up simply run the following in your 10g oracle as SYSDBA:</p>
<p><code><span style="color:#339966;">SQL&gt;  exec dbms_stats.gather_schema_stats('SYS',options=&gt;'GATHER STALE',estimate_percent=&gt;DBMS_STATS.AUTO_SAMPLE_SIZE, method_opt=&gt;'FOR ALL COLUMNS SIZE AUTO', cascade=&gt;TRUE);</span></code></p>
<p><strong>7. Creating the new pfile and upgrading the database</strong></p>
<p>- Copy the pfile from your 10g db to the 11g path (Oracle_home_11g/dbs). If you are working with a spfile create a pfile</p>
<p><span style="color:#339966;">SQL&gt; create pfile from spfile;</span></p>
<p>- comment or remove the deprecated parameters</p>
<ul>
<li>background_dump_dest</li>
<li>user_dump_dest</li>
<li>core_dump_dest</li>
</ul>
<p>- add parameter &#8220;diagnostic_dest&#8221; and set the path you want to. Oracle will crate all the required directories and files under that path</p>
<p>- change parameter &#8220;compatible&#8221; to &#8220;11.2.0&#8243;</p>
<p><strong>8. Stopping Oracle 10g and starting 11g</strong></p>
<p>- Shutdown your Oracle 10g and change your ORACLE_HOME variable to the 11g one. Also reexport the PATH variable using the new ORACLE_HOME/bin</p>
<p>- export ORACLE_SID to the 11g db name (probably the same)</p>
<p>- startup database in upgrade mode</p>
<p><span style="color:#339966;">SQL&gt; startup upgrade;</span></p>
<p>- Run the catupgrd.sql script</p>
<p><span style="color:#339966;">SQL&gt; @?/rdbms/admin/catupgrd.sql;</span> (This script will automatically shut the database down)</p>
<p>- startup database normally and run the remaining upgrade scripts</p>
<ol>
<li><span style="color:#339966;">@?/rdbms/admin/utlu112s.sql</span> (performs an overall post upgrade check)</li>
<li><span style="color:#339966;">@?/rdbms/admin/catuppst.sql</span> (some more changes to the database system)</li>
<li><span style="color:#339966;">@?/rdbms/admin/utlrp.sql</span> (recompile invalid objects)</li>
</ol>
<p>- Move the tnsnames.ora and listener.ora from the 10g to the 11g location</p>
<p>- Make sure all the components are ok in the database</p>
<p><span style="color:#339966;">SQL&gt; select comp_name, status, version from dba_registry;</span></p>
<p><strong>9. Backup your database</strong></p>
<p>I hope it helps, if you have any questions just post a comment</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=113&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2011/12/14/upgrading-from-oracle-10g-to-11g-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Gcc / Automake / Perl/ Python and Others on Linux Red Hat / CentOS</title>
		<link>http://dbaseworld.wordpress.com/2011/12/03/installing-gcc-automake-perl-python-and-others-on-linux-red-hat-centos/</link>
		<comments>http://dbaseworld.wordpress.com/2011/12/03/installing-gcc-automake-perl-python-and-others-on-linux-red-hat-centos/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 21:13:26 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=97</guid>
		<description><![CDATA[Most of the software binaries requires the installation of several libraries in Linux, the top required are Gcc and Make. To have all of them downloaded and installed at once simply download the Development Tools group using the yum command line. $ yum groupinstall &#8216;Development Tools&#8217; The command line above will install the following libs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=97&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most of the software binaries requires the installation of several libraries in Linux, the top required are Gcc and Make.</p>
<p>To have all of them downloaded and installed at once simply download the <span style="color:#ff0000;">Development Tools</span> group using the yum command line.</p>
<p><span style="color:#339966;">$ yum groupinstall &#8216;Development Tools&#8217;</span></p>
<p>The command line above will install the following libs</p>
<ul>
<li>flex</li>
<li>redhat-rpm-config</li>
<li>strace</li>
<li>gcc</li>
<li>pkgconfig</li>
<li>gettext</li>
<li>make</li>
<li>strace64</li>
<li>rpm-build</li>
<li>gcc-c++</li>
<li>automake</li>
<li>gdb</li>
<li>bison</li>
<li>libtool</li>
<li>autoconf</li>
<li>binutils and all dependencies</li>
</ul>
<p>I hope that works for you as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=97&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2011/12/03/installing-gcc-automake-perl-python-and-others-on-linux-red-hat-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>New IBM Data Studio</title>
		<link>http://dbaseworld.wordpress.com/2010/02/18/new-ibm-data-studio/</link>
		<comments>http://dbaseworld.wordpress.com/2010/02/18/new-ibm-data-studio/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 01:43:15 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Data Studio]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DB2]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=84</guid>
		<description><![CDATA[In the eternal fight among the databases rulers like Oracle, IBM and Microsoft the GUI are getting better and better as time goes by. Now we have the brand new IBM Data Studio that comes with several utilities. Data Studio provides DBAs, Developers and Consultants to administer and develop anything through a visual and intuitive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=84&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the eternal fight among the databases rulers like Oracle, IBM and Microsoft the GUI are getting better and better as time goes by. Now we have the brand new IBM Data Studio that comes with several utilities.</p>
<p>Data Studio provides DBAs, Developers and Consultants to administer and develop anything through a visual and intuitive interface connected to DB2 and/or Informix.</p>
<p>Below are some of the features I got from IBM website:</p>
<ul>
<li>Create, alter, and drop objects, manage privileges, view data distributions<a href="http://dbaseworld.files.wordpress.com/2010/02/data_studio_book_pic.jpg"><img class="alignright size-medium wp-image-85" title="data_studio_book_pic" src="http://dbaseworld.files.wordpress.com/2010/02/data_studio_book_pic.jpg?w=212&#038;h=300" alt="eBook" width="212" height="300" /></a>, and update statistics on those objects.</li>
<li>Invoke enhanced administration support for DB2 on Linux, UNIX, and Windows including commands, utilities, and configuration support for pureScale databases.</li>
<li>Simplify query building and editing, including support for XQuery.</li>
<li>Speed data development with wizards and editors to create, test, debug, and deploy routines, such as stored procedures and user-defined functions.</li>
<li>Create Web services that easily expose database operations (SQL SELECT and DML statements, XQuery expressions, or calls to stored procedures) to client applications.</li>
<li>Install either a small, self-contained administration tool or a fully extensible platform for database development, administration, and tuning. For more information about these two downloadable packages</li>
</ul>
<p>As you can with several tools, Data Studio requires a good machine to run on and also consumes a large space in the HD.</p>
<p>With so many features a free eBook comes on a perfect time. To download the eBook simple click <span style="color:#ff0000;"><a title="eBook Data Studio" href="http://download.boulder.ibm.com/ibmdl/pub/software/data/sw-library/db2/express-c/wiki/Getting_Started_with_Data_Studio_for_DB2.pdf" target="_blank">here</a></span>. And to download Data Studio and DB2 Express-C click <span style="color:#ff0000;"><a title="Data Studio" href="http://www-01.ibm.com/software/data/db2/express/download.html?S_CMP=ECDDWW01&amp;S_TACT=RFCBOOK12" target="_blank">here</a></span>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=84&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2010/02/18/new-ibm-data-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>

		<media:content url="http://dbaseworld.files.wordpress.com/2010/02/data_studio_book_pic.jpg?w=212" medium="image">
			<media:title type="html">data_studio_book_pic</media:title>
		</media:content>
	</item>
		<item>
		<title>Start FTP Server on Linux/AIX</title>
		<link>http://dbaseworld.wordpress.com/2010/01/21/start-ftp-server-on-linuxaix/</link>
		<comments>http://dbaseworld.wordpress.com/2010/01/21/start-ftp-server-on-linuxaix/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 17:59:33 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=81</guid>
		<description><![CDATA[Through this post I&#8217;d like to share with you how to start a simple FTP server on Linux/AIX. Go to /etc/vsftpd/ and open file vsftpd.conf. There are several parameter you could set according your needs. Parameter connect_from_port_20 should be set to YES. Run /etc/init.d/vsftpd start To check if the service is running run # /etc/init.d/vsftpd [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=81&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Through this post I&#8217;d like to share with you how to start a simple FTP server on Linux/AIX.</p>
<p>Go to <span style="color:#008000;">/etc/vsftpd/</span> and open file <span style="color:#008000;">vsftpd.conf</span>. There are several parameter you could set according your needs.</p>
<p>Parameter <span style="color:#008000;">connect_from_port_20</span> should be set to YES.</p>
<p>Run <em><span style="color:#008000;">/etc/init.d/vsftpd start</span></em></p>
<p>To check if the service is running run # <em><span style="color:#008000;">/etc/init.d/vsftpd status</span></em> you should get an output like this:<em><br />
<span style="color:#008000;">vsftpd (pid xxxx) is running&#8230;</span></em></p>
<p>Make sure you have the client installed in the machines you&#8217;ll issue the ftp command. To get it installed login as root and do the following</p>
<p><span style="color:#339966;"># yum install ftp</span></p>
<p>It will download the latest ftp version and install it (if you don&#8217;t have it yet).</p>
<p>While connecting from the client, if you get an error like <span style="color:#ff0000;">&#8220;500 OOPS: cannot change directory:/home&#8230;&#8221;</span> right after providing the user and password, check if the ftp home directory is allowed to be used in the ftp server</p>
<p dir="ltr"><span style="color:#339966;">getsebool -a | grep ftp</span></p>
<p><code>allow_ftpd_anon_write --&gt; on<br />
allow_ftpd_full_access --&gt; off<br />
allow_ftpd_use_cifs --&gt; off<br />
allow_ftpd_use_nfs --&gt; off<br />
<span style="color:#ff0000;">ftp_home_dir --&gt; off</span><br />
httpd_enable_ftp_server --&gt; off</code></p>
<p>If your ftp_home_dir is set to off run the following</p>
<p dir="ltr"><span style="color:#339966;">setsebool -P ftp_home_dir on</span></p>
<p>That&#8217;s it, now you should be able to connect  from a remote computer via FTP. Don&#8217;t forget to set up iptables properly to allow remote connections on port 20.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=81&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2010/01/21/start-ftp-server-on-linuxaix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking for Database Tips!?</title>
		<link>http://dbaseworld.wordpress.com/2010/01/10/looking-for-database-tips/</link>
		<comments>http://dbaseworld.wordpress.com/2010/01/10/looking-for-database-tips/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 20:45:17 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=181</guid>
		<description><![CDATA[Just pick up one of the categories below and find out everything about the database you&#8217;re looking for! DB2 MySQL Oracle<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=181&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just pick up one of the categories below and find out everything about the database you&#8217;re looking for!</p>
<ul>
<li><a title="DB2" href="http://dbaseworld.wordpress.com/category/db2/">DB2</a></li>
</ul>
<ul>
<li><a href="http://dbaseworld.wordpress.com/category/mysql/">MySQL</a></li>
</ul>
<ul>
<li><a href="http://dbaseworld.wordpress.com/category/oracle/">Oracle</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=181&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2010/01/10/looking-for-database-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
		<item>
		<title>Script to Create a New Oracle Database</title>
		<link>http://dbaseworld.wordpress.com/2009/12/23/script-to-create-a-new-oracle-database/</link>
		<comments>http://dbaseworld.wordpress.com/2009/12/23/script-to-create-a-new-oracle-database/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 15:00:55 +0000</pubDate>
		<dc:creator>brunocfnba</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[create database]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://dbaseworld.wordpress.com/?p=69</guid>
		<description><![CDATA[If you need to create a database in Oracle 10g but doesn´t want to use the DBCA feature or are unable to use it, you could simply follow the following steps to get it created using some scripts. Before you run the script you must have an Oracle Database Installed and an instance already set up. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=69&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to create a database in Oracle 10g but doesn´t want to use the DBCA feature or are unable to use it, you could simply follow the following steps to get it created using some scripts.</p>
<p>Before you run the script you must have an Oracle Database Installed and an instance already set up.</p>
<p>To set up the instance just have its PFILE created on <span style="color:#339966;">$ORACLE_HOME/dbs/initSID.ora</span></p>
<p><span style="color:#999999;"><strong><span style="color:#333333;">1- Set you $ORACLE_SID</span></strong></span></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><em><span style="color:#008000;">export ORACLE_SID=oracle_sid_name</span></em></span></span></p>
<p><span style="color:#999999;"><span style="color:#333333;"><strong>2-Start the Instance in NOMOUNT mode</strong></span></span></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;">In order to create the database the instance should be started in NOMOUNT mode as follows:</span></span></p>
<p style="padding-left:30px;"><em><span style="color:#008000;">sqlplus / as sysdba</span></em></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><em><span style="color:#008000;">startup nomount</span></em></span></span></p>
<p><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><strong><span style="color:#333333;">3-Run Create Database Script</span></strong></span></span></span></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">With the instance started run the script below</span></span></span></span></p>
<pre style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;">create database orcl
logfile group 1 ('/path/orcl/redolog/log1/redo1.log') size 50M,
            group 2 ('/path/orcl/redolog/log2/redo2.log') size 50M,
            group 3 ('/path/orcl/redolog/log3/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/path/orcl/data/orcl_sys0.dbf' size 300M autoextend off extent management local
sysaux datafile '/path/orcl/data/sysaux.dbf' size 100M autoextend off
undo tablespace undotbs0 datafile '/pathorcl/data/orcl_und0.dbf' size 50M
default temporary tablespace temp tempfile '/path/orcl/data/orcl_tmp0.dbf' size 60M;</span></span></span></pre>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">Where:</span></span></span></span></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">LOGFILE &#8211; defines the paths and how many log groups will be created and its size;<br />
</span></span></span></span><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;"><br />
CHARACTER SET &#8211; defines the type of character set according to the region the database is and the characters used. Is used for CHAR, VARCHAR2, CLOB columns;</span></span></span></span></p>
<p style="padding-left:30px;">NATIONAL CHARACTER SET &#8211; also defines the type of character and is used for NCHAR, NVARCHAR2, NCLOB columns;</p>
<p style="padding-left:30px;">Fist datafile - defines the path whete tablespace SYSTEM will be created, autoextend was disabled for better DBA management;</p>
<p style="padding-left:30px;">SYSAUX DATAFILE - defines the path and size for tablespace SYSAUX;</p>
<p style="padding-left:30px;">UNDO TABLESPACE - defines the undo tablespace name and DATAFILE its path;</p>
<p style="padding-left:30px;">DEFAULT TEMPORARY TABLESPACE - defines the name for the temporary tablespace and TEMPFILE its path.</p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">Obs.: The script above aims the creation of a simple database. There are several others options and parameters to set up.</span></span></span></span></p>
<p><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;"><strong>4-Run Catalog and Catproc</strong></span></span></span></span></p>
<p style="padding-left:30px;"><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">Since database is created you should run the scripts catalog and catproc (both provided by oracle). Their path is $ORACLE_HOME/rdbms/admin. Just run as follows:</span></span></span></span></p>
<p style="padding-left:30px;"><span style="color:#008000;"><em>@?/rdbms/admin/catalog.sql</em></span></p>
<p style="padding-left:30px;"><span style="color:#008000;"><em>@?/rdbms/admin/catproc.sql</em></span></p>
<p><span style="color:#999999;"><span style="color:#333333;"><span style="color:#008000;"><span style="color:#333333;">Hope this is useful for you. Any doubts please comment.</span><br />
</span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaseworld.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaseworld.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaseworld.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaseworld.wordpress.com&amp;blog=7322194&amp;post=69&amp;subd=dbaseworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dbaseworld.wordpress.com/2009/12/23/script-to-create-a-new-oracle-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4218980d561ac5b87a313719e2c8ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brunocfnba</media:title>
		</media:content>
	</item>
	</channel>
</rss>
