<?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>DB Dummy</title>
	<atom:link href="http://www.dbdummy.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbdummy.com</link>
	<description>Experience with Oracle &#38; Informix Databases ...</description>
	<lastBuildDate>Wed, 09 Nov 2011 09:54:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to test INSERT/UPDATE in Informix BYTE column?</title>
		<link>http://www.dbdummy.com/252/how-to-test-insertupdate-in-informix-byte-column.html</link>
		<comments>http://www.dbdummy.com/252/how-to-test-insertupdate-in-informix-byte-column.html#comments</comments>
		<pubDate>Wed, 09 Nov 2011 09:53:45 +0000</pubDate>
		<dc:creator>helloworld</dc:creator>
				<category><![CDATA[Database General]]></category>
		<category><![CDATA[Informix Database]]></category>
		<category><![CDATA[BLOB]]></category>
		<category><![CDATA[blobload]]></category>
		<category><![CDATA[BYTE]]></category>
		<category><![CDATA[Client-SDK]]></category>
		<category><![CDATA[CSDK]]></category>
		<category><![CDATA[Informix]]></category>
		<category><![CDATA[INSERT]]></category>
		<category><![CDATA[UPDATE]]></category>

		<guid isPermaLink="false">http://www.dbdummy.com/?p=252</guid>
		<description><![CDATA[Question: How to test INSERT/UPDATE in Informix BYTE column? Preparation: 1. Informix IDS is online and running 2. Informix Client-SDK installed 3. Prepare 2 object files (image1.pdf, image2.pdf) 4. create table testbyte1 (num integer, file byte); create unique index byte_idx1 on testbyte1(num) ; 5. Compile &#8220;blobload&#8221; utility. &#8211; set environment variable $INFORMIXDIR (where CSDK installed) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong><br />
How to test INSERT/UPDATE in Informix BYTE column?</p>
<p><strong>Preparation:</strong><br />
1. Informix IDS is online and running</p>
<p>2. Informix Client-SDK installed</p>
<p>3. Prepare 2 object files (image1.pdf, image2.pdf)</p>
<p>4. create table testbyte1 (num integer,<br />
 file byte);<br />
   create unique index byte_idx1 on testbyte1(num) ;</p>
<p>5. Compile &#8220;blobload&#8221; utility.<br />
   &#8211; set environment variable $INFORMIXDIR<br />
 (where CSDK installed)</p>
<p>   &#8211; set environment variable PATH=$INFORMIXDIR/bin:$PATH<br />
   &#8211; you may find &#8220;blobload.ec&#8221; in $INFORMIXDIR/demo/esqlc<br />
   &#8211; compile &#8220;esql -o blobload blobload.ec&#8221;, will get executable binary &#8220;blobload&#8221;</p>
<p><strong>Test INSERT/UPDATE BYTE column:</strong></p>
<p>6. To get syntax on usage, just type &#8220;./blobload&#8221;</p>
<p>   Usage: blobload  {-i | -u}      &#8212; choose insert or update<br />
               -f filename      &#8212; file containing the blob data<br />
          -d database_name      &#8212; database to open<br />
             -t table_name      &#8212; table to modify<br />
            -b blob_column      &#8212; name of target column<br />
   -k key_column key_value      &#8212; name of key column and a value<br />
                        -v      &#8212; verbose documentary output</p>
<p>All parameters except -v are required.<br />
Parameters may be given in any order.<br />
As many as 8 -k parameter pairs may be specified.</p>
<p>7. INSERT BYTE testing.</p>
<p>$ ./blobload -i -f ./image1.pdf -d mytestdb -t testbyte -b file -k num 1001 -v</p>
<p>prepared stmt =<br />
INSERT INTO testblob1( file, num) VALUES( ?, &#8220;1001&#8243;);</p>
<p>1 row(s) inserted.</p>
<p>8. UPDATE BYTE testing.</p>
<p>$ ./blobload -u -f ./image2.pdf -d mytestdb -t testbyte -b file -k num 1001 -v</p>
<p>prepared stmt =<br />
UPDATE testblob1 SET file = ? WHERE num = &#8220;1001&#8243;;</p>
<p>1 row(s) updated.</p>
<p>9. Check number of rows:</p>
<p>   SQL> select * from testbyte1;</p>
<p>   num   1001<br />
   file  <BYTE value></p>
<p>   1 row(s) retrieved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdummy.com/252/how-to-test-insertupdate-in-informix-byte-column.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informix: Shall we plan to backup logical logs on the RSS instances?</title>
		<link>http://www.dbdummy.com/236/informix-should-we-plan-to-backup-logical-logs-on-the-rss-instances.html</link>
		<comments>http://www.dbdummy.com/236/informix-should-we-plan-to-backup-logical-logs-on-the-rss-instances.html#comments</comments>
		<pubDate>Mon, 24 Oct 2011 03:01:53 +0000</pubDate>
		<dc:creator>helloworld</dc:creator>
				<category><![CDATA[Database General]]></category>
		<category><![CDATA[Informix Database]]></category>
		<category><![CDATA[Informix]]></category>
		<category><![CDATA[logical logs]]></category>
		<category><![CDATA[Remote Standalone Secondary]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://www.dbdummy.com/?p=236</guid>
		<description><![CDATA[Question: We want to initialize high-availability replication (HDR) and/or Remote Standalone Secondary (RSS) replication. Should we plan to backup logical logs on the secondary server instance(s)? Reference URL: http://www-01.ibm.com/support/docview.wss?uid=swg21516867&#038;myns=swgimgmt&#038;mynp=OCSSGU8G&#038;mync=E Applies to: IDS 11.1, 11.50, 11.70 Answer: The secondary server instances are in a continuous log apply status. You cannot execute a logical log backup on [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong><br />
We want to initialize high-availability replication (HDR) and/or Remote Standalone Secondary (RSS) replication. Should we plan to backup logical logs on the secondary server instance(s)? </p>
<p>Reference URL:</p>
<p>http://www-01.ibm.com/support/docview.wss?uid=swg21516867&#038;myns=swgimgmt&#038;mynp=OCSSGU8G&#038;mync=E</p>
<p><strong>Applies to:</strong><br />
IDS 11.1, 11.50, 11.70 </p>
</p>
<p><strong>Answer:</strong><br />
The secondary server instances are in a continuous log apply status. You cannot execute a logical log backup on an HDR or RS secondary server.<br />
This applies regardless of whether it is a read-only or updatable secondary.</p>
<p>The ontape and onbar logical log backup commands plus the message returned:</p>
<p>ontape</p>
<p>$ ontape -l<br />
Logical restore failed &#8211; A Logical Restore is already in progress.</p>
<p>Program over.<br />
onbar</p>
<p>$ onbar -b -l<br />
DR: This command is not valid on a secondary server. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdummy.com/236/informix-should-we-plan-to-backup-logical-logs-on-the-rss-instances.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup another Informix instance on the same machine</title>
		<link>http://www.dbdummy.com/234/setup-another-informix-instance-on-the-same-machine.html</link>
		<comments>http://www.dbdummy.com/234/setup-another-informix-instance-on-the-same-machine.html#comments</comments>
		<pubDate>Mon, 24 Oct 2011 02:18:46 +0000</pubDate>
		<dc:creator>helloworld</dc:creator>
				<category><![CDATA[Database General]]></category>
		<category><![CDATA[Informix Database]]></category>
		<category><![CDATA[/etc/services]]></category>
		<category><![CDATA[Informix]]></category>
		<category><![CDATA[new instance]]></category>
		<category><![CDATA[onconfig]]></category>
		<category><![CDATA[SERVERNUM]]></category>

		<guid isPermaLink="false">http://www.dbdummy.com/?p=234</guid>
		<description><![CDATA[Question: How do you set up another Informix Instance on the same machine? Reference URL: http://www-01.ibm.com/support/docview.wss?uid=swg21504585&#038;myns=swgimgmt&#038;mynp=OCSSGU8G&#038;mync=E Objective: Steps to setup another instance (same or different version) on the same physical machine. Steps: 1. Write down the dbservername (INFORMIXSERVER), INFORMIXDIR, PATH,ONCONFIG, servernum,port number,rootpath, mirror path,message path, and any other relevant information that you want to have [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong><br />
How do you set up another Informix Instance on the same machine?</p>
<p><strong>Reference URL: </strong></p>
<p>http://www-01.ibm.com/support/docview.wss?uid=swg21504585&#038;myns=swgimgmt&#038;mynp=OCSSGU8G&#038;mync=E</p>
<p><strong>Objective:</strong><br />
Steps to setup another instance (same or different version) on the same physical machine.</p>
<p><strong>Steps:</strong></p>
<p>1. Write down the dbservername (INFORMIXSERVER), INFORMIXDIR, PATH,ONCONFIG, servernum,port number,rootpath, mirror path,message path, and any other relevant information that you want to have unique. </p>
<p>2. If you are installing a new version: create the INFORMIXDIR for the new instance. Make sure that is a different one from the one you have<br />
for the first instance so you don&#8217;t install the files over your existing ones. If you are using the same version of informix and want to use that same INFORMIXDIR you can do that. In this case, you don&#8217;t have to make sure INFORMIXDIR is different or copy any new files over (skip step 3). </p>
<p>3. cd to that directory and install the product (ensure you are logged in as root. Then follow directions for that version as to who you should<br />
be logged in as- informix or root). Run installserver files as appropriate </p>
<p>4. Make a setup file with new INFORMIXDIR, PATH, INFORMIXSERVER, ONCONFIG, and path to the sqlhosts file and source the setup file. Make sure env shows the right variables. </p>
<p>5. Edit your /etc/services file to add the entry for your new dbserver TCP/IP connection. The service name and the port number must be unique in the file. I would suggest putting this next to your other informix entry to keep them together. </p>
<p>6. Add an entry in your same sqlhosts (you only need one) for the new database server, including the new service name you just added. </p>
<p>7. Copy over your onconfig.std to the path you have your new ONCONFIG environment variable pointed to. If you copy over your onconfig from the<br />
first instance you run the risk of losing any newly added ONCONFIG parameters to the newer version. </p>
<p>8. Customize your onconfig so that the new rootpath, mirrorpath, message path, servernum, dbservername, dbserveraliases, and any other relevant information is DIFFERENT from your first onconfig. THE ROOTPATH IS VERY IMPORTANT SO THAT YOU DON&#8221;T OVERWRITE THE FIRST INSTANCE&#8217;S DATA!!! Also keep in mind the servernum is used to calculate a relevant location in shared memory. The value you choose is not important except that it must be unique for each database server on your local host computer. Make sure this is different from your first instance or you will get an error message upon initialization. </p>
<p>9. Touch any cooked files you need to have for the rootdbs and make sure they have the right permissions (informix informix 660). </p>
<p>10. Do another env to double check your environment; make sure INFORMIXSERVER is pointing to the new server and ONCONFIG is the path to the new onconfig file. </p>
<p>11. When ready do an oninit -ivy! This will initialize the disk (not just the memory) for the first time and will wipe out any existing data. This is why you must make sure everything is pointing to the new instance so the right root chunk is initialized. Any other time after the first time, you bring up the instance with oninit and any other flags BUT the -i option! </p>
<p>12. Now you can recreate the database or data if wanted by using dbimport or any other migration utility. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdummy.com/234/setup-another-informix-instance-on-the-same-machine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informix: Tracing session&#8217;s hostname longer than 8 characters</title>
		<link>http://www.dbdummy.com/226/tracing-sessions-hostname-longer-then-8-characters.html</link>
		<comments>http://www.dbdummy.com/226/tracing-sessions-hostname-longer-then-8-characters.html#comments</comments>
		<pubDate>Mon, 03 Oct 2011 04:01:43 +0000</pubDate>
		<dc:creator>ghsun25</dc:creator>
				<category><![CDATA[Database General]]></category>
		<category><![CDATA[Informix Database]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[Informix]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.dbdummy.com/?p=226</guid>
		<description><![CDATA[Sometimes you like to find out the hostname/IP address the sessions that came from. onstat -g ses only display 8 characters out the hostname. Use below query to retrive the hostname direct from sysmaster database :- # dbaccess sysmaster - SQL&#62; select sid, username, hostname from syssessions where sid=session_id]]></description>
			<content:encoded><![CDATA[<p>Sometimes you like to find out the hostname/IP address the sessions that came from.</p>
<p>onstat -g ses only display 8 characters out the hostname.</p>
<p>Use below query to retrive the hostname direct from sysmaster database :-</p>
<p># dbaccess sysmaster -</p>
<p>SQL&gt; select sid, username, hostname from syssessions where sid=session_id</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdummy.com/226/tracing-sessions-hostname-longer-then-8-characters.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle ORA-31671: Worker process DW08 had an unhandled exception.</title>
		<link>http://www.dbdummy.com/213/oracle-ora-31671-worker-process-dw08-had-an-unhandled-exception.html</link>
		<comments>http://www.dbdummy.com/213/oracle-ora-31671-worker-process-dw08-had-an-unhandled-exception.html#comments</comments>
		<pubDate>Fri, 25 Mar 2011 09:12:03 +0000</pubDate>
		<dc:creator>helloworld</dc:creator>
				<category><![CDATA[Database General]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[ORA-00447]]></category>
		<category><![CDATA[ORA-12801]]></category>
		<category><![CDATA[ORA-29913]]></category>
		<category><![CDATA[ORA-31671]]></category>
		<category><![CDATA[ORA-39014]]></category>
		<category><![CDATA[ORA-39029]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.dbdummy.com/?p=213</guid>
		<description><![CDATA[expdp (Export datapump) fail with following errors (shown in symptoms) in Oracle RDBMS 10.2.0.3. Applies to: Oracle RDBMS 10.1 to 10.2 Symptoms: #&#8211; found following errors on expdb logs &#8211;# Starting &#8220;MYUSER&#8221;.&#8221;MYUSER_JOB&#8221;: MYUSER/******** DIRECTORY=EXP_EG711 LOGFILE=myuser_dmp.log DUMPFILE=myuser%U.dmp JOB_NAME=myuser_job CONTENT=all FILESIZE=20G PARALLEL=16 &#8230; &#8230; ORA-39014: One or more workers have prematurely exited. ORA-39029: worker 8 with process [...]]]></description>
			<content:encoded><![CDATA[<p>expdp (Export datapump) fail with following errors (shown in symptoms) in Oracle RDBMS 10.2.0.3.</p>
<p><strong>Applies to:</strong></p>
<p>Oracle RDBMS 10.1 to 10.2</p>
<p><strong>Symptoms:</strong></p>
<p>#&#8211; found following errors on expdb logs &#8211;#</p>
<p>Starting &#8220;MYUSER&#8221;.&#8221;MYUSER_JOB&#8221;:  MYUSER/******** DIRECTORY=EXP_EG711 LOGFILE=myuser_dmp.log DUMPFILE=myuser%U.dmp JOB_NAME=myuser_job CONTENT=all FILESIZE=20G PARALLEL=16</p>
<p>&#8230;</p>
<p>&#8230;</p>
<p>ORA-39014: One or more workers have prematurely exited.</p>
<p>ORA-39029: worker 8 with process name &#8220;DW08&#8243; prematurely terminated</p>
<p>ORA-31671: Worker process DW08 had an unhandled exception.</p>
<p>ORA-12801: error signaled in parallel query server P000, instance mynode03:MYDB3 (3)</p>
<p>ORA-29913: error in executing ODCIEXTTABLEOPEN callout</p>
<p>ORA-31626: job does not exist</p>
<p>ORA-06512: at &#8220;SYS.ORACLE_DATAPUMP&#8221;, line 19</p>
<p>ORA-06512: at &#8220;SYS.KUPW$WORKER&#8221;, line 1342</p>
<p>ORA-06512: at line 2</p>
<p>Job &#8220;WM7IS&#8221;.&#8221;MYUSER_JOB&#8221; stopped due to fatal error at 00:35:10</p>
<p>ORA-39014: One or more workers have prematurely exited.</p>
<p>#&#8211; Also found followings errors on bdump trace file &#8211;#</p>
<p>kupprdp: Error 12801 detected in worker process DW08, worker id=8.</p>
<p>OPIRIP: Uncaught error 447. Error stack:</p>
<p>ORA-00447: fatal error in background process</p>
<p>ORA-31671: Worker process DW08 had an unhandled exception.</p>
<p>ORA-12801: error signaled in parallel query server P000, instance mynode0303:MYDB3 (3)</p>
<p>ORA-29913: error in executing ODCIEXTTABLEOPEN callout</p>
<p>ORA-31626: job does not exist</p>
<p>ORA-06512: at &#8220;SYS.ORACLE_DATAPUMP&#8221;, line 19</p>
<p>ORA-06512: at &#8220;SYS.KUPW$WORKER&#8221;, line 1342</p>
<p>ORA-06512: at line 2</p>
<p><span id="more-213"></span></p>
<p><strong>Cause:</strong></p>
<p>BUG 5472417 EXPDP ON RAC ABORTS DUE TO ORA-12801 (ERROR SIGNALED IN PARALLEL QUERY SERVER)</p>
<p>Bug is fixed in 11.1.0.6 or above</p>
<p><strong>Solution:</strong></p>
<p>Use either one of the solution / workaround,</p>
<p>1) Use  PARALLEL=1 (default)</p>
<p>2) Run expdb when only one instance is started.</p>
<p>3) Apply one-off patch ( Patch: 5472417 )</p>
<p>4) Upgrade to 11.1.0.6 or higher version</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdummy.com/213/oracle-ora-31671-worker-process-dw08-had-an-unhandled-exception.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 3/14 queries in 0.016 seconds using disk: basic

Served from: www.dbdummy.com @ 2012-02-23 16:02:44 -->
