<?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>Nico on Oracle and some Microsoft Stuff</title>
	<atom:link href="http://nkristanto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nkristanto.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Nov 2011 04:22:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nkristanto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nico on Oracle and some Microsoft Stuff</title>
		<link>http://nkristanto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nkristanto.wordpress.com/osd.xml" title="Nico on Oracle and some Microsoft Stuff" />
	<atom:link rel='hub' href='http://nkristanto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>ORA-00959 Error when Creating Materialized View</title>
		<link>http://nkristanto.wordpress.com/2009/04/29/ora-00959-error-when-creating-materialized-view/</link>
		<comments>http://nkristanto.wordpress.com/2009/04/29/ora-00959-error-when-creating-materialized-view/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 05:12:58 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ORA-00959]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/2009/04/29/ora-00959-error-when-creating-materialized-view/</guid>
		<description><![CDATA[We ran into this error: &#8220;ORA-00959 tablespace &#8216;_ deleted$5$0&#8242; does not exist&#8221; when we tried to create a materialized view with the tablespace clause specified: CREATE MATERIALIZED VIEW TABLESPACE BUILD IMMEDIATE REFRESH COMPLETE ON DEMAND START WITH TO_DATE(&#8217;30-04-2009 01:00:00&#8242;, &#8216;DD-MM-YYYY HH24:MI:SS&#8217;) NEXT TRUNC(SYSDATE)+1/24+1 ENABLE QUERY REWRITE AS SELECT CUSTOMER_GUID, SUM(SUBTOTAL_AMT) TOTAL_AMT FROM .@ GROUP BY [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=20&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We ran into this error: &#8220;ORA-00959 tablespace &#8216;_ deleted$5$0&#8242; does not exist&#8221; when we tried to create a materialized view with the tablespace clause specified:<br />
CREATE MATERIALIZED VIEW  TABLESPACE<br />
BUILD IMMEDIATE<br />
REFRESH COMPLETE ON DEMAND<br />
START WITH TO_DATE(&#8217;30-04-2009 01:00:00&#8242;, &#8216;DD-MM-YYYY HH24:MI:SS&#8217;) NEXT TRUNC(SYSDATE)+1/24+1<br />
ENABLE QUERY REWRITE<br />
AS<br />
SELECT CUSTOMER_GUID, SUM(SUBTOTAL_AMT) TOTAL_AMT<br />
FROM .<TABLE>@<br />
GROUP BY CUSTOMER_GUID</p>
<p>It turned out that the default tablespace for the user which tried to create the materialized view has been set to &#8220;_$deleted$5$0&#8243; &#8211; a non-existing tablespace. Not sure what caused the default tablespace change.<br />
After the default tablespace for the user has been changed, the materialized view can be created successfully. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=20&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2009/04/29/ora-00959-error-when-creating-materialized-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint stsadm import &#8211; The web application at (URL) cannot be found</title>
		<link>http://nkristanto.wordpress.com/2009/03/27/sharepoint-stsadm-import-the-web-application-at-url-cannot-be-found/</link>
		<comments>http://nkristanto.wordpress.com/2009/03/27/sharepoint-stsadm-import-the-web-application-at-url-cannot-be-found/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 06:08:41 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=14</guid>
		<description><![CDATA[I encountered the following error message when trying to import a WSS 3.0 SharePoint site: &#8220;The web application at (URL) cannot be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=14&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I encountered the following error message when trying to import a WSS 3.0 SharePoint site:</p>
<blockquote><p>&#8220;The web application at (URL) cannot be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.&#8221;</p></blockquote>
<p>This despite the fact that I had created the destination site specified by the URL. I also performed the import from the destination server.</p>
<p>This was resolved after I registered my Windows account (which I used to log on to the destination server) as one of the SharePoint farm administrators (done using SharePoint central administration page). It is not enough to log on using the account that created the destination site</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=14&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2009/03/27/sharepoint-stsadm-import-the-web-application-at-url-cannot-be-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>Restore spfile or controlfile from autobackup beyond 366 days</title>
		<link>http://nkristanto.wordpress.com/2008/10/22/restore-spfile-or-controlfile-from-autobackup-beyond-366-days/</link>
		<comments>http://nkristanto.wordpress.com/2008/10/22/restore-spfile-or-controlfile-from-autobackup-beyond-366-days/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 03:38:46 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autobackup]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=12</guid>
		<description><![CDATA[The restore of spfile and control file from autobackup using maxdays option will fail if the maxdays specified is beyond 366 days: RMAN&#62; restore controlfile from autobackup maxseq 200 maxdays 500; Starting restore at 21-oct-08 14:58 using channel ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=12&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The restore of spfile and control file from autobackup using maxdays option will fail if the maxdays specified is beyond 366 days:</p>
<p>RMAN&gt; restore controlfile from autobackup maxseq 200 maxdays 500;</p>
<p>Starting restore at 21-oct-08 14:58<br />
using channel ORA_DISK_1</p>
<p>RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-03002: failure of restore command at 10/21/2008 14:58:42<br />
RMAN-06494: MAXDAYS = 500 is out of range (1-366)</p>
<p>So how to restore spfile and control file from a backup taken more than 366 days ago? I found that when RMAN performs restore from autobackup file, it did not check the timestamp of the autobackup file but the timestamp that is stated in the autobackup file name. By changing the autobackup file name so that the timestamp is within the accepted range, it can find and read the autobackup file and restore the controlfile / spfile successfully.</p>
<p>Without the maxdays option, RMAN will only look for autobackup file with timestamp within the last 7 days. So if today is 22 Oct 08 and your autobackup file name in $ORACLE_HOME/dbs is &#8220;c-1154185322-20081012-01&#8243;, the &#8220;restore controlfile from autobackup&#8221; command will not be able to find or read the autobackup file.</p>
<p>Change it to &#8220;c-1154185322-20081021-01&#8243; and RMAN will be able to restore the control file from autobackup with &#8220;restore controlfile from autobackup&#8221; command. I don&#8217;t have a controlfile autobackup created more than 366 days ago, but I think this trick can also address 366-maxdays limitation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=12&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2008/10/22/restore-spfile-or-controlfile-from-autobackup-beyond-366-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>On SELECT_CATALOG_ROLE</title>
		<link>http://nkristanto.wordpress.com/2008/10/16/on-select_catalog_role/</link>
		<comments>http://nkristanto.wordpress.com/2008/10/16/on-select_catalog_role/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:47:08 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SELECT ANY DICTIONARY]]></category>
		<category><![CDATA[SELECT_CATALOG_ROLE]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=10</guid>
		<description><![CDATA[Granting SELECT_CATALOG_ROLE role to a user gives that user SELECT privilege on dictionary views like DBA_USERS, but not when the SELECT is used in a stored procedure or in creating other objects based on that data dictionary view. For example: SQL&#62; CREATE OR REPLACE VIEW DBA_USERS_V AS SELECT * FROM DBA_USERS;  FROM DBA_USERS       * [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=10&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Granting SELECT_CATALOG_ROLE role to a user gives that user SELECT privilege on dictionary views like DBA_USERS, but not when the SELECT is used in a stored procedure or in creating other objects based on that data dictionary view. For example:</p>
<p>SQL&gt; CREATE OR REPLACE VIEW DBA_USERS_V<br />
AS SELECT * FROM DBA_USERS;<br />
 FROM DBA_USERS<br />
      *<br />
ERROR at line 3:<br />
ORA-00942: table or view does not exist<br />
If SELECT ANY DICTIONARY is not available for the database (like 8.0.5, 8.1.6, 8.1.7), grant SELECT privilege to the user directly using SYS user.</p>
<p>SQL&gt; CONN / AS SYSDBA<br />
SQL&gt; GRANT SELECT ON DBA_USERS TO AUDITUSER;</p>
<p>SQL&gt; CONN AUDITUSER<br />
SQL&gt; CREATE OR REPLACE VIEW DBA_USERS_V<br />
AS SELECT * FROM DBA_USERS;</p>
<p>View created.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=10&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2008/10/16/on-select_catalog_role/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>Create Materialized View Fails with Remote View</title>
		<link>http://nkristanto.wordpress.com/2008/10/16/create-materialized-view-fails-with-remote-view/</link>
		<comments>http://nkristanto.wordpress.com/2008/10/16/create-materialized-view-fails-with-remote-view/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 06:22:35 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database link]]></category>
		<category><![CDATA[db link]]></category>
		<category><![CDATA[materialized view]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=8</guid>
		<description><![CDATA[While creating a materialized view in a 10.2.0.4 database using a view in a remote 10.2.0.3 database as the base table, the creation failed: SQL&#62; create materialized view db2_dba_ts_quotas_mv  build immediate  refresh with rowid complete on demand  as select tablespace_name, username, max_bytes  from dba_ts_quotas@db1; ERROR at line 1: ORA-00942: table or view does not exist [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=8&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While creating a materialized view in a 10.2.0.4 database using a view in a remote 10.2.0.3 database as the base table, the creation failed:</p>
<p>SQL&gt; create materialized view db2_dba_ts_quotas_mv<br />
 build immediate<br />
 refresh with rowid complete on demand<br />
 as select tablespace_name, username, max_bytes<br />
 from dba_ts_quotas@db1;</p>
<p>ERROR at line 1:<br />
ORA-00942: table or view does not exist<br />
ORA-06512: at &#8220;SYS.DBMS_SNAPSHOT_UTL&#8221;, line 1543<br />
ORA-06512: at line 1</p>
<p>The user used in the database link has SELECT ANY DICTIONARY access in the remote database.</p>
<p>Creation of the same materialized views for other 10.2.0.4 database works. To address this issue, instead of creating materialized view based on sys.dba_ts_quotas, I created a view for sys.dba_ts_quotas for the db link user, and create the materialized view based on this view. It worked fine!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=8&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2008/10/16/create-materialized-view-fails-with-remote-view/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>ORA-01034 ORA-27101 SVR4 Error</title>
		<link>http://nkristanto.wordpress.com/2008/05/30/ora-01034-ora-27101-svr4-error/</link>
		<comments>http://nkristanto.wordpress.com/2008/05/30/ora-01034-ora-27101-svr4-error/#comments</comments>
		<pubDate>Fri, 30 May 2008 02:50:20 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Client Connection]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=6</guid>
		<description><![CDATA[Today I was not able to connect to 10g Oracle database from SQL*Plus on a client PC. I tried to connect to the database by running sqlplus apps/apps@oracle Error message: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist SVR4 Error: 2: No such file or directory From the db server itself, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=6&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was not able to connect to 10g Oracle database from SQL*Plus on a client PC.<br />
I tried to connect to the database by running sqlplus <a href="mailto:apps/apps@oracle">apps/apps@oracle</a></p>
<p>Error message:<br />
ORA-01034: ORACLE not available<br />
ORA-27101: shared memory realm does not exist<br />
SVR4 Error: 2: No such file or directory</p>
<p>From the db server itself, I was able to connect to the database using OS authentication.<br />
When I run ps -ef, I found that the background process are all using ORACLE instead of &#8220;oracle&#8221;</p>
<p>oracledb 22187     1  0 10:22:16 ?        0:02 ora_smon_ORACLE<br />
oracledb 22189     1  0 10:22:16 ?        0:00 ora_reco_ORACLE<br />
oracledb 22191     1  0 10:22:16 ?        0:01 ora_cjq0_ORACLE<br />
oracledb 22199     1  0 10:22:17 ?        0:00 ora_p000_ORACLE<br />
oracledb 22181     1  0 10:22:16 ?        0:00 ora_dbw0_ORACLE<br />
oracledb 22179     1  0 10:22:16 ?        0:00 ora_mman_ORACLE<br />
oracledb 22203     1  0 10:22:17 ?        0:00 ora_p002_ORACLE<br />
oracledb 22185     1  0 10:22:16 ?        0:01 ora_ckpt_ORACLE</p>
<p>The listener name was &#8220;oracle&#8221;. To fix the connection problem, shutdown the listener, edit listener.ora and change occurrence of &#8220;oracle&#8221; to &#8220;ORACLE&#8221;. Restart the listener.<br />
Test connection from SQL*Plus on PC client again.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nkristanto.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nkristanto.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=6&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2008/05/30/ora-01034-ora-27101-svr4-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle settings affecting disk I/O</title>
		<link>http://nkristanto.wordpress.com/2008/05/24/disk-io/</link>
		<comments>http://nkristanto.wordpress.com/2008/05/24/disk-io/#comments</comments>
		<pubDate>Sat, 24 May 2008 17:33:35 +0000</pubDate>
		<dc:creator>nkristanto</dc:creator>
				<category><![CDATA[Disk IO Tuning]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[tuning io]]></category>

		<guid isPermaLink="false">http://nkristanto.wordpress.com/?p=5</guid>
		<description><![CDATA[Oracle database parameters that affect disk I/O: db_block_size &#8211; the bigger the block size, the less disk I/O db_cache_size &#8211; the bigger the buffer cache, the less need to perform disk I/O  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=5&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle database parameters that affect disk I/O:</p>
<ul>
<li>db_block_size &#8211; the bigger the block size, the less disk I/O</li>
<li>db_cache_size &#8211; the bigger the buffer cache, the less need to perform disk I/O</li>
</ul>
<p> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nkristanto.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nkristanto.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nkristanto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nkristanto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nkristanto.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nkristanto.wordpress.com&amp;blog=3808273&amp;post=5&amp;subd=nkristanto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nkristanto.wordpress.com/2008/05/24/disk-io/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afbad58237b1536935c5c0d95fa3df0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nkristanto</media:title>
		</media:content>
	</item>
	</channel>
</rss>
