<?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>Db2dude's Blog</title>
	<atom:link href="http://db2dude.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://db2dude.wordpress.com</link>
	<description>A technical notebook on db2 subjects</description>
	<lastBuildDate>Thu, 13 Aug 2009 08:27:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='db2dude.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Db2dude's Blog</title>
		<link>http://db2dude.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://db2dude.wordpress.com/osd.xml" title="Db2dude&#039;s Blog" />
	<atom:link rel='hub' href='http://db2dude.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Turning off annoying &#8220;Backup in progress&#8221; &#8211; &#8220;Attention&#8221; alerts from DB2 Health Monitor</title>
		<link>http://db2dude.wordpress.com/2009/08/13/turning-off-annoying-backup-in-progress-attention-alerts-from-db2-health-monitor/</link>
		<comments>http://db2dude.wordpress.com/2009/08/13/turning-off-annoying-backup-in-progress-attention-alerts-from-db2-health-monitor/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 08:27:46 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=52</guid>
		<description><![CDATA[The DB2 Health Monitor is a real boon to the lazy dba. However, I wish it had been possible to filter out attention alerts for certain well-known states. As in the case of ts.ts_op_status, it would be beneficial to know if the tablespaces were in a state which prohibited or limited access, but when db2hmon [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=52&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The DB2 Health Monitor is a real boon to the lazy dba. However, I wish it had been possible to filter out attention alerts for certain well-known states. As in the case of ts.ts_op_status, it would be beneficial to know if the tablespaces were in a state which prohibited or limited access, but when db2hmon shouts wolf everytime an online backup is run on a tablespace <em>and</em> for every tablespace in the database, important notices may easily drown in the spam.<br />
It is possible to tailor specific actions to specific states, but to control the triggering of alert messages in the same way is not straightforward.<br />
However, to simply turn off alerts for a state-based health indicator, in our case, the ts.ts_op_status indicator for all the tablespaces in all the databases in an instance, run:<br />
<code>db2 update alert cfg for tablespaces using ts.ts_op_status set thresholdschecked no</code><br />
Good riddance.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=52&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/08/13/turning-off-annoying-backup-in-progress-attention-alerts-from-db2-health-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrate PuTTY saved sessions</title>
		<link>http://db2dude.wordpress.com/2009/08/04/migrate-putty-saved-sessions/</link>
		<comments>http://db2dude.wordpress.com/2009/08/04/migrate-putty-saved-sessions/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 09:31:12 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=47</guid>
		<description><![CDATA[PuTTY stored its settings in the registry, and there is no builtin import/export functionality. Thanks to Ryan&#8217;s Tech Blog I now have a simple solution to the problem. On the old computer, open up a command prompt (not cygwin), and run: regedit /ea putty_saved_sessions.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY Copy putty_saved_sessions.reg onto the new computer On the new computer, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=47&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PuTTY stored its settings in the registry, and there is no builtin import/export functionality. Thanks to <a href="http://ryepup.unwashedmeme.com/blog/2007/02/22/migrate-putty-saved-sessions/">Ryan&#8217;s Tech Blog</a> I now have a simple solution to the problem.</p>
<li>On the old computer, open up a command prompt (not cygwin), and run:<br />
<code>regedit /ea putty_saved_sessions.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY</code></li>
<li>Copy putty_saved_sessions.reg onto the new computer</li>
<li>On the new computer, open up a command prompt (not cygwin), and run:<br />
<code>regedit /s putty_saved_sessions.reg </code></li>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=47&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/08/04/migrate-putty-saved-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up Nuxeo document management on a zLinux system.</title>
		<link>http://db2dude.wordpress.com/2009/07/06/setting-up-nuxeo-document-management-on-a-zlinux-system/</link>
		<comments>http://db2dude.wordpress.com/2009/07/06/setting-up-nuxeo-document-management-on-a-zlinux-system/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 11:29:16 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ECM]]></category>
		<category><![CDATA[JBOSS]]></category>
		<category><![CDATA[zLinux]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=39</guid>
		<description><![CDATA[In line with previous experiences from (failing in) setting up the Glassfish server on a zLinux system, the nuxeo system was not an &#8216;out-of-the-box&#8217; experience on our redhat zLinux under z/VM system. The problem seems to be in large that the SUN JDK is not 100% compatible with the IBM JDK. And albeit the differences [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=39&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In line with previous experiences from (failing in) setting up the Glassfish server on a zLinux system, the nuxeo system was not an &#8216;out-of-the-box&#8217; experience on our redhat zLinux under z/VM system. The problem seems to be in large that the SUN JDK is not 100% compatible with the IBM JDK. And albeit the differences might be small, they are significant enough. And since the SUN java  is not ported to neither AIX nor zLinux, we are stuck in the mud.</p>
<p>Nuxeo is bundled with a JBOSS ejb application server, and after downloading and unpacking nuxeo-dm, the JBOSS starts up just fine (way-to-go jboss!) , but deployment of the nuxeo-dm application fails.</p>
<p>We are faced with a classNotFound Exception on an xml parser class  com.sun.org.apache.xml.internal.serialize.OutputFormat / XMLSerializer. These classes are are part of an internal sun XML parser implementation. The compilation of the original sources actually gives quite explicit warnings that these com.sun.* packages should not be used, and points in direction of the org.apache.xml.* collections, which are part of the apache Xerces xml parser implementation.</p>
<p>Refactoring the source code could have been trivial, but the source code management was based on Mercurial and the code project management was based on Maven, neither applications of which were directly available on Redhat Enterprise Linus 5 on the s380x architecture.</p>
<p>Instead of starting two additional porting projects, I decided to trying to build the thing on my PC, possibly not the best idea, especially not since I only had sun jdk installed.</p>
<p>I installed Mercurial in Cygwin, set the http_proxy environment variable and checked out the source forllowing the guidelines on <a href="http://www.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources/">http://www.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources/</a> for getting the 5.2 branch. </p>
<p>So far, so good. I edit the few java files containing com.sun.org.apache.xml.internal.* import statements, download the Xerces jars from apache and drop them into the lib/ext directory of the jre underneath the j2sdk v6 directory.</p>
<p>I download and unpack Maven. I have to set some proxy settings in the %USERPROFILE%\.m2\settings.xml since maven downloads a lot of plugins during the build process. The classes compile, but the tests after compilation fails with javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found. This looks like a configuration mismatch, and it turns out the original sources fails with this error as well when the Xerces jars are present in the classpath.</p>
<p>I ignore the errors and builds the jar-files myself. I transfer these to the zLinux box and replaces the appropriate jars with my own.</p>
<p>Voila! The nuxeo webapp deploys without error messages.</p>
<p>Now I want to access the webapp from my PC, and only port 80 is open in the firewall. Since it is holiday season, the chance for me getting a firewall change through before autumns is minimal. I figure I might as well do a port redirection on the server itself, so I use mod_proxy in the apache server to proxy and reverse-proxy requests for <em>/nuxeo/</em> to <em>http://localhost:8080/nuxeo/</em>.</p>
<p>/etc/httpd/conf.d/proxy_jboss.conf looks like this:<br />
<code><br />
LoadModule proxy_module modules/mod_proxy.so<br />
ProxyPass /jboss/ http://localhost:8080/<br />
ProxyPassReverse /jboss/ http://localhost:8080/<br />
ProxyPass /nuxeo/ http://localhost:8080/nuxeo/<br />
ProxyPassReverse /nuxeo/ http://localhost:8080/nuxeo/<br />
</code></p>
<p>Reload the apache server and we are ready to start some testing.</p>
<p><code>/sbin/services httpd reload</code></p>
<p>I strongly suspect there might be a few sections more on this subject before nuxeo is production ready on zLinux. Time will tell.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=39&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/07/06/setting-up-nuxeo-document-management-on-a-zlinux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title>Useful snippets</title>
		<link>http://db2dude.wordpress.com/2009/06/25/useful-snippets/</link>
		<comments>http://db2dude.wordpress.com/2009/06/25/useful-snippets/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 10:28:52 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=35</guid>
		<description><![CDATA[The sed command can be quite handy for doing global substitutions. The surrounding loop also handles filenames with spaces and odd characters. grep -l 'http://www.somedomain.com' *.html &#124; while read FILE ; \ do mv "$FILE" "$FILE.bac" ; \ sed -r -e 's/http:\/\/www.somedomain.com/..\/../g' "$FILE.bac" &#62; "$FILE" ;\ done; Grep searches html files in current directory for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=35&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>The sed command can be quite handy for doing global substitutions. The surrounding loop also handles filenames with spaces and odd characters.</p></blockquote>
<p><code>grep -l 'http://www.somedomain.com' *.html | while read FILE ; \<br />
do mv "$FILE" "$FILE.bac" ; \<br />
sed -r -e 's/http:\/\/www.somedomain.com/..\/../g' "$FILE.bac" &gt; "$FILE" ;\<br />
done;</code></p>
<li>Grep searches html files in current directory for matches on some web-address.</li>
<li>Only matching relative filenames are sent to sysout (for absolute filenames, &#8216;find&#8217; might be a better choice).</li>
<li>Names are fed into a line-reader command.</li>
<li>Move matching file to .bac.</li>
<li>Replace all occurrences of web-address with relative address and overwrite original file.</li>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=35&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/06/25/useful-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://db2dude.wordpress.com/2009/06/10/32/</link>
		<comments>http://db2dude.wordpress.com/2009/06/10/32/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 22:00:33 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[db2]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=32</guid>
		<description><![CDATA[Remind myself to look into this IBM technote for Recommended AIX Virtual Memory Manager settings for DB2. It is always a question of who is going to dig into each others internals, but it really can&#8217;t hurt to build some AIX muscle.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=32&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Remind myself to look into <a href="http://www-01.ibm.com/support/docview.wss?rs=71&amp;context=SSEPGG&amp;context=SSEPDU&amp;context=SSVGXH&amp;context=SSVGZB&amp;context=SSFHEG&amp;context=SSYK8P&amp;context=SSTLZ9&amp;uid=swg21328602&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en">this IBM technote</a> for <em>Recommended AIX Virtual Memory Manager settings for DB2</em>. It is always a question of who is going to dig into each others internals, but it really can&#8217;t hurt to build some AIX muscle.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=32&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/06/10/32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title>deadlock detective</title>
		<link>http://db2dude.wordpress.com/2009/04/22/deadlock-detective/</link>
		<comments>http://db2dude.wordpress.com/2009/04/22/deadlock-detective/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 07:44:10 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[db2]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://db2dude.wordpress.com/?p=7</guid>
		<description><![CDATA[From time to time we encounter the dreaded deadlock situation in production, and of course the developers scratch their head and wonder why this never turned up in their tests, and wonder what magic the dba can wield to untie the knots, or at least find out what the *¤% is going on.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=7&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From time to time we encounter the dreaded deadlock situation in production, and of course the developers scratch their head and wonder why this never turned up in their tests, and wonder what magic the dba can wield to untie the knots, or at least find out what the *¤% is going on.<br />
Although one might wonder sometimes where IBM is going with their overly pessimistic locking model, I can to some degree appreciate that it is better to be safe than sorry, and with good and consistent coding you will avoid getting entangled in deadlocks.<br />
Anyway, IBM has become very generous in supplying interfaces to the overwhelming amount of internal metrics of db2, and I will most probably return to variations on that subject many times in the future. This time, it is all about <strong>the deadlock event monitor</strong>.<br />
<code><br />
connect to db mydldb;<br />
create event monitor <em>dlmon1</em> for deadlocks with details history<br />
write to file dlmon1 maxfiles 20 maxfilesize 4000 buffersize 1000<br />
nonblocked replace manualstart;<br />
set event monitor dlmon1 state 1;<br />
</code><br />
The above creates a deadlock monitor for the database and activates it. The binary trace data is written in case of a deadlock to the directory <code>[DBPATH]/db2evmon/dlmon1/</code>, where <code>[DBPATH]</code> is the database directory path, which you can deduce by reading the output from <code>list active databases</code>. The trace data produced can be parsed into neatly shaped reports simply by running the command<br />
<code><br />
db2evmon -db mydldb -evm dlmon1<br />
</code><br />
Now you can impress your developers with details, not only on the connections involved in the deadlock situation, but also on the table over which the connections are fighting. You are also presented with a list of active locks held by the transaction, and in case of dynamic sql, the actual sql statement text of both transactions. But the real treat comes from the <code>history</code> keyword. This produces in clear text the entire statement history of each of the involved transactions. Line the sequences of statements up beside each other, and you will hopefully get a pretty clear picture of what is going on. Still confused? Then you can even get the actual values from the involved statements and drill down to the actual rows involved in the lock by adding the keyword <code>values</code> to the <code>create event monitor</code> statement.</p>
<p>Now for a simple real life example:<br />
<span id="more-7"></span><br />
<code><br />
3) Deadlock Event ...<br />
  Deadlock ID:   60<br />
  Number of applications deadlocked: 2<br />
  Deadlock detection time: 20.04.2009 14.11.02.532884<br />
  Rolled back Appl participant no: 2<br />
  Rolled back Appl Id: 10.160.240.166.35679.0904201211<br />
  Rolled back Appl seq number: : 0001</p>
<p>4) Connection Header Event ...<br />
  Appl Handle: 717<br />
  Appl Id: 10.160.240.166.35679.0904201211<br />
  Appl Seq number: 00001<br />
  DRDA AS Correlation Token: 10.160.240.166.35679.0904201211<br />
  Program Name    : db2jcc_application<br />
  Authorization Id: MDMADMIN<br />
  Execution Id    : MDMADMIN<br />
  Codepage Id: 1208<br />
  Territory code: 0<br />
  Client Process Id: 0<br />
  Client Database Alias: MDM_U1<br />
  Client Product Id: JCC03080<br />
  Client Platform: Unknown via DRDA<br />
  Client Communication Protocol: Unknown<br />
  Client Network Name: aat-stb-was01.stbu.l<br />
  Connect timestamp: 20.04.2009 14.10.56.495632<br />
5) Deadlocked Connection ...<br />
  Deadlock ID:   60<br />
  Participant no.: 2<br />
  Participant no. holding the lock: 1<br />
  Appl Id: 10.160.240.166.35679.0904201211<br />
  Appl Seq number: 00001<br />
  Appl Id of connection holding the lock: 10.160.240.166.35675.0904201211<br />
  Seq. no. of connection holding the lock: 00001<br />
  Lock wait start time: 20.04.2009 14.10.56.541872<br />
  Lock Name       : 0x00030098000000001EC1001252<br />
  Lock Attributes : 0x00000000<br />
  Release Flags   : 0x00000010<br />
  Lock Count      : 1<br />
  Hold Count      : 0<br />
  Current Mode    : none<br />
  Deadlock detection time: 20.04.2009 14.11.02.532974<br />
  Table of lock waited on      : PERSONSEARCH<br />
  Schema of lock waited on     : MDMADMIN<br />
  Data partition id for table  : 0<br />
  Tablespace of lock waited on : TABLESPACE1<br />
  Type of lock: Row<br />
  Mode of lock: X   - Exclusive<br />
  Mode application requested on lock: NS  - Share (and Next Key Share)<br />
  Node lock occured on: 0<br />
  Lock object name: 515964946<br />
  Application Handle: 717<br />
  Deadlocked Statement:<br />
    Type     : Dynamic<br />
    Operation: Fetch<br />
    Section  : 5<br />
    Creator  : NULLID<br />
    Package  : SYSSN200<br />
    Cursor   : SQL_CURSN200C5<br />
    Cursor was blocking: FALSE<br />
    Text     : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID<br />
  List of Locks:<br />
      Lock Name                   : 0x00000001000000010001CE0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E2000000006240001B52<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1648361499<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030098000000001EC1001352<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 515964947<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x000301E1000000006204006552<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1644429413<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030097000000001E81001E52<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000010<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 511770654<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x000301E2000000006240001752<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1648361495<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030098000000001EC1001152<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000018<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 515964945<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001340056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E1000000006204006352<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1644429411<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030097000000001E81001C52<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000018<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 511770652<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001110056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E3000000006280001052<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1652555792<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSON<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030096000000001E40000552<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 507510789<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSON<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x000000020000000100014D0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301CD000000005D02000852<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1560412168<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030093000000001D80000752<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 494927879<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001EA0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x535953534E323030C7D2493C41<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Plan<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x53514C4445464C540763DD2841<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Plan<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x00030096000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 150<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSON<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E1000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 481<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030097000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000018<br />
      Lock Count                  : 2<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 151<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301CD000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 461<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E2000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 482<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030098000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000018<br />
      Lock Count                  : 2<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 152<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030093000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 147<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E3000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 483<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSON<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>  Locks Held:    27<br />
  Locks in List: 27<br />
  Locks Displayed: 27</p>
<p>6) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 11<br />
  Type                    : Dynamic<br />
  Section No              : 5<br />
  Package cache id        : 4308467712<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID</p>
<p>7) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 10<br />
  Type                    : Dynamic<br />
  Section No              : 7<br />
  Package cache id        : 4298375168<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONSEARCH (PERSON_SEARCH_ID, PERSON_NAME_ID, CONT_ID, GIVEN_NAME_ONE, GIVEN_NAME_TWO, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, LAST_NAME, END_DT, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 9<br />
  Type                    : Dynamic<br />
  Section No              : 6<br />
  Package cache id        : 4296081408<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONNAME (PERSON_NAME_ID, CONT_ID, END_DT, GIVEN_NAME_ONE, GIVEN_NAME_TWO, LAST_NAME, NAME_USAGE_TP_CD, PREFIX_NAME_TP_CD, START_DT, SUFFIX_DESC, PREFIX_DESC, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, USE_STANDARD_IND, GENERATION_TP_CD, LAST_USED_DT, LAST_VERIFIED_DT, SOURCE_IDENT_TP_CD, P_LAST_NAME, P_GIVEN_NAME_ONE, P_GIVEN_NAME_TWO, P_GIVEN_NAME_THREE, P_GIVEN_NAME_FOUR, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>9) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 8<br />
  Type                    : Dynamic<br />
  Section No              : 5<br />
  Package cache id        : 4308467712<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID</p>
<p>10) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 7<br />
  Type                    : Dynamic<br />
  Section No              : 7<br />
  Package cache id        : 4298375168<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONSEARCH (PERSON_SEARCH_ID, PERSON_NAME_ID, CONT_ID, GIVEN_NAME_ONE, GIVEN_NAME_TWO, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, LAST_NAME, END_DT, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>11) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 6<br />
  Type                    : Dynamic<br />
  Section No              : 6<br />
  Package cache id        : 4296081408<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONNAME (PERSON_NAME_ID, CONT_ID, END_DT, GIVEN_NAME_ONE, GIVEN_NAME_TWO, LAST_NAME, NAME_USAGE_TP_CD, PREFIX_NAME_TP_CD, START_DT, SUFFIX_DESC, PREFIX_DESC, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, USE_STANDARD_IND, GENERATION_TP_CD, LAST_USED_DT, LAST_VERIFIED_DT, SOURCE_IDENT_TP_CD, P_LAST_NAME, P_GIVEN_NAME_ONE, P_GIVEN_NAME_TWO, P_GIVEN_NAME_THREE, P_GIVEN_NAME_FOUR, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>12) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 5<br />
  Type                    : Dynamic<br />
  Section No              : 5<br />
  Package cache id        : 4308467712<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID</p>
<p>13) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 4<br />
  Type                    : Dynamic<br />
  Section No              : 4<br />
  Package cache id        : 8594980864<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSON (CONT_ID, BIRTH_DT, GENDER_TP_CODE, USER_IND, BIRTHPLACE_TP_CD, HIGHEST_EDU_TP_CD, AGE_VER_DOC_TP_CD, CHILDREN_CT, MARITAL_ST_TP_CD, CITIZENSHIP_TP_CD, DECEASED_DT, DISAB_START_DT, DISAB_END_DT, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>14) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 3<br />
  Type                    : Dynamic<br />
  Section No              : 3<br />
  Package cache id        : 4310302720<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into CONTACT (CONT_ID, ACCE_COMP_TP_CD, PREF_LANG_TP_CD, CREATED_DT, INACTIVATED_DT, CONTACT_NAME, PERSON_ORG_CODE, SOLICIT_IND, CONFIDENTIAL_IND, CLIENT_IMP_TP_CD, CLIENT_ST_TP_CD, CLIENT_POTEN_TP_CD, RPTING_FREQ_TP_CD, LAST_STATEMENT_DT, PROVIDED_BY_CONT, ALERT_IND, DO_NOT_DELETE_IND, LAST_USED_DT, LAST_VERIFIED_DT, SINCE_DT, LEFT_DT, SOURCE_IDENT_TP_CD, ACCESS_TOKEN_VALUE, PENDING_CDC_IND, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>15) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 2<br />
  Type                    : Dynamic<br />
  Section No              : 2<br />
  Package cache id        : 8605532160<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT IDENTIFIER.CONT_ID  CONTID51 FROM IDENTIFIER WHERE  (  ( IDENTIFIER.ID_TP_CD  = ? ) AND  ( IDENTIFIER.REF_NUM  = ? )    )  FETCH FIRST 100 ROWS ONLY</p>
<p>16) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 2<br />
  Stmt history ID         : 1<br />
  Type                    : Dynamic<br />
  Section No              : 1<br />
  Package cache id        : 4296278016<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT A.CONT_ID AS CONTACT_CONT_ID, A.PERSON_ORG_CODE AS PERSONORGCODE24 FROM CONTACT A, CONTEQUIV B WHERE A.CONT_ID=B.CONT_ID AND B.ADMIN_SYS_TP_CD=? AND B.ADMIN_CLIENT_ID=?</p>
<p>17) Connection Header Event ...<br />
  Appl Handle: 647<br />
  Appl Id: 10.160.240.166.35675.0904201211<br />
  Appl Seq number: 00001<br />
  DRDA AS Correlation Token: 10.160.240.166.35675.0904201211<br />
  Program Name    : db2jcc_application<br />
  Authorization Id: MDMADMIN<br />
  Execution Id    : MDMADMIN<br />
  Codepage Id: 1208<br />
  Territory code: 0<br />
  Client Process Id: 0<br />
  Client Database Alias: MDM_U1<br />
  Client Product Id: JCC03080<br />
  Client Platform: Unknown via DRDA<br />
  Client Communication Protocol: Unknown<br />
  Client Network Name: aat-stb-was01.stbu.l<br />
  Connect timestamp: 20.04.2009 14.10.56.507736</p>
<p>18) Deadlocked Connection ...<br />
  Deadlock ID:   60<br />
  Participant no.: 1<br />
  Participant no. holding the lock: 2<br />
  Appl Id: 10.160.240.166.35675.0904201211<br />
  Appl Seq number: 00001<br />
  Appl Id of connection holding the lock: 10.160.240.166.35679.0904201211<br />
  Seq. no. of connection holding the lock: 00001<br />
  Lock wait start time: 20.04.2009 14.10.56.540169<br />
  Lock Name       : 0x00030098000000001EC1001152<br />
  Lock Attributes : 0x00000000<br />
  Release Flags   : 0x00000008<br />
  Lock Count      : 1<br />
  Hold Count      : 0<br />
  Current Mode    : none<br />
  Deadlock detection time: 20.04.2009 14.11.02.534377<br />
  Table of lock waited on      : PERSONSEARCH<br />
  Schema of lock waited on     : MDMADMIN<br />
  Data partition id for table  : 0<br />
  Tablespace of lock waited on : TABLESPACE1<br />
  Type of lock: Row<br />
  Mode of lock: X   - Exclusive<br />
  Mode application requested on lock: NS  - Share (and Next Key Share)<br />
  Node lock occured on: 0<br />
  Lock object name: 515964945<br />
  Application Handle: 647<br />
  Deadlocked Statement:<br />
    Type     : Dynamic<br />
    Operation: Fetch<br />
    Section  : 5<br />
    Creator  : NULLID<br />
    Package  : SYSSN200<br />
    Cursor   : SQL_CURSN200C5<br />
    Cursor was blocking: FALSE<br />
    Text     : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID<br />
  List of Locks:<br />
      Lock Name                   : 0x00000001000000010001CE0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E2000000006240001852<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1648361496<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030098000000001EC1001252<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 515964946<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001340056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E1000000006204006452<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1644429412<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030097000000001E81001D52<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000008<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 511770653<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001110056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301E3000000006280001352<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1652555795<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSON<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030096000000001E40000752<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 507510791<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSON<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x000000020000000100014D0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x000301CD000000005D02000952<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 1560412169<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00030093000000001D80000952<br />
      Lock Attributes             : 0x00000008<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 494927881<br />
      Object Type                 : Row<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : X   - Exclusive</p>
<p>      Lock Name                   : 0x00000001000000010001EA0056<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Variation<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x535953534E323030C7D2493C41<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Plan<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x53514C4445464C540763DD2841<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 0<br />
      Object Type                 : Internal - Plan<br />
      Data partition id           : -1<br />
      Mode                        : S   - Share</p>
<p>      Lock Name                   : 0x00030096000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 150<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSON<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E1000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 481<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030097000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000008<br />
      Lock Count                  : 2<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 151<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONNAME<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301CD000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 461<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E2000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 482<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030098000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000008<br />
      Lock Count                  : 2<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 152<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : PERSONSEARCH<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x00030093000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 147<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : CONTACT<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>      Lock Name                   : 0x000301E3000000000000000054<br />
      Lock Attributes             : 0x00000000<br />
      Release Flags               : 0x40000000<br />
      Lock Count                  : 1<br />
      Hold Count                  : 0<br />
      Lock Object Name            : 483<br />
      Object Type                 : Table<br />
      Tablespace Name             : TABLESPACE1<br />
      Table Schema                : MDMADMIN<br />
      Table Name                  : H_PERSON<br />
      Data partition id           : 0<br />
      Mode                        : IX  - Intent Exclusive</p>
<p>  Locks Held:    23<br />
  Locks in List: 23<br />
  Locks Displayed: 23</p>
<p>19) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 8<br />
  Type                    : Dynamic<br />
  Section No              : 5<br />
  Package cache id        : 4308467712<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID</p>
<p>20) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 7<br />
  Type                    : Dynamic<br />
  Section No              : 7<br />
  Package cache id        : 4298375168<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONSEARCH (PERSON_SEARCH_ID, PERSON_NAME_ID, CONT_ID, GIVEN_NAME_ONE, GIVEN_NAME_TWO, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, LAST_NAME, END_DT, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>21) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 6<br />
  Type                    : Dynamic<br />
  Section No              : 6<br />
  Package cache id        : 4296081408<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSONNAME (PERSON_NAME_ID, CONT_ID, END_DT, GIVEN_NAME_ONE, GIVEN_NAME_TWO, LAST_NAME, NAME_USAGE_TP_CD, PREFIX_NAME_TP_CD, START_DT, SUFFIX_DESC, PREFIX_DESC, GIVEN_NAME_THREE, GIVEN_NAME_FOUR, USE_STANDARD_IND, GENERATION_TP_CD, LAST_USED_DT, LAST_VERIFIED_DT, SOURCE_IDENT_TP_CD, P_LAST_NAME, P_GIVEN_NAME_ONE, P_GIVEN_NAME_TWO, P_GIVEN_NAME_THREE, P_GIVEN_NAME_FOUR, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>22) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 5<br />
  Type                    : Dynamic<br />
  Section No              : 5<br />
  Package cache id        : 4308467712<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT PERSONNAME.PERSON_NAME_ID , PERSONNAME.PREFIX_NAME_TP_CD , PERSONNAME.PREFIX_DESC , PERSONNAME.NAME_USAGE_TP_CD , PERSONNAME.GIVEN_NAME_ONE , PERSONNAME.GIVEN_NAME_TWO , PERSONNAME.GIVEN_NAME_THREE , PERSONNAME.GIVEN_NAME_FOUR , PERSONNAME.LAST_NAME , PERSONNAME.GENERATION_TP_CD , PERSONNAME.SUFFIX_DESC , PERSONNAME.START_DT , PERSONNAME.END_DT , PERSONNAME.CONT_ID , PERSONNAME.USE_STANDARD_IND , PERSONNAME.LAST_UPDATE_DT , PERSONNAME.LAST_UPDATE_USER , PERSONNAME.LAST_UPDATE_TX_ID , PERSONNAME.LAST_USED_DT , PERSONNAME.LAST_VERIFIED_DT , PERSONNAME.SOURCE_IDENT_TP_CD , PERSONSEARCH.GIVEN_NAME_ONE , PERSONSEARCH.GIVEN_NAME_TWO , PERSONSEARCH.GIVEN_NAME_THREE , PERSONSEARCH.GIVEN_NAME_FOUR , PERSONSEARCH.LAST_NAME , PERSONSEARCH.LAST_UPDATE_TX_ID FROM PERSONNAME, PERSONSEARCH WHERE PERSONNAME.CONT_ID = ? AND (PERSONNAME.END_DT is null OR PERSONNAME.END_DT&gt; ? ) AND PERSONNAME.PERSON_NAME_ID = PERSONSEARCH.PERSON_NAME_ID</p>
<p>23) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 4<br />
  Type                    : Dynamic<br />
  Section No              : 4<br />
  Package cache id        : 8594980864<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into PERSON (CONT_ID, BIRTH_DT, GENDER_TP_CODE, USER_IND, BIRTHPLACE_TP_CD, HIGHEST_EDU_TP_CD, AGE_VER_DOC_TP_CD, CHILDREN_CT, MARITAL_ST_TP_CD, CITIZENSHIP_TP_CD, DECEASED_DT, DISAB_START_DT, DISAB_END_DT, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>24) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 3<br />
  Type                    : Dynamic<br />
  Section No              : 3<br />
  Package cache id        : 4310302720<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : insert into CONTACT (CONT_ID, ACCE_COMP_TP_CD, PREF_LANG_TP_CD, CREATED_DT, INACTIVATED_DT, CONTACT_NAME, PERSON_ORG_CODE, SOLICIT_IND, CONFIDENTIAL_IND, CLIENT_IMP_TP_CD, CLIENT_ST_TP_CD, CLIENT_POTEN_TP_CD, RPTING_FREQ_TP_CD, LAST_STATEMENT_DT, PROVIDED_BY_CONT, ALERT_IND, DO_NOT_DELETE_IND, LAST_USED_DT, LAST_VERIFIED_DT, SINCE_DT, LEFT_DT, SOURCE_IDENT_TP_CD, ACCESS_TOKEN_VALUE, PENDING_CDC_IND, LAST_UPDATE_DT, LAST_UPDATE_USER, LAST_UPDATE_TX_ID) values(  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? ,  ? )</p>
<p>25) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 2<br />
  Type                    : Dynamic<br />
  Section No              : 2<br />
  Package cache id        : 8605532160<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT IDENTIFIER.CONT_ID  CONTID51 FROM IDENTIFIER WHERE  (  ( IDENTIFIER.ID_TP_CD  = ? ) AND  ( IDENTIFIER.REF_NUM  = ? )    )  FETCH FIRST 100 ROWS ONLY<br />
26) Deadlock statement history ...<br />
  Deadlock ID             : 60<br />
  Participant No          : 1<br />
  Stmt history ID         : 1<br />
  Type                    : Dynamic<br />
  Section No              : 1<br />
  Package cache id        : 4296278016<br />
  Package creator         : NULLID<br />
  Package name            : SYSSN200<br />
  Package version         :<br />
  Lock timeout value      : -1<br />
  Nesting level of stmt   : 0<br />
  Invocation ID           : 0<br />
  Query ID                : 0<br />
  Source ID               : 0<br />
  UOW Sequence number     : 0001<br />
  Isolation level         : Cursor Stability<br />
  Stmt first use time     : 20.04.2009 14.10.56.000000<br />
  Stmt last use time      : 20.04.2009 14.10.56.000000<br />
  Statement text          : SELECT A.CONT_ID AS CONTACT_CONT_ID, A.PERSON_ORG_CODE AS PERSONORGCODE24 FROM CONTACT A, CONTEQUIV B WHERE A.CONT_ID=B.CONT_ID AND B.ADMIN_SYS_TP_CD=? AND B.ADMIN_CLIENT_ID=?<br />
</code></p>
<p>Now these two transactions are doing the same thing. You can see that they are both getting into a loop doing<br />
<code><br />
select ... from personname, personsearch<br />
insert into personname ...<br />
insert into personsearch ...<br />
select ... from personname, personsearch<br />
insert ...<br />
</code><br />
Now it is not very difficult to imagine these transactions getting into situation where one has inserted a row into what may be the subset of the select scope of the other, and the other way around. With the added detail of the keyword <code>values</code> you could of course study the exact traversals taking place.<br />
Now you could of course go back to the developers and ask them to change the logic of their application, but in this case there is a better solution. There really is no good reason why transaction number one should be interested in the rows inserted by transaction number two, unless they were trying to exchange information in some roundabout way in the middle of their transactions. The good news is you can actually tell db2 to disregard rows inserted but not commited by other transactions for cursors using the Cursor Stability or Read Stability isolation levels. This is implemented on instance level through the db2 registry variable <code>DB2_SKIPINSERTED</code>. By setting this to ON<br />
<code><br />
db2set DB2_SKIPINSERTED=ON<br />
</code><br />
and restarting db2, you will change the rather odd default behavior to the more concurrent (and more sensible) behaviour.<br />
Regrettably applications depending upon the old logic would be out of luck. This could be applications for instance trying to pass rows of data and synchronize processing of these data between transactions by inserting rows into a temporary table. It could also be applications using delete/insert to avoid update processing. Hopefully you won&#8217;t run into these cases very often.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=7&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/04/22/deadlock-detective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
		<item>
		<title>Greetings!</title>
		<link>http://db2dude.wordpress.com/2009/04/21/hello-world/</link>
		<comments>http://db2dude.wordpress.com/2009/04/21/hello-world/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 10:21:24 +0000</pubDate>
		<dc:creator>db2dude</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[db2]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=1&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is starting up as a sort of technical notebook on my day-to-day work with <a href="http://www-01.ibm.com/software/data/db2/9/">IBM DB2 Universal Database</a>, or IBM Data Server which the new branding is called. So I bid myself welcome, and who knows, maybe this will turn into something useful for others beside myself?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/db2dude.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/db2dude.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/db2dude.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=db2dude.wordpress.com&amp;blog=7443299&amp;post=1&amp;subd=db2dude&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://db2dude.wordpress.com/2009/04/21/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/792658d21669216b1a335753c63ea963?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">db2dude</media:title>
		</media:content>
	</item>
	</channel>
</rss>
