<?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/"
	>

<channel>
	<title>dbazone</title>
	<atom:link href="http://www.dbazone.in/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.dbazone.in</link>
	<description>knowledge sharing on Oracle Database Administration</description>
	<lastBuildDate>Sat, 04 Sep 2010 12:45:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Useful UNIX command for oracle dba</title>
		<link>http://www.dbazone.in/?p=1074</link>
		<comments>http://www.dbazone.in/?p=1074#comments</comments>
		<pubDate>Sat, 04 Sep 2010 12:38:06 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Oracle on Linux]]></category>
		<category><![CDATA[oracle dba]]></category>
		<category><![CDATA[unix command for oracle dba]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1074</guid>
		<description><![CDATA[1).To find the top 10 larger files in the Directory $ls -lrt &#124; awk &#8216;{print $5,$9}&#8217; &#124; sort -nr head &#124; xargs ls -lrt 2) To find the access and Modification details of a file $istat *This command is available for AIX only 3).To remove file which are older then say 7 days $find . [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=892' rel='bookmark' title='Permanent Link: Kill Oracle process from UNIX server'>Kill Oracle process from UNIX server</a> <small>In some scenarios , my database may be hung and...</small></li>
<li><a href='http://www.dbazone.in/?p=853' rel='bookmark' title='Permanent Link: Configuring Kernel Parameters for Oracle database server'>Configuring Kernel Parameters for Oracle database server</a> <small>Impacts of  kernel parameter on oracle server ? On SGA(Shared...</small></li>
<li><a href='http://www.dbazone.in/?p=366' rel='bookmark' title='Permanent Link: Oracle Installation'>Oracle Installation</a> <small>One of the most important duties of an Oracle DBA...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>1).To find the top 10 larger files in the Directory<br />
$ls -lrt | awk &#8216;{print $5,$9}&#8217; | sort -nr head | xargs ls -lrt<br />
2) To find the access and Modification details of a file<br />
$istat<br />
*This command is available for AIX only<br />
3).To remove file which are older then say 7 days<br />
$find . -mtime +7 -exec rm {} \;</p>
<p>4). Locate Files that Contain Certain Strings</p>
<p>$ find . -print | xargs grep -i v\$dba_objects</p>
<p>5) To Delete top 10 huge files in directory,</p>
<p>Use,</p>
<p>$du -sk | sort -nr | head | awk &#8216;{print $2}&#8217;  | xargs rm -r</p>
<p>6) To list hidden files<br />
ls -al<br />
7)command is used to create a new empty file with the default permissions<br />
touch filename<br />
8.Command to used to delete a directory<br />
rm -R /dir</p>
<p>9) command is used to move or rename files and directories<br />
mv file1 file2<br />
mv * /dirname<br />
mv /dirname/* .<br />
10) command is used to copy files and directories</p>
<p>cp file1 file2<br />
cp * /dirname<br />
cp /dirname/* .</p>
<p>11)command is used to find the location of an executable you are using<br />
which executable filename</p>
<p>File permissions</p>
<p>12) command can be used to read or set default file permissions for the current user<br />
umask 022<br />
The umask value is subtracted from the default permissions (666) to give the final permission</p>
<p>13)command is used to alter file permissions after the file has been created<br />
chmod ( example chmod 777 filename or xyz*.*)<br />
14)command is used to reset the ownership of files after creation<br />
chown<br />
eaxmple chown -R oinstall.dba *</p>
<p>OS user management</p>
<p>15)command is used to add OS users<br />
useradd -G oinstall -g dba -d /usr/users/my_user -m -s /bin/ksh my_user<br />
where<br />
The &#8220;-G&#8221; flag specifies the primary group.<br />
The &#8220;-g&#8221; flag specifies the secondary group.<br />
The &#8220;-d&#8221; flag specifies the default directory.<br />
The &#8220;-m&#8221; flag creates the default directory.<br />
The &#8220;-s&#8221; flag specifies the default shell.<br />
16)command is used to modify the user settings after a user has been created<br />
usermod -s /bin/csh my_user<br />
17)command is used to delete existing users<br />
userdel -r my_user(The &#8220;-r&#8221; flag removes the default directory)<br />
18) command is used to set, or reset, the users login password<br />
passwd my_user<br />
19)command can be used to list all users who have OS connections<br />
who<br />
root&gt; who | head -5<br />
root&gt; who | tail -5<br />
root&gt; who | grep -i ora<br />
root&gt; who | wc -l</p>
<p>The &#8220;head -5&#8243; command restricts the output to the first 5 lines of the who command.<br />
The &#8220;tail -5&#8243; command restricts the output to the last 5 lines of the who command.<br />
The &#8220;grep -i ora&#8221; command restricts the output to lines containing &#8220;ora&#8221;.<br />
The &#8220;wc -l&#8221; command returns the number of lines from &#8220;who&#8221;, and hence the number of connected users</p>
<p>Process management</p>
<p>20) commands can be used to get information about the host<br />
The &#8220;uname&#8221; and &#8220;hostname&#8221; commands can be used to get information about the host:</p>
<p>root&gt; uname -a<br />
OSF1 oradb01.lynx.co.uk V5.1 2650 alpha</p>
<p>root&gt; uname -a | awk &#8216;{ print $2 }&#8217;<br />
oradb01.lynx.co.uk</p>
<p>root&gt; hostname<br />
oradb01.lynx.co.uk</p>
<p>Error lines in Files<br />
cat alert_LIN1.log | grep -i ORA- ( i- case insensitive)<br />
cat alert_LIN1.log | grep -i ORA- | wc -l</p>
<p>Remove Old Files</p>
<p>The find command can be used to supply a list of files to the rm command:</p>
<p>find /backup/logs/ -name daily_backup* -mtime +21 -exec rm -f {} ;<br />
Remove DOS CR/LFs (^M)<br />
Remove DOS style CR/LF characters (^M) from UNIX files using:</p>
<p>sed -e &#8216;s/^M$//&#8217; filename &gt; tempfile<br />
The newly created tempfile should have the ^M character removed.</p>
<p>Compress Files<br />
In order to save space on the filesystem you may wish to compress files such as archived redo logs. This can be using either the gzip or the compress commands. The gzip command results in a compressed copy of the original file with a &#8220;.gz&#8221; extension. The gunzip command reverses this process:</p>
<p>gzip myfile<br />
gunzip myfile.gz<br />
The compress command results in a compressed copy of the original file with a &#8220;.Z&#8221; extension. The uncompress command reverses this process:</p>
<p>compress myfile<br />
uncompress myfile</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074&amp;title=Useful+UNIX+command+for+oracle+dba"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074&amp;title=Useful+UNIX+command+for+oracle+dba"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074&amp;title=Useful+UNIX+command+for+oracle+dba"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074&amp;headline=Useful+UNIX+command+for+oracle+dba"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Useful+UNIX+command+for+oracle+dba&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Useful+UNIX+command+for+oracle+dba&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Useful+UNIX+command+for+oracle+dba&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Useful+UNIX+command+for+oracle+dba&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Useful+UNIX+command+for+oracle+dba&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074&amp;title=Useful+UNIX+command+for+oracle+dba&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1074"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=892' rel='bookmark' title='Permanent Link: Kill Oracle process from UNIX server'>Kill Oracle process from UNIX server</a> <small>In some scenarios , my database may be hung and...</small></li>
<li><a href='http://www.dbazone.in/?p=853' rel='bookmark' title='Permanent Link: Configuring Kernel Parameters for Oracle database server'>Configuring Kernel Parameters for Oracle database server</a> <small>Impacts of  kernel parameter on oracle server ? On SGA(Shared...</small></li>
<li><a href='http://www.dbazone.in/?p=366' rel='bookmark' title='Permanent Link: Oracle Installation'>Oracle Installation</a> <small>One of the most important duties of an Oracle DBA...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1074</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Tracing</title>
		<link>http://www.dbazone.in/?p=1071</link>
		<comments>http://www.dbazone.in/?p=1071#comments</comments>
		<pubDate>Sat, 31 Jul 2010 12:01:17 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Tools & Utilities  for Oracle]]></category>
		<category><![CDATA[10046 trace event]]></category>
		<category><![CDATA[SQL Tracing]]></category>
		<category><![CDATA[Trace Level]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1071</guid>
		<description><![CDATA[We can enable SQL Tracing at different levels of database operations. Following sections of this document describes the different procedures to enable the SQL Tracing. Enable at the database level SQL&#62;ALTER SYSTEM SET sql_trace = true SCOPE=MEMORY; &#8211; to enable SQL&#62;ALTER SYSTEM SET sql_trace = false SCOPE=MEMORY; &#8211; to disable Alternately  we can configure the  [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=896' rel='bookmark' title='Permanent Link: Killing Oracle Sessions'>Killing Oracle Sessions</a> <small>There are different ways to kill oracle sessions From  SQL*PLUS...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We can enable <strong>SQL Tracing</strong> at different levels of database operations. Following sections of this document describes the different procedures to enable the SQL Tracing.</p>
<p><strong>Enable at the database level </strong></p>
<p>SQL&gt;ALTER SYSTEM SET sql_trace = true SCOPE=MEMORY; &#8211; to enable<br />
SQL&gt;ALTER SYSTEM SET sql_trace = false SCOPE=MEMORY; &#8211; to disable</p>
<p>Alternately  we can configure the  SQL_TRACE  parameter  in  the init.ora file. This will enable trace for all sessions and the background<br />
sql_trace = TRUE &#8212; to enable<br />
sql_trace = FALSE &#8212; to disable</p>
<p><strong>Enable SQL trace for current session</strong></p>
<p>SQL&gt;ALTER SESSION SET sql_trace = TRUE; &#8212; to enable<br />
SQL&gt;ALTER SESSION SET sql_trace = FALSE; &#8212; to disable</p>
<p><strong>Enable SQL trace for another session</strong></p>
<p>Oracle DBA can use DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION procedure to enable or  disable <strong>SQL tracing</strong> for a particular session.</p>
<p>Before we can checked the session ID and session serial# for the perticur session  by using the following query</p>
<p>SQL&gt;SELECT  sid,serial#  FROM v$session WHERE  osuser = OSUSER;</p>
<p>After getting the sid and serial# , we can user the following command to enable the session SQl tracing</p>
<p>SQL&gt;EXEC dbms_system.set_sql_trace_in_session (SID, SERIAL#, TRUE);<br />
SQL&gt;EXEC dbms_system.set_sql_trace_in_session (SID, SERIAL#, FALSE);<br />
SQL&gt;EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=&gt;SID, serial#=&gt;SERIAL, sql_trace=&gt;TRUE);<br />
SQL&gt;EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=&gt;SID, serial#=&gt;SERIAL, sql_trace=&gt;FALSE);</p>
<p>In Oracle 10g the SQL tracing options have been centralized and extended using the <code><strong>DBMS_MONITOR</strong></code> package. Following is  a few possible variations for enabling and disabling SQL trace in Oracle 10g.</p>
<p>SQL&gt; EXEC DBMS_MONITOR.session_trace_enable;<br />
SQL&gt; EXEC DBMS_MONITOR.session_trace_enable(waits=&gt;TRUE, binds=&gt;FALSE);<br />
SQL&gt; EXEC DBMS_MONITOR.session_trace_disable;<br />
SQL&gt; EXEC DBMS_MONITOR.session_trace_enable(session_id=&gt;sid, serial_num=&gt;serial#);<br />
SQL&gt; EXEC DBMS_MONITOR.session_trace_enable(session_id =&gt;sid, serial_num=&gt;serial#, waits=&gt;TRUE, binds=&gt;FALSE);<br />
SQL&gt; EXEC DBMS_MONITOR.session_trace_disable(session_id=&gt;1234, serial_num=&gt;1234);<br />
SQL&gt; EXEC DBMS_MONITOR.client_id_trace_enable(client_id=&gt;&#8217;client&#8217;);<br />
SQL&gt; EXEC DBMS_MONITOR.client_id_trace_enable(client_id=&gt;&#8217;client&#8217;, waits=&gt;TRUE, binds=&gt;FALSE);<br />
SQL&gt; EXEC DBMS_MONITOR.client_id_trace_disable(client_id=&gt;&#8217;client&#8217;);</p>
<p><strong>10046 trace event </strong></p>
<p>The <strong>10046 trace event</strong> allows to capture tracing at a very fine level, the execution of a given set of SQL statements. This can be enable at session level or database level. This event can be set in the parameter file, or by dynamically for the database session or even for another session.</p>
<pre>SQL&gt; ALTER SESSION SET EVENTS '10046 trace name context forever, level 8';
SQL&gt; ALTER SESSION SET EVENTS '10046 trace name context off';
</pre>
<p><strong>Identify Oracle trace files</strong></p>
<p>Trace output is written to the database&#8217;s UDUMP/BDUMP directory.The default naming convention for the trace files is  “DB_NAME”_ORA_”SID”.trc where:<br />
* DB_NAME  is the name of the Oracle SID,<br />
* SID is the session id</p>
<p><strong>Formating trace file</strong><br />
Trace output is not easily readable. TKProf oracle provided utility is used to format trace output.</p>
<p><strong>Check the Environment </strong></p>
<p>Before tracing enabled ,the environment must  be configured by performing the following steps:</p>
<p><strong>Enable Timed Statistics</strong> – <strong>TIMED_STATISTICS</strong> parameter enables the collection of certain vital statistics such as CPU execution time, wait events, and elapsed times.The trace output is more meaningful with setting of this parameter.</p>
<p>The command to enable timed statistics is:</p>
<p>SQL&gt; ALTER SYSTEM SET TIMED_STATISTICS = TRUE;</p>
<p><strong>Check the User Dump Destination Directory</strong> – The trace files is generated at the place configured as &#8220;user_dump_dest&#8221; parameter in the init.ora file .Before activating tracing make sure that enough space exists on the device to support the number of trace files that you expect to generate.</p>
<p><strong>Trace Level </strong></p>
<table style="height: 116px;" border="1" cellspacing="0" cellpadding="0" width="477">
<tbody>
<tr>
<td width="107" valign="top">Trace   level</td>
<td width="483" valign="top">Description</td>
</tr>
<tr>
<td width="107" valign="top">1</td>
<td width="483" valign="top">Basic   trace level. Like the standard SQL_TRACE trace file. Provides statistics for   parse, execute, fetch, commit and rollback database calls.</td>
</tr>
<tr>
<td width="107" valign="top">4</td>
<td width="483" valign="top">Displays   bind variables</td>
</tr>
<tr>
<td width="107" valign="top">8</td>
<td width="483" valign="top">Displays   wait statistics</td>
</tr>
<tr>
<td width="107" valign="top">12</td>
<td width="483" valign="top">Displays   wait statistics and bind variables</td>
</tr>
</tbody>
</table>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071&amp;title=SQL+Tracing"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071&amp;title=SQL+Tracing"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071&amp;title=SQL+Tracing"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071&amp;headline=SQL+Tracing"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=SQL+Tracing&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=SQL+Tracing&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=SQL+Tracing&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=SQL+Tracing&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=SQL+Tracing&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071&amp;title=SQL+Tracing&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1071"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=896' rel='bookmark' title='Permanent Link: Killing Oracle Sessions'>Killing Oracle Sessions</a> <small>There are different ways to kill oracle sessions From  SQL*PLUS...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1071</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Kernel Parameters for Oracle database server</title>
		<link>http://www.dbazone.in/?p=853</link>
		<comments>http://www.dbazone.in/?p=853#comments</comments>
		<pubDate>Tue, 29 Jun 2010 12:42:11 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Oracle on Linux]]></category>
		<category><![CDATA[Configuring Kernel Parameters during oracle database installation]]></category>
		<category><![CDATA[impact of  kernel parameter setting on oracle server]]></category>
		<category><![CDATA[kernel parameters]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=853</guid>
		<description><![CDATA[Impacts of  kernel parameter on oracle server ? On SGA(Shared Global area) on oracle server Impacts on the total number of users and files in the database Impacts the number of users and the ability to use some optional features. To see all kernel parameters value on your system . execute the following command. su [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=403' rel='bookmark' title='Permanent Link: Oracle Initialization Parameters'>Oracle Initialization Parameters</a> <small>On startup of Oracle database instance,Oracle reads Initialization Parameters stored...</small></li>
<li><a href='http://www.dbazone.in/?p=207' rel='bookmark' title='Permanent Link: Initialization Parameters in Oracle'>Initialization Parameters in Oracle</a> <small>On startup of Oracle database instance,Oracle reads Initialization Parameters stored...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h4>Impacts of  kernel parameter on oracle server ?</h4>
<ul>
<li>On SGA(Shared Global area) on oracle server</li>
<li> Impacts on the total number of users and files in the database</li>
<li>Impacts the number of users and the ability to use some optional features.</li>
</ul>
<p>To see all <strong>kernel parameters</strong> value on your system . execute the following command.</p>
<p>su &#8211; root<br />
sysctl -a</p>
<p><span id="more-853"></span></p>
<h4>List of Kernel Parameters :</h4>
<p>shmmax<br />
shmall<br />
shmmni<br />
sem<br />
fs.file-max<br />
fs.aio-max-nr<br />
net.ipv4.ip_local_port_range<br />
net.core.rmem_default<br />
net.core.rmem_max<br />
net.core.wmem_default<br />
net.core.wmem_max</p>
<h4>How we can change the Kernel parameters?</h4>
<p>If the value of any kernel parameter is different from the recommended value, then change the value to for better performance of the system.<br />
In Linux kernel parameters are stores in the file <strong>/etc/sysctl.conf</strong> file.<br />
To change the parameters follow the following steps.</p>
<ol>
<li>Edit the file /etc/sysctl.conf</li>
<li>Add or edit lines similar to the following</li>
</ol>
<p>Note :<br />
Include lines only for the kernel parameter values that you want to change.<br />
For the semaphore parameters (kernel.sem), you must specify all four values. However, if any of the current system parameter values are greater than the recommended values, then keep using the larger values.</p>
<p>kernel.shmall = 2097152<br />
kernel.shmmax = 2147483648<br />
kernel.shmmni = 4096<br />
kernel.sem = 250 32000 100 128<br />
fs.file-max = 65536<br />
fs.aio-max-nr=1048576<br />
net.ipv4.ip_local_port_range = 1024 65000<br />
net.core.rmem_default = 262144<br />
net.core.rmem_max = 4194304<br />
net.core.wmem_default = 262144<br />
net.core.wmem_max = 4194304</p>
<p>Setting <strong>kernel parameters</strong> value in the  /etc/sysctl.conf file  persist when you restart the system.</p>
<p>Execute following command to effect Kernel changes immediately to server</p>
<p>su &#8211; root<br />
sysctl -p</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853&amp;title=Configuring+Kernel+Parameters+for+Oracle+database+server"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853&amp;title=Configuring+Kernel+Parameters+for+Oracle+database+server"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853&amp;title=Configuring+Kernel+Parameters+for+Oracle+database+server"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853&amp;headline=Configuring+Kernel+Parameters+for+Oracle+database+server"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853&amp;title=Configuring+Kernel+Parameters+for+Oracle+database+server&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D853"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=403' rel='bookmark' title='Permanent Link: Oracle Initialization Parameters'>Oracle Initialization Parameters</a> <small>On startup of Oracle database instance,Oracle reads Initialization Parameters stored...</small></li>
<li><a href='http://www.dbazone.in/?p=207' rel='bookmark' title='Permanent Link: Initialization Parameters in Oracle'>Initialization Parameters in Oracle</a> <small>On startup of Oracle database instance,Oracle reads Initialization Parameters stored...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=853</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ORA-01078: failure in processing system parameters</title>
		<link>http://www.dbazone.in/?p=1051</link>
		<comments>http://www.dbazone.in/?p=1051#comments</comments>
		<pubDate>Wed, 28 Apr 2010 10:10:51 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Ora Error]]></category>
		<category><![CDATA[ORA-01078: failure in processing system parameters]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1051</guid>
		<description><![CDATA[SQL&#62; startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file &#8216;D:\\ORACLE\\PRODUCT\\10.2.0\\DB_1\\DATABASE\\INITORCL.ORA&#8217; SQL&#62; create pfile from spfile=&#8217;D:\\oracle\\product\\10.2.0\\db_1\\dbs\\SPFILEORCL.ora&#8217; ; File created. SQL&#62; startup ORACLE instance started. Total System Global Area  612368384 bytes Fixed Size                  1250452 bytes Variable Size             197135212 bytes Database Buffers          411041792 bytes Redo Buffers                2940928 bytes Database mounted. Database opened. SQL&#62; [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=1049' rel='bookmark' title='Permanent Link: ORA-12638: Credential retrieval failed'>ORA-12638: Credential retrieval failed</a> <small>Today while I am going to startup my database ,...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>SQL&gt; startup<br />
<strong>ORA-01078: failure in processing system parameters</strong><br />
LRM-00109: could not open parameter file &#8216;D:\\ORACLE\\PRODUCT\\10.2.0\\DB_1\\DATABASE\\INITORCL.ORA&#8217;<br />
SQL&gt; create pfile from spfile=&#8217;D:\\oracle\\product\\10.2.0\\db_1\\dbs\\SPFILEORCL.ora&#8217;<br />
;</p>
<p>File created.</p>
<p>SQL&gt; startup<br />
ORACLE instance started.</p>
<p>Total System Global Area  612368384 bytes<br />
Fixed Size                  1250452 bytes<br />
Variable Size             197135212 bytes<br />
Database Buffers          411041792 bytes<br />
Redo Buffers                2940928 bytes<br />
Database mounted.<br />
Database opened.<br />
SQL&gt;</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051&amp;title=ORA-01078%3A+failure+in+processing+system+parameters"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051&amp;title=ORA-01078%3A+failure+in+processing+system+parameters"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051&amp;title=ORA-01078%3A+failure+in+processing+system+parameters"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051&amp;headline=ORA-01078%3A+failure+in+processing+system+parameters"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=ORA-01078%3A+failure+in+processing+system+parameters&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=ORA-01078%3A+failure+in+processing+system+parameters&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=ORA-01078%3A+failure+in+processing+system+parameters&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=ORA-01078%3A+failure+in+processing+system+parameters&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=ORA-01078%3A+failure+in+processing+system+parameters&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051&amp;title=ORA-01078%3A+failure+in+processing+system+parameters&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1051"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=1049' rel='bookmark' title='Permanent Link: ORA-12638: Credential retrieval failed'>ORA-12638: Credential retrieval failed</a> <small>Today while I am going to startup my database ,...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1051</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-12638: Credential retrieval failed</title>
		<link>http://www.dbazone.in/?p=1049</link>
		<comments>http://www.dbazone.in/?p=1049#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:58:34 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Ora Error]]></category>
		<category><![CDATA[ORA-12638: Credential retrieval failed]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1049</guid>
		<description><![CDATA[Today while I am going to startup my database , I found the following error SQL&#62; startup ORA-12638: Credential retrieval failed I have edited the sqlnet.ora file and modified the same as follows Before &#8211; SQLNET.AUTHENTICATION_SERVICES= (NTS) After &#8211; SQLNET.AUTHENTICATION_SERVICES= (NONE) After modification , I perform the following operation to bring the database open SQL&#62; [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=1051' rel='bookmark' title='Permanent Link: ORA-01078: failure in processing system parameters'>ORA-01078: failure in processing system parameters</a> <small>SQL&gt; startup ORA-01078: failure in processing system parameters LRM-00109: could...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
<li><a href='http://www.dbazone.in/?p=116' rel='bookmark' title='Permanent Link: The Oracle Instance'>The Oracle Instance</a> <small>When Oracle database started, a memory structure, called the System...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today while I am going to startup my database , I found the following error</p>
<p>SQL&gt; startup<br />
ORA-12638: Credential retrieval failed</p>
<p>I have edited the sqlnet.ora file and modified the same as follows</p>
<p>Before &#8211; SQLNET.AUTHENTICATION_SERVICES= (NTS)</p>
<p>After &#8211; SQLNET.AUTHENTICATION_SERVICES= (NONE)</p>
<p>After modification , I perform the following operation to bring the database open</p>
<p>SQL&gt; shutdown immediate;<br />
ORA-01507: database not mounted<br />
ORACLE instance shut down.<br />
SQL&gt; startup<br />
ORACLE instance started.</p>
<p>Total System Global Area  612368384 bytes<br />
Fixed Size                  1250452 bytes<br />
Variable Size             192940908 bytes<br />
Database Buffers          415236096 bytes<br />
Redo Buffers                2940928 bytes<br />
Database mounted.<br />
Database opened.<br />
SQL&gt;</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049&amp;title=ORA-12638%3A+Credential+retrieval+failed"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049&amp;title=ORA-12638%3A+Credential+retrieval+failed"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049&amp;title=ORA-12638%3A+Credential+retrieval+failed"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049&amp;headline=ORA-12638%3A+Credential+retrieval+failed"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=ORA-12638%3A+Credential+retrieval+failed&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=ORA-12638%3A+Credential+retrieval+failed&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=ORA-12638%3A+Credential+retrieval+failed&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=ORA-12638%3A+Credential+retrieval+failed&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=ORA-12638%3A+Credential+retrieval+failed&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049&amp;title=ORA-12638%3A+Credential+retrieval+failed&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1049"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=1051' rel='bookmark' title='Permanent Link: ORA-01078: failure in processing system parameters'>ORA-01078: failure in processing system parameters</a> <small>SQL&gt; startup ORA-01078: failure in processing system parameters LRM-00109: could...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
<li><a href='http://www.dbazone.in/?p=116' rel='bookmark' title='Permanent Link: The Oracle Instance'>The Oracle Instance</a> <small>When Oracle database started, a memory structure, called the System...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1049</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle database Logical and Physical Backups</title>
		<link>http://www.dbazone.in/?p=1045</link>
		<comments>http://www.dbazone.in/?p=1045#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:07:20 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Database Backup]]></category>
		<category><![CDATA[Database backup and Recovery]]></category>
		<category><![CDATA[Logical Backups]]></category>
		<category><![CDATA[Physical Backups]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1045</guid>
		<description><![CDATA[Oracle database backup is an important role for oracle DBA. Physical Backups Oracle database physical backup includes of backing up the  physical files as Datafiles Archived redo logs Control files Network files (tnsnames.ora,listener.ora,sqlnet.ora) Parameter file Physical backups are made on the disk or on the tape devices. Logical Backups Oracle database logical backup made using [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=430' rel='bookmark' title='Permanent Link: Oracle database backup'>Oracle database backup</a> <small>Database backup is a primary goal of an Oracle DBA...</small></li>
<li><a href='http://www.dbazone.in/?p=121' rel='bookmark' title='Permanent Link: Oracle database Logical structures'>Oracle database Logical structures</a> <small>Oracle logical structures includes oracle data blocks, extents, segments and...</small></li>
<li><a href='http://www.dbazone.in/?p=416' rel='bookmark' title='Permanent Link: RMAN Backup'>RMAN Backup</a> <small>Oracle Recovery manager commonly known as RMAN is a very...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Oracle database backup is an important role for oracle DBA.</p>
<p><strong>Physical Backups</strong></p>
<p>Oracle database physical backup includes of backing up the  physical files as</p>
<ul>
<li>Datafiles</li>
<li>Archived redo logs</li>
<li>Control files</li>
<li>Network files (tnsnames.ora,listener.ora,sqlnet.ora)</li>
<li>Parameter file</li>
</ul>
<p>Physical backups are made on the disk or on the tape devices.</p>
<p><strong>Logical Backups</strong></p>
<p>Oracle database logical backup made using export utility (using exp or expdb command ).</p>
<p>Logical backup contain logical objects like tables  and procedures .<br />
These backups are in binary form and can be extracted only using import(imp or impdp command)  utility. Logical backup is an optional way to protect database.</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045&amp;title=Oracle+database+Logical+and+Physical+Backups"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045&amp;title=Oracle+database+Logical+and+Physical+Backups"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045&amp;title=Oracle+database+Logical+and+Physical+Backups"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045&amp;headline=Oracle+database+Logical+and+Physical+Backups"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Oracle+database+Logical+and+Physical+Backups&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Oracle+database+Logical+and+Physical+Backups&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Oracle+database+Logical+and+Physical+Backups&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Oracle+database+Logical+and+Physical+Backups&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Oracle+database+Logical+and+Physical+Backups&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045&amp;title=Oracle+database+Logical+and+Physical+Backups&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1045"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=430' rel='bookmark' title='Permanent Link: Oracle database backup'>Oracle database backup</a> <small>Database backup is a primary goal of an Oracle DBA...</small></li>
<li><a href='http://www.dbazone.in/?p=121' rel='bookmark' title='Permanent Link: Oracle database Logical structures'>Oracle database Logical structures</a> <small>Oracle logical structures includes oracle data blocks, extents, segments and...</small></li>
<li><a href='http://www.dbazone.in/?p=416' rel='bookmark' title='Permanent Link: RMAN Backup'>RMAN Backup</a> <small>Oracle Recovery manager commonly known as RMAN is a very...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1045</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring background Jobs on UNIX systems</title>
		<link>http://www.dbazone.in/?p=1038</link>
		<comments>http://www.dbazone.in/?p=1038#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:27:26 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Oracle on Linux]]></category>
		<category><![CDATA[monitor background jobs on UNIX]]></category>
		<category><![CDATA[UNIX commands]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1038</guid>
		<description><![CDATA[To monitor background jobs on UNIX, you can use the following commands : jobs ps jobs command jobs command will list all the jobs running in the background as follows: [1]  &#8211; 12427 Running              test.pl [2]  + 12540 Stopped            myprog.pl The value within “[]” is the job number. By this number you can control our [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=1035' rel='bookmark' title='Permanent Link: Controling jobs on UNIX systems'>Controling jobs on UNIX systems</a> <small>UNIX  job monitoring and control facilities allows you to monitor...</small></li>
<li><a href='http://www.dbazone.in/?p=1031' rel='bookmark' title='Permanent Link: Background jobs on Unix impact on System Performance'>Background jobs on Unix impact on System Performance</a> <small>Is your background jobs on Unix impact on System Performance?...</small></li>
<li><a href='http://www.dbazone.in/?p=892' rel='bookmark' title='Permanent Link: Kill Oracle process from UNIX server'>Kill Oracle process from UNIX server</a> <small>In some scenarios , my database may be hung and...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>To<strong> monitor background jobs</strong> <strong>on UNIX</strong>, you can use the following commands :</p>
<ul>
<li> jobs</li>
<li> ps</li>
</ul>
<p><strong>jobs command</strong></p>
<p>jobs command will list all the jobs running in the background as follows:<br />
[1]  &#8211; 12427 Running              test.pl<br />
[2]  + 12540 Stopped            myprog.pl</p>
<p>The value within “[]” is the job number. By this number you can control our jobs, like you can kill job or  bring the job to foreground.</p>
<p><strong>ps command</strong></p>
<p>ps    command will display a list of processes as follows</p>
<p>PID TTY      TIME CMD<br />
12427  pts/10   1:07  test.pl</p>
<p>Where</p>
<ul>
<li>PID – Process identification number. By this number you can kill the process.</li>
<li>TTY- terminal name where the process is executing</li>
<li>TIME – time elapsed</li>
<li>CMS- the process name, your script or program name</li>
</ul>
<p><strong>Bringing Job to the Foreground</strong></p>
<p>Please remember, a background job may be brought to the foreground if it was initiated during the current login session. Jobs which were initiated during other login sessions and which are still running cannot be brought to the foreground. However, it is possible to send signals to such jobs using the &#8220;kill&#8221; command. A background job or a stopped job may be brought to the foreground with &#8221; fg&#8221; command.</p>
<p><strong>fg  %1</strong> , 1 is the job number</p>
<p><strong>Terminating Background Jobs</strong></p>
<p>Jobs from the current session can usually be terminated by bringing them to the foreground and interrupting them with control-c key.</p>
<p>Another way for terminating jobs running under your user id  with  &#8220;kill&#8221; command.</p>
<p><strong>Different way to terminate a job</strong></p>
<p>By job id number as follows :</p>
<p>kill -9 %1</p>
<p>By Process Id (PID) as follows :</p>
<p>kill -9 PID</p>
<p>Please remember with kill you can not only terminate jobs for current session, you can terminate jobs initiated by other user login session also.</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038&amp;title=Monitoring+background+Jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038&amp;title=Monitoring+background+Jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038&amp;title=Monitoring+background+Jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038&amp;headline=Monitoring+background+Jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Monitoring+background+Jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Monitoring+background+Jobs+on+UNIX+systems&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Monitoring+background+Jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Monitoring+background+Jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Monitoring+background+Jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038&amp;title=Monitoring+background+Jobs+on+UNIX+systems&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1038"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=1035' rel='bookmark' title='Permanent Link: Controling jobs on UNIX systems'>Controling jobs on UNIX systems</a> <small>UNIX  job monitoring and control facilities allows you to monitor...</small></li>
<li><a href='http://www.dbazone.in/?p=1031' rel='bookmark' title='Permanent Link: Background jobs on Unix impact on System Performance'>Background jobs on Unix impact on System Performance</a> <small>Is your background jobs on Unix impact on System Performance?...</small></li>
<li><a href='http://www.dbazone.in/?p=892' rel='bookmark' title='Permanent Link: Kill Oracle process from UNIX server'>Kill Oracle process from UNIX server</a> <small>In some scenarios , my database may be hung and...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1038</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controling jobs on UNIX systems</title>
		<link>http://www.dbazone.in/?p=1035</link>
		<comments>http://www.dbazone.in/?p=1035#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:20:57 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Oracle on Linux]]></category>
		<category><![CDATA[Commands to control your jobs on UNIX systems]]></category>
		<category><![CDATA[UNIX commands]]></category>
		<category><![CDATA[UNIX job monitoring]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1035</guid>
		<description><![CDATA[UNIX  job monitoring and control facilities allows you to monitor the jobs executed on background and bring the jobs on foreground . Here I like to  described different command used to control your jobs on background as well as foreground. Commands to control your jobs on UNIX systems jobs -  This command check the status [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=1038' rel='bookmark' title='Permanent Link: Monitoring background Jobs on UNIX systems'>Monitoring background Jobs on UNIX systems</a> <small>To monitor background jobs on UNIX, you can use the...</small></li>
<li><a href='http://www.dbazone.in/?p=1031' rel='bookmark' title='Permanent Link: Background jobs on Unix impact on System Performance'>Background jobs on Unix impact on System Performance</a> <small>Is your background jobs on Unix impact on System Performance?...</small></li>
<li><a href='http://www.dbazone.in/?p=896' rel='bookmark' title='Permanent Link: Killing Oracle Sessions'>Killing Oracle Sessions</a> <small>There are different ways to kill oracle sessions From  SQL*PLUS...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>UNIX  job monitoring</strong> and control facilities allows you to monitor the jobs executed on background and bring the jobs on foreground . Here I like to  described different command used to control your jobs on background as well as foreground.</p>
<p><strong>Commands to control your jobs on UNIX systems</strong></p>
<p><strong>jobs </strong>-  This command check the status of the jobs in the current session. It shows the jobs executing on background also.</p>
<p><strong>ps –u </strong>– This command check the status of processes including those from other sessions.</p>
<p><strong>kill -9 %1</strong> -  kill a job ( 1 is job number, preceding % sign) by job number</p>
<p><strong>kill -9 PID</strong> – kill a process by PID (Process ID ) number</p>
<p><strong>bg</strong> – Run the most recently stopped  job on the background</p>
<p><strong>fg</strong>- Bring the most recently backgrounder job to foreground</p>
<p><strong>fg %1</strong> –Bring a job to foreground by specifying job number</p>
<p><strong>Control-z</strong> – Stop foreground job and return you to shell prompt. Remember this will not kill the job</p>
<p><strong>Difference between Foreground and Background jobs</strong></p>
<p><strong>Foreground job</strong> can interrupt using  keyboard input and signals such as Control-C from the controlling terminal, background jobs cannot. If your  are disconnected from your session, foreground jobs are terminated by a hang-up signal, while backgrounds jobs are not. Both foreground and background jobs can write to the controlling terminal.</p>
<p><strong>How you can put a Job in the Background</strong></p>
<p>To initiate a job in the background, you have to put an <strong>ampersand (&amp;)</strong> at the end of the command line. For example if your script name is <strong>test.sh</strong> and want to execute on the background, then use the following command at the command line.</p>
<p><strong>sh test.sh &amp;</strong></p>
<p>If you want to put a job in background, which is already running on foreground, then first stop the job by pressing control-Z and type bg command.</p>
<p>Read about<strong> </strong><a title="monitoring background jobs on UNIX" href="http://www.dbazone.in/?p=1038" target="_self">monitoring background jobs on UNIX</a></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035&amp;title=Controling+jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035&amp;title=Controling+jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035&amp;title=Controling+jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035&amp;headline=Controling+jobs+on+UNIX+systems"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Controling+jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Controling+jobs+on+UNIX+systems&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Controling+jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Controling+jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Controling+jobs+on+UNIX+systems&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035&amp;title=Controling+jobs+on+UNIX+systems&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1035"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=1038' rel='bookmark' title='Permanent Link: Monitoring background Jobs on UNIX systems'>Monitoring background Jobs on UNIX systems</a> <small>To monitor background jobs on UNIX, you can use the...</small></li>
<li><a href='http://www.dbazone.in/?p=1031' rel='bookmark' title='Permanent Link: Background jobs on Unix impact on System Performance'>Background jobs on Unix impact on System Performance</a> <small>Is your background jobs on Unix impact on System Performance?...</small></li>
<li><a href='http://www.dbazone.in/?p=896' rel='bookmark' title='Permanent Link: Killing Oracle Sessions'>Killing Oracle Sessions</a> <small>There are different ways to kill oracle sessions From  SQL*PLUS...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1035</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Background jobs on Unix impact on System Performance</title>
		<link>http://www.dbazone.in/?p=1031</link>
		<comments>http://www.dbazone.in/?p=1031#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:55:38 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Oracle on Linux]]></category>
		<category><![CDATA[background jobs in Unix]]></category>
		<category><![CDATA[command to check current system load]]></category>
		<category><![CDATA[job priority]]></category>
		<category><![CDATA[nice command]]></category>
		<category><![CDATA[renice command]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1031</guid>
		<description><![CDATA[Is your background jobs on Unix impact on System Performance? Yes, but it depends upon the priority of the job and how much RAM they require to run. Large jobs like  you are downloading a huge file from the web, can consume immense amount of RAM which can be very painful for your system performance [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=1038' rel='bookmark' title='Permanent Link: Monitoring background Jobs on UNIX systems'>Monitoring background Jobs on UNIX systems</a> <small>To monitor background jobs on UNIX, you can use the...</small></li>
<li><a href='http://www.dbazone.in/?p=1035' rel='bookmark' title='Permanent Link: Controling jobs on UNIX systems'>Controling jobs on UNIX systems</a> <small>UNIX  job monitoring and control facilities allows you to monitor...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Is your <strong>background jobs on Unix</strong> impact on System Performance?</p>
<p>Yes, but it depends upon the priority of the job and how much RAM they require to run. Large jobs like  you are downloading a huge file from the web, can consume immense amount of RAM which can be very painful for your system performance . If your job requires too much RAM, the system CPU will be wasting a lot of time swapping memory to and from disk rather than executing the jobs.</p>
<p>Secondly ,other variable affects your system performance is <strong>job priority</strong>. If your jobs run at low priority, they will be executed at the system’s leisure time and your system performance  will not affected . If they run at normal priority, they will increase the competition for resources and finally performance of your may be degraded. On a heavily loaded system, jobs should only be put into the background at low priority, using the “nice” (Which is very nice to balance  your system performance) command. Very simple to use nice command. Just put “nice” before your regular command.</p>
<p>For example, if you normally execute your program with the following</p>
<p><strong>myscript  &lt; inputfile &gt; outfile &amp;</strong></p>
<p>where myscript reads from &#8221; inputfile” and writes to &#8221; outfile &#8221; . To run the same in low priority  you should use as follows :</p>
<p><strong>nice -19  myscript  &lt; inputfile &gt; outfile &amp;</strong></p>
<p>There is a command to determine current load of your system , which is &#8220;uptime&#8221; command .<strong><br />
</strong></p>
<p>The output of the &#8220;uptime&#8221; command looks like as follows</p>
<p>14:49:07 up 192 days,4:15,105 users,load average: 0.16,0.52,0.34</p>
<p>Have you noticed three numbers at the right of the resulting report ? These three numbers indicate the load of your system . If the first number of the three number is more than 3, then background jobs only initiated with low priority (niced)</p>
<p><strong> &#8220;renice&#8221; command </strong></p>
<p>To change the priority of a job , which is already running, you can use  “renice” command.</p>
<p>For example,If one job is already running, you can check the process id of the job using &#8220;ps&#8221;  or &#8220;ps -u &#8221; command.  suppose the process id of the job is 12337. Run the job in low priority using the following command</p>
<p>renice -19 12337</p>
<p><strong> </strong></p>
<p>Read about<a title="job control on UNIX systems" href="http://www.dbazone.in/?p=1035" target="_self"> job Control on UNIX systems</a></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031&amp;title=Background+jobs+on+Unix+impact+on+System+Performance"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031&amp;title=Background+jobs+on+Unix+impact+on+System+Performance"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031&amp;title=Background+jobs+on+Unix+impact+on+System+Performance"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031&amp;headline=Background+jobs+on+Unix+impact+on+System+Performance"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Background+jobs+on+Unix+impact+on+System+Performance&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Background+jobs+on+Unix+impact+on+System+Performance&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Background+jobs+on+Unix+impact+on+System+Performance&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Background+jobs+on+Unix+impact+on+System+Performance&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Background+jobs+on+Unix+impact+on+System+Performance&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031&amp;title=Background+jobs+on+Unix+impact+on+System+Performance&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1031"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=1038' rel='bookmark' title='Permanent Link: Monitoring background Jobs on UNIX systems'>Monitoring background Jobs on UNIX systems</a> <small>To monitor background jobs on UNIX, you can use the...</small></li>
<li><a href='http://www.dbazone.in/?p=1035' rel='bookmark' title='Permanent Link: Controling jobs on UNIX systems'>Controling jobs on UNIX systems</a> <small>UNIX  job monitoring and control facilities allows you to monitor...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1031</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clone production database</title>
		<link>http://www.dbazone.in/?p=1028</link>
		<comments>http://www.dbazone.in/?p=1028#comments</comments>
		<pubDate>Tue, 19 Jan 2010 18:22:14 +0000</pubDate>
		<dc:creator>Paresh Sarma</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[clone oracle database]]></category>
		<category><![CDATA[Database cloning]]></category>

		<guid isPermaLink="false">http://www.dbazone.in/?p=1028</guid>
		<description><![CDATA[Database cloning is a procedure to create an exact copy of a database. As an oracle DBA,you  have to update test or development environments from production database using database cloning procedure. Following is the steps to clone oracle database. 1. Take a copy of the production database&#8217;s initialization file . 2. Take a backup of [...]


Related posts:<ol><li><a href='http://www.dbazone.in/?p=412' rel='bookmark' title='Permanent Link: Create Oracle Database Manually'>Create Oracle Database Manually</a> <small>As being an Oracle DBA , we can create database...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
<li><a href='http://www.dbazone.in/?p=366' rel='bookmark' title='Permanent Link: Oracle Installation'>Oracle Installation</a> <small>One of the most important duties of an Oracle DBA...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Database cloning </strong>is a procedure to create an exact copy of a database.<br />
As an oracle DBA,you  have to update test or development environments from production database using database cloning procedure.</p>
<p><strong>Following is the steps to clone oracle database.</strong></p>
<p>1. Take a copy of the production database&#8217;s initialization file .<br />
2. Take a backup of the production database&#8217;s control file using the following command on SQL prompt( Sign in as SYSDBA)<br />
SQL&gt;alter database backup controlfile to trace;<br />
This command will create trace file in udump folder.</p>
<p>3. FTP the new initialization file and  trace file  created on step 2 to destination server into temp folder.<br />
4. Shutdown the production database<br />
5. Copy all datafiles from production server  to new server using rcp command<br />
rcp /u01/oradata/oldsid/* newhost:/u01/oradata/newsid<br />
rcp /u01/oradata/oldsid/* newhost:/u01/oradata/newsid<br />
rcp /u03/oradata/oldsid/* newhost:/u03/oradata/newsid<br />
rcp /u04/oradata/oldsid/* newhost:/u04/oradata/newsid<br />
Please note that you must edit the control file created at sept 2 and modify the new datafile name.</p>
<p>6.Edit control file  on new server and make the modifications as follows</p>
<p>a) CREATE CONTROLFILE REUSE DATABASE “&lt;old db name&gt;” NORESETLOGS<br />
TO<br />
CREATE CONTROLFILE SET DATABASE “&lt;new db name&gt;” RESETLOGS ARCHIVELOG</p>
<p>b) Remove the &#8220;recover database&#8221; and &#8220;alter database open statement&#8221; from the control file.<br />
c) Rename the datafile name as stored on the new server.<br />
7. Save the control file as clone_dbname_server.sql<br />
8. Create the required directories like bdump ,cdump,udump,pfile etc.<br />
cd /u01/app/oracle/<br />
mkdir newsid<br />
cd newsid<br />
mkdir bdump<br />
mkdir cdump<br />
mkdir udump<br />
mkdir pfile<br />
9. Copy the initialization file from temp folder which was  copied from production at step 3  to pfile folder.<br />
10. Edit the initialization file make the necessary modification of parameters like log_archieve_dest_1 ,bdump,cdump etc.<br />
11. Start the new instance on nomount mode with the following command.<br />
sqlplus<br />
startup nomount pfile=&lt;complete path of filename&gt;</p>
<p>12. On SQL prompt execute the command as @&lt;controlfile with complete path&gt;<br />
13. Alter database mount<br />
14. alter database archievelog<br />
15. Alter database open</p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028&amp;title=Clone+production+database+"><img src="http://www.dbazone.in/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028&amp;title=Clone+production+database+"><img src="http://www.dbazone.in/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028&amp;title=Clone+production+database+"><img src="http://www.dbazone.in/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028&amp;headline=Clone+production+database+"><img src="http://www.dbazone.in/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Clone+production+database+&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Clone+production+database+&amp;u=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Clone+production+database+&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Clone+production+database+&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Clone+production+database+&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028&amp;title=Clone+production+database+&amp;summary=&amp;source="><img src="http://www.dbazone.in/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.dbazone.in%2F%3Fp%3D1028"><img src="http://www.dbazone.in/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div>

<p>Related posts:<ol><li><a href='http://www.dbazone.in/?p=412' rel='bookmark' title='Permanent Link: Create Oracle Database Manually'>Create Oracle Database Manually</a> <small>As being an Oracle DBA , we can create database...</small></li>
<li><a href='http://www.dbazone.in/?p=786' rel='bookmark' title='Permanent Link: Recover database when all control file and Redo log files are lost'>Recover database when all control file and Redo log files are lost</a> <small>As an Oracle DBA , Recover database and maintain high...</small></li>
<li><a href='http://www.dbazone.in/?p=366' rel='bookmark' title='Permanent Link: Oracle Installation'>Oracle Installation</a> <small>One of the most important duties of an Oracle DBA...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbazone.in/?feed=rss2&amp;p=1028</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
