<?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>Tamim DBA&#039;s Blog</title>
	<atom:link href="http://tamimdba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tamimdba.wordpress.com</link>
	<description>Play With Oracle</description>
	<lastBuildDate>Sun, 20 Nov 2011 07:08:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tamimdba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8f4813b3717c470200c236bdda60bfff?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Tamim DBA&#039;s Blog</title>
		<link>http://tamimdba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tamimdba.wordpress.com/osd.xml" title="Tamim DBA&#039;s Blog" />
	<atom:link rel='hub' href='http://tamimdba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RAC Setup Diagram</title>
		<link>http://tamimdba.wordpress.com/2011/11/20/rac-setup-diagram/</link>
		<comments>http://tamimdba.wordpress.com/2011/11/20/rac-setup-diagram/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 07:08:23 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Oracle10g]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=875</guid>
		<description><![CDATA[Filed under: Oracle10g<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=875&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://tamimdba.wordpress.com/2011/11/20/rac-setup-diagram/baf_rac_setup/" rel="attachment wp-att-876"><img class="aligncenter size-full wp-image-876" title="RAC_SETUP" src="http://tamimdba.files.wordpress.com/2011/11/baf_rac_setup.jpg?w=600&#038;h=409" alt="" width="600" height="409" /></a></p>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/oracle10g/'>Oracle10g</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/875/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=875&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/11/20/rac-setup-diagram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>

		<media:content url="http://tamimdba.files.wordpress.com/2011/11/baf_rac_setup.jpg" medium="image">
			<media:title type="html">RAC_SETUP</media:title>
		</media:content>
	</item>
		<item>
		<title>ERROR: ORA-00257: archiver error. Connect internal only, until freed.</title>
		<link>http://tamimdba.wordpress.com/2011/05/25/error-ora-00257-archiver-error-connect-internal-only-until-freed/</link>
		<comments>http://tamimdba.wordpress.com/2011/05/25/error-ora-00257-archiver-error-connect-internal-only-until-freed/#comments</comments>
		<pubDate>Wed, 25 May 2011 06:30:14 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Archiver error. Connect internal only]]></category>
		<category><![CDATA[Problems And Solutions]]></category>
		<category><![CDATA[until freed.]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=859</guid>
		<description><![CDATA[Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file. Action: Check archiver trace file for a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=859&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Cause:</strong> The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.</p>
<p><strong>Action:</strong> Check archiver trace file for a detailed description of the problem. Also verify that the device specified in the initialization parameter ARCHIVE_LOG_DEST is set up properly for archiving.alter database flashback on</p>
<p>There is two possible way to solution.<br />
1. without increasing <em>DB_RECOVERY_FILE_DEST_SIZE</em>.<br />
2. by increasing <em>DB_RECOVERY_FILE_DEST_SIZE</em>.</p>
<p><strong><span style="text-decoration:underline;">Without increasing DB_RECOVERY_FILE_DEST_SIZE.</span></strong><br />
<strong>1. Check whether the database is in archive log mode and automatic archiving is enabled.</strong></p>
<pre><strong> </strong>SQL&gt; archive log list;
 Database log mode              Archive Mode
 Automatic archival             Enabled
 Archive destination            USE_DB_RECOVERY_FILE_DEST
 Oldest online log sequence     29
 Next log sequence to archive   31
 Current log sequence           31</pre>
<p><strong>2. If archive destination is defined by USE_DB_RECOVERY_FILE_DEST, find the archive destination by: </strong></p>
<pre>SQL&gt; show parameter db_recovery_file_dest;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      C:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size           big integer <strong>2G</strong></pre>
<p>Check what the value for db_recovery_file_dest_size.</p>
<p><strong>3. Find the space used in flash recovery area by using following SQL: </strong></p>
<pre>col ROUND(SPACE_LIMIT/1048576) heading “Space Allocated (MB)” format 999999
col round(space_used/1048576) heading “Space Used (MB)” format 99999
col name format a40
select name, round(space_limit/1048576) As space_limit,round(space_used/1048576) As space_used
from v$RECOVERY_FILE_DEST;</pre>
<p><strong>4. if SPACE_USED is equal to SPACE_LIMIT of db_recovery_file_dest, move the archive logs to different destination.<br />
</strong><br />
<strong>5. Archive all the log files<br />
</strong></p>
<pre>SQL&gt; alter system archive log all;</pre>
<p><strong>6. Just switch the logs to verify</strong></p>
<pre> SQL&gt; alter system switch logfile;</pre>
<p><strong>7. DB_RECOVERY_FILE_DEST_SIZE is to delete (archive log) files from DB_RECOVERY_FILE_DEST if you are sure you have backups and the archived logs are no longer necessary.</strong></p>
<pre><strong> </strong>
 $rman target /
 RMAN&gt;delete archivelog until time 'SYSDATE-1';
 or,
 RMAN&gt;delete archivelog all;</pre>
<p><strong><span style="text-decoration:underline;">By increasing DB_RECOVERY_FILE_DEST_SIZE.<br />
</span>1. See the path of flash recovery area.</strong></p>
<pre> SQL&gt; show parameter db_recovery_file_dest;</pre>
<p><strong>2. Increase the Flash Recovery Area</strong></p>
<pre>SQL&gt; ALTER SYSTEM SET db_recovery_file_dest_size='10G' SCOPE=BOTH;
Sytem Altered.</pre>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/problems-and-solutions/archiver-error-connect-internal-only/'>Archiver error. Connect internal only</a>, <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/problems-and-solutions/'>Problems And Solutions</a>, <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/problems-and-solutions/until-freed/'>until freed.</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=859&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/05/25/error-ora-00257-archiver-error-connect-internal-only-until-freed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>CreateFile error 32 when trying set file time</title>
		<link>http://tamimdba.wordpress.com/2011/03/24/createfile-error-32-when-trying-set-file-time/</link>
		<comments>http://tamimdba.wordpress.com/2011/03/24/createfile-error-32-when-trying-set-file-time/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 07:05:13 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[CreateFile error 32 when trying set file time]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=853</guid>
		<description><![CDATA[Today I am going to install Oracle 10g Client and ODAC11gR2 (Oracle Data Provider .Net) in Microsoft Windows XP Professional Service Pack 2. I have got following error message in console. CreateFile error 32 when trying set file time After searching I have found that this error message for my Antivirus. In my case the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=853&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I am going to install Oracle 10g Client and ODAC11gR2 (Oracle Data Provider .Net) in Microsoft Windows XP Professional Service Pack 2. I have got following error message in console.</p>
<pre><span style="color:#ff0000;">CreateFile error 32 when trying set file time</span></pre>
<p><strong> </strong></p>
<p>After searching I have found that this error message for my Antivirus. In my case the anti virus is Kaspersky. After disable my antivirus I am able to install Oracle Client with out any Warning or Error message</p>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/createfile-error-32-when-trying-set-file-time/'>CreateFile error 32 when trying set file time</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/createfile-error-32-when-trying-set-file-time/'>CreateFile error 32 when trying set file time</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/853/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/853/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=853&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/03/24/createfile-error-32-when-trying-set-file-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>ORA-00439: feature not enabled: Flashback Database</title>
		<link>http://tamimdba.wordpress.com/2011/03/13/ora-00439-feature-not-enabled-flashback-database/</link>
		<comments>http://tamimdba.wordpress.com/2011/03/13/ora-00439-feature-not-enabled-flashback-database/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 06:15:14 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[ORA-00439:Feature not enabled]]></category>
		<category><![CDATA[feature not enabled]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=840</guid>
		<description><![CDATA[Some feature is not enabled in oracle database standard edition, as a result we can not use flashback feature in Oracle Database if you are use in standard edition of oracle. Following Error Message show in Oracle 10g standard edition SQL&#62; alter database flashback on; alter database flashback on * ERROR at line 1: ORA-00439: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=840&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some feature is not enabled in oracle database standard edition, as a result we can not use flashback feature in Oracle Database if you are use in standard edition of oracle.</p>
<p>Following Error Message show in Oracle 10g standard edition</p>
<pre>SQL&gt; alter database flashback on;
alter database flashback on
*
ERROR at line 1:
<span style="color:#ff0000;">ORA-00439: feature not enabled: Flashback Database</span></pre>
<p><strong>Version of Oracle </strong></p>
<pre>SQL&gt; SELECT * FROM V$VERSION;
BANNER
----------------------------------------------------------------
Oracle Database 10g Release 10.2.0.1.0 - <strong>Production</strong>
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production</pre>
<p><strong>Features are available in standard edition </strong></p>
<pre>SQL&gt; SELECT Parameter,Value FROM V$OPTION Where Value = 'TRUE';
PARAMETER                                                        VALUE                                                           
----------------------------------------------------------------------
Objects                                                          TRUE                                                            
Connection multiplexing                                          TRUE                                                            
Connection pooling                                               TRUE                                                            
Database queuing                                                 TRUE                                                            
Incremental backup and recovery                                  TRUE                                                            
Instead-of triggers                                              TRUE                                                            
Parallel load                                                    TRUE                                                            
Proxy authentication/authorization                               TRUE                                                            
Plan Stability                                                   TRUE                                                            
Transparent Application Failover                                 TRUE                                                            
Sample Scan                                                      TRUE                                                            
Java                                                             TRUE                                                            
OLAP Window Functions                                            TRUE</pre>
<p><strong>So flashback database is disabled in standard edition or in standard one  edition. To be able to flashback on you have to use enterprise edition.</strong></p>
<p><strong> </strong></p>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/how-to/backup-recovery/flashback-recovery/ora-00439feature-not-enabled/'>ORA-00439:Feature not enabled</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/feature-not-enabled/'>feature not enabled</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/840/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=840&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/03/13/ora-00439-feature-not-enabled-flashback-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>ORA-01775: looping chain of synonyms</title>
		<link>http://tamimdba.wordpress.com/2011/03/12/ora-01775-looping-chain-of-synonyms/</link>
		<comments>http://tamimdba.wordpress.com/2011/03/12/ora-01775-looping-chain-of-synonyms/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 09:42:16 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Error Solving]]></category>
		<category><![CDATA[Looping chain of synonyms]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=833</guid>
		<description><![CDATA[Cause: Through a series of CREATE synonym statements, a synonym was defined that referred to itself. Action: Change one synonym definition so that it applies to a base table or view and retry the operation. For example, the following definitions are circular: CREATE SYNONYM s1 for s2; CREATE SYNONYM s2 for s3 CREATE SYNONYM s3 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=833&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td>Cause: Through a series of CREATE synonym statements, a synonym was defined that referred to itself.</td>
</tr>
<tr>
<td>Action: Change one synonym definition so that it applies to a base table or view and retry the operation.</td>
</tr>
</tbody>
</table>
<p>For example, the following definitions are circular: CREATE SYNONYM s1 for s2;<br />
CREATE SYNONYM s2 for s3<br />
CREATE SYNONYM s3 for s1<br />
or<br />
CREATE SYNONYM s4 for s4</p>
<p>Check your synonyms with:<br />
select * from all_synonyms where synonym_name = &#8216;name&#8217;  or table_name = &#8216;name&#8217;;</p>
<pre><code>SELECT table_owner, table_name, db_link
FROM dba_synonyms
WHERE owner = 'PUBLIC'
AND synonym_name = &lt;&lt;synonym name&gt;&gt;
</code></pre>
<p><code> </code></p>
<pre>select owner, synonym_name, connect_by_iscycle CYCLE
from dba_synonyms
where connect_by_iscycle &gt; 0
connect by nocycle prior table_name = synonym_name
and prior table_owner = owner
union
select 'PUBLIC', synonym_name, 1
from dba_synonyms
where owner = 'PUBLIC'
and table_name = synonym_name
and (table_name, table_owner) not in (select object_name, owner from dba_objects
where object_type != 'SYNONYM')</pre>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/'>Error Solving</a>, <a href='http://tamimdba.wordpress.com/category/how-to/error-solving/looping-chain-of-synonyms/'>Looping chain of synonyms</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/833/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=833&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/03/12/ora-01775-looping-chain-of-synonyms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>RemoteOperationException:ERROR:Wrong Password for User</title>
		<link>http://tamimdba.wordpress.com/2011/03/12/remoteoperationexceptionerrorwrong-password-for-user/</link>
		<comments>http://tamimdba.wordpress.com/2011/03/12/remoteoperationexceptionerrorwrong-password-for-user/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 04:00:12 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Remote Operation Exception]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=829</guid>
		<description><![CDATA[Problem in Oracle 10g database on Windows 2000/2003 Professional/Enterprise error message  &#8221;RemoteOperationException:ERROR:Wrong Password for User&#8220; Solutions 1. go to Control Panel -&#62; Administrative Tools. 2. Click on Local Security Policy. 3. Local Policies, User Rights Assignment. 4. Double click, &#8216;Log on as a batch job&#8216;. 5. Add your local user that you are supplying for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=829&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem in Oracle 10g database on Windows 2000/2003 Professional/Enterprise error message  &#8221;<span style="color:#ff0000;">RemoteOperationException:ERROR:Wrong Password for User</span>&#8220;</p>
<p><em><strong>Solutions </strong></em></p>
<p>1. go to Control Panel -&gt; Administrative Tools.</p>
<p>2. Click on Local Security Policy.</p>
<p>3. Local Policies, User Rights Assignment.</p>
<p>4. Double click, &#8216;<strong>Log on as a batch job</strong>&#8216;.</p>
<p>5. Add your local user that you are supplying for the Host Credentials.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/oracle10g/oracle-10g-enterprise-manager/remote-operation-exception/'>Remote Operation Exception</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/829/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/829/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/829/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=829&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/03/12/remoteoperationexceptionerrorwrong-password-for-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>Listener Commands</title>
		<link>http://tamimdba.wordpress.com/2011/03/01/listener-commands/</link>
		<comments>http://tamimdba.wordpress.com/2011/03/01/listener-commands/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 03:58:41 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Listener Commands]]></category>
		<category><![CDATA[Oracle10g]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=821</guid>
		<description><![CDATA[current_listener  Syntax : set current_listener &#60;listener_name&#62; LSNRCTL&#62; set current_listener LISTENER LSNRCTL&#62; show current_listener displaymode Syntax : set displaymode &#60;RAW &#124; COMPAT &#124; NORMAL &#124; VEBOSE&#62; LSNRCTL&#62; show displaymode Service display mode is NORMAL LSNRCTL&#62; set displaymode VERBOSE inbound_connect_timeout Syntax : set inbound_connect_timeout &#60;value&#62; LSNRCTL&#62; set inound_connect_timeout 0 log_directory     Syntax : set log_directory &#60;directory_path&#62; LSNRCTL&#62; set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=821&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><strong>current_listener  </strong>
Syntax : set current_listener &lt;listener_name&gt;
LSNRCTL&gt; set current_listener LISTENER
LSNRCTL&gt; show current_listener</pre>
<pre><strong>displaymode </strong>
Syntax : set displaymode &lt;RAW | COMPAT | NORMAL | VEBOSE&gt;
LSNRCTL&gt; show displaymode
Service display mode is NORMAL
LSNRCTL&gt; set displaymode VERBOSE</pre>
<pre><strong>inbound_connect_timeout </strong>
Syntax : set inbound_connect_timeout &lt;value&gt;
LSNRCTL&gt; set inound_connect_timeout 0</pre>
<pre><strong>log_directory     </strong>
Syntax : set log_directory &lt;directory_path&gt;
LSNRCTL&gt; set log_directory c:\listner_log</pre>
<pre><strong>log_file    </strong>
Syntax : set log_file &lt;file_name&gt;
LSNRCTL&gt; set log_file listner.log</pre>
<pre><strong>log_status  </strong>
Syntax : set log_status &lt; ON | OFF&gt;
LSNRCTL&gt; set log_status ON</pre>
<pre><strong>password    </strong>
Syntax : set password
LSNRCTL&gt; set password
Password:</pre>
<pre><strong>rawmode     </strong>
Syntax : set rawmode &lt;ON | OFF&gt;
LSNRCTL&gt; set rawmode OFF</pre>
<pre><strong>save_config_on_stop     </strong>
Syntax : set save_config_on_stop &lt;ON | OFF&gt;
LSNRCTL&gt; set save_config_on_stop ON</pre>
<pre><strong>startup_waittime  </strong>
Syntax : set startup_waittime &lt;value&gt;
LSNRCTL&gt; set startup_waittime 0</pre>
<pre><strong>trc_directory     </strong>
Syntax : set trc_directory &lt;directory path&gt;
LSNRCTL&gt; set trc_directory c:\listner_log</pre>
<pre><strong>trc_file    </strong>
Syntax : set trc_level &lt;file_name&gt;
LSNRCTL&gt; set trc_file listener.trc
<strong>trc_file    </strong>
Syntax : set trc_level &lt;file_name&gt;
LSNRCTL&gt; set trc_file listener.trc</pre>
<pre><strong>trc_level </strong>set trc_level &lt;value&gt;</pre>
<table border="1" cellspacing="0" cellpadding="0" width="374">
<tbody>
<tr>
<td style="text-align:center;" width="50%"><strong>Value</strong></td>
<td width="50%">
<p style="text-align:center;"><strong>Description</strong></p>
</td>
</tr>
<tr>
<td style="text-align:center;" width="50%">0 &#8211; 1</td>
<td width="50%">
<p style="text-align:center;">off</p>
</td>
</tr>
<tr>
<td width="50%">
<p style="text-align:center;">2 &#8211; 3</p>
</td>
<td width="50%">
<p style="text-align:center;">err</p>
</td>
</tr>
<tr>
<td width="50%">
<p style="text-align:center;">4 &#8211; 5</p>
</td>
<td width="50%">
<p style="text-align:center;">user</p>
</td>
</tr>
<tr>
<td width="50%">
<p style="text-align:center;">6 &#8211; 14</p>
</td>
<td width="50%">
<p style="text-align:center;">admin</p>
</td>
</tr>
<tr>
<td width="50%">
<p style="text-align:center;">15</p>
</td>
<td width="50%">
<p style="text-align:center;">dev</p>
</td>
</tr>
<tr>
<td width="50%">
<p style="text-align:center;">16 &#8211; 99</p>
</td>
<td width="50%">
<p style="text-align:center;">support</p>
</td>
</tr>
</tbody>
</table>
<pre>LSNRCTL&gt; set trc_level 0</pre>
<p><strong>Services view the current listener services </strong></p>
<pre>lsnrctl services</pre>
<pre><strong>Start the listener </strong> lsnrctl start</pre>
<pre><strong>Stop the listener </strong> lsnrctl stop</pre>
<pre><strong>Show status </strong>lsnrctl status</pre>
<pre><strong>Listener version </strong>lsnrctl version</pre>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/oracle10g/listener-commands/'>Listener Commands</a>, <a href='http://tamimdba.wordpress.com/category/oracle10g/'>Oracle10g</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/listener-commands/'>Listener Commands</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/821/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=821&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/03/01/listener-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>RESTRICTED SESSION</title>
		<link>http://tamimdba.wordpress.com/2011/02/24/restricted-session/</link>
		<comments>http://tamimdba.wordpress.com/2011/02/24/restricted-session/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 03:45:30 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[RESTRICTED SESSION]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=814</guid>
		<description><![CDATA[SQL&#62; select logins from v$instance; LOGINS ---------- ALLOWED SQL&#62; ALTER SYSTEM ENABLE RESTRICTED SESSION; System altered. SQL&#62; select logins from v$instance; LOGINS ---------- RESTRICTED $ sqlplus &#60;username&#62;/&#60;password&#62;@&#60;serviceid&#62; SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 24 09:26:48 2011 Copyright (c) 1982, 2005, Oracle.  All rights reserved. ERROR: ORA-01035: ORACLE only available to users with RESTRICTED [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=814&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>SQL&gt; select logins from v$instance;
LOGINS
----------
ALLOWED

SQL&gt; ALTER SYSTEM ENABLE RESTRICTED SESSION;
System altered.

SQL&gt; select logins from v$instance;
LOGINS
----------
RESTRICTED

$ sqlplus &lt;username&gt;/&lt;password&gt;@&lt;serviceid&gt;
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 24 09:26:48 2011
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege

SQL&gt; ALTER SYSTEM DISABLE RESTRICTED SESSION;
System altered.</pre>
<p>&#8216;<em>alter system enable restricted session</em>&#8216; does not &#8220;<strong>kick out</strong>&#8221; user automatically. It just blocks new user who does not have the &#8216;restrict session&#8217; privilege to login, similar to &#8216;ALTER SYSTEM QUIESCE RESTRICTED&#8217;, which blocks new non-dba users. However, I can scarely see the instances when non-dba users have been granted to the &#8216;restrict session&#8217; privilege.</p>
<pre>ALTER SYSTEM QUIESCE RESTRICTED;</pre>
<p>Non-DBA active sessions will continue until they become inactive. An active session is one that is currently inside of a transaction, a query, a fetch, or a PL/SQL statement; or a session that is currently holding any shared resources (for example, enqueues). No inactive sessions are allowed to become active. For example, If a user issues a SQL query in an attempt to force an inactive session to become active, the query will appear to be hung. When the database is later unquiesced, the session is resumed, and the blocked action is processed.</p>
<p>The following statement restores the database to normal operation:</p>
<pre>ALTER SYSTEM UNQUIESCE;</pre>
<p>All non-DBA activity is allowed to proceed. In an Oracle Real Application Clusters environment, this statement is not required to be issued from the same session, or even the same instance, as that which quiesced the database. If the session issuing the <code>ALTER SYSTEM UNQUIESCE</code> statement terminates abnormally, then the Oracle Database server ensures that the unquiesce operation completes.</p>
<p>The <code>ACTIVE_STATE</code> column of the <code>V$INSTANCE</code> view to see the current state of an instance. The column values has one of these values:</p>
<ul>
<li><code>NORMAL</code>: Normal unquiesced state.</li>
<li><code>QUIESCING</code>: Being quiesced, but some non-DBA sessions are still active.</li>
<li><code>QUIESCED</code>: Quiesced; no non-DBA sessions are active or allowed.</li>
</ul>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/oracle10g/restricted-session/'>RESTRICTED SESSION</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/restricted-session/'>RESTRICTED SESSION</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/814/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=814&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/02/24/restricted-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>Kill all oracle sessions</title>
		<link>http://tamimdba.wordpress.com/2011/02/23/kill-all-oracle-sessions/</link>
		<comments>http://tamimdba.wordpress.com/2011/02/23/kill-all-oracle-sessions/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 11:37:19 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Database Script]]></category>
		<category><![CDATA[Kill all oracle sessions]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=810</guid>
		<description><![CDATA[rem ################################################################## rem Filename:   kill_all_oracle_sessions.sql rem Purpose:    Kill all oracle sessions for a user rem Date:       23-Feb-2011 rem Author:     Tamim Khan (Email: tamimdba@gmail.com) rem ################################################################## set pagesize 0 spool kill_all.sql select 'alter system kill session '''&#124;&#124;sess.sid&#124;&#124;', '&#124;&#124;sess.serial#&#124;&#124;''';' from v$session sess where username = '&#60;User Name&#62;'; spool off spool kill_all.log @kill_all.sql spool off To run the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=810&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>rem ##################################################################
rem Filename:   kill_all_oracle_sessions.sql
rem Purpose:    Kill all oracle sessions for a user
rem Date:       23-Feb-2011
rem Author:     Tamim Khan (Email: tamimdba@gmail.com)
rem ##################################################################

set pagesize 0
spool kill_all.sql
select 'alter system kill session '''||sess.sid||', '||sess.serial#||''';' from v$session sess where username = '&lt;User Name&gt;';
spool off
spool kill_all.log
@kill_all.sql
spool off
</pre>
<p>To run the script connect oracle as a system user then run the file kill_all_oracle_sessions.sql</p>
<pre>@kill_all_oracle_sessions.sql</pre>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/database-script/'>Database Script</a>, <a href='http://tamimdba.wordpress.com/category/database-script/kill-all-oracle-sessions/'>Kill all oracle sessions</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/kill-all-oracle-sessions/'>Kill all oracle sessions</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/810/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=810&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/02/23/kill-all-oracle-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
		<item>
		<title>Monitoring SGA (Free Memory) Using v$sgastat</title>
		<link>http://tamimdba.wordpress.com/2011/02/07/monitoring-sga-free-memory-using-vsgastat/</link>
		<comments>http://tamimdba.wordpress.com/2011/02/07/monitoring-sga-free-memory-using-vsgastat/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 09:04:51 +0000</pubDate>
		<dc:creator>Tamim Khan</dc:creator>
				<category><![CDATA[Monitoring SGA Using v$sgastat]]></category>
		<category><![CDATA[Monitoring SGA (Free Memory) Using v$sgastat]]></category>

		<guid isPermaLink="false">http://tamimdba.wordpress.com/?p=793</guid>
		<description><![CDATA[In this article, we will discuss how to get monitor free memory in System Global Area (SGA) in Oracle 10g. The System Global Area (SGA) Memory Structures in data. The SGA is read/write.  A system global area is a group of shared memory areas that dedicated to an Oracle database instance. For example Large Pool, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=793&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this article, we will discuss how to get monitor free memory in System Global Area (SGA) in Oracle 10g. The System Global Area (SGA) Memory Structures in data. The SGA is read/write.  A system global area is a group of shared memory areas that dedicated to an Oracle database instance. For example Large Pool, Shared Pool, Java Pool etc.</p>
<pre>SQL&gt; SHOW SGA;
Total System Global Area  608174080 bytes
Fixed Size                  2006160 bytes
Variable Size             176161648 bytes
Database Buffers          423624704 bytes
Redo Buffers                6381568 bytes</pre>
<p>Let’s use v$sgastat parameter in this article. The v$sgastat <code>parameter</code> displays detailed information on the system global area (SGA).</p>
<pre>SQL&gt; DESC v$sgastat;
Name                                      Null?    Type
----------------------------------------- -------- ----------------
POOL                                               VARCHAR2(12)
NAME                                               VARCHAR2(26)
BYTES                                              NUMBER</pre>
<p>Let’s have a short explanation of all column of the v$sgastat parameter:</p>
<p><strong>POOL:</strong> Designates the pool in which the memory in NAME resides:</p>
<ul>
<li><strong>Shared Pool:</strong> Memory is allocated from the shared pool.</li>
</ul>
<ul>
<li><strong>Large Pool:</strong> Memory is allocated from the large pool.</li>
</ul>
<ul>
<li><strong>Java Pool: </strong>Memory is allocated from the Java pool.</li>
</ul>
<ul>
<li><strong>Streams Pool:</strong> Memory is allocated from the Streams pool.</li>
</ul>
<p><strong>NAME:</strong> The name column means system global area component name.</p>
<p><strong>BYTES:</strong> The memory size in bytes.</p>
<p><strong><span style="text-decoration:underline;">Now we will use a simple SQL to see the free memory in SGA.</span></strong></p>
<pre>SQL&gt; Select POOL, Round(bytes/1024/1024,0) Free_Memory_In_MB
  2  From V$sgastat
  3  Where Name Like '%free memory%';
POOL         FREE_MEMORY_IN_MB
------------ -----------------
shared pool                 22
large pool                   3
java pool                    4
streams pool                 8</pre>
<br />Filed under: <a href='http://tamimdba.wordpress.com/category/oracle10g/size-of-sga-oracle10g-2/monitoring-sga-using-vsgastat/'>Monitoring SGA Using v$sgastat</a> Tagged: <a href='http://tamimdba.wordpress.com/tag/monitoring-sga-free-memory-using-vsgastat/'>Monitoring SGA (Free Memory) Using v$sgastat</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tamimdba.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tamimdba.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tamimdba.wordpress.com/793/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tamimdba.wordpress.com&amp;blog=9255855&amp;post=793&amp;subd=tamimdba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tamimdba.wordpress.com/2011/02/07/monitoring-sga-free-memory-using-vsgastat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/f311e8424e292b87250afced18df52c8?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Tamim Khan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
