<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Ck8GRHs9eSp7ImA9WhRaFEk.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927</id><updated>2012-02-16T17:07:05.561-08:00</updated><category term="Misc" /><category term="Tools and Scripts" /><category term="Performance" /><category term="Backup and Recovery" /><category term="Bug?" /><category term="SQL Tips" /><category term="Utilities" /><title>B-Advised DB2 Blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.badvised.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.badvised.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/B-advisedDb2Blog" /><feedburner:info uri="b-adviseddb2blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>B-advisedDb2Blog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CEIGR3k_fCp7ImA9WhZSEks.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8799148234525922823</id><published>2011-03-27T14:47:00.000-07:00</published><updated>2011-03-27T14:48:46.744-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-27T14:48:46.744-07:00</app:edited><title>DB2's Got Talent Finals</title><summary type="html">Hi All,

Recently I have been taking part in the DB2's Got Talent competition on the DB2 Night Show.
On last Friday, the last round of finals took place and I'm proud to say that I am one of the 4 who made it all the way through.

If anyone wishes to see the replays, they are available at www.db2nightshow.com.
If you liked my presentations, and wish to support me (the only finalist who talked &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/36C8fjxKDdw" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8799148234525922823/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2011/03/db2s-got-talent-finals.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8799148234525922823?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8799148234525922823?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/36C8fjxKDdw/db2s-got-talent-finals.html" title="DB2's Got Talent Finals" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2011/03/db2s-got-talent-finals.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAEQ3Y-cCp7ImA9WhZTFUU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-445366263133401468</id><published>2011-03-19T17:58:00.000-07:00</published><updated>2011-03-19T17:58:22.858-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-19T17:58:22.858-07:00</app:edited><title>Getting More From The REPORT Utility</title><summary type="html">Hi All,

It has been way too long since my last post. In the past weeks I have been taking part in the DB2 Got Talent contest on the DB2 Night Show (www.db2nightshow.com).
During the finals (which are still going on, so you are more than welcomed to vote for me) I talked about the REPORT utility and I wanted to add a blog post about that topic.

The REPORT utility might seem a bit less important &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/hZvaCl2YmEQ" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/445366263133401468/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2011/03/getting-more-from-report-utility.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/445366263133401468?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/445366263133401468?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/hZvaCl2YmEQ/getting-more-from-report-utility.html" title="Getting More From The REPORT Utility" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.badvised.com/2011/03/getting-more-from-report-utility.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIGRXo8eCp7ImA9WxFaEUw.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-2254711983959919236</id><published>2010-07-14T07:22:00.000-07:00</published><updated>2010-07-14T07:25:24.470-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-14T07:25:24.470-07:00</app:edited><title>Table Partitioning in DB2 Express - Part II</title><summary type="html">Hi

As a direct continuation to the previous post on that subject, I decided to post here the solution that I have developed for one of my clients, so you all can enjoy it. I do ask that if anyone improves the implementation, please send me a copy so I can post it here for everyone.

All the scripts that create the objects required for this solution can be found in the resources page on our &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/LxDR7R8lSJg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/2254711983959919236/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/07/table-partitioning-in-db2-express-part.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2254711983959919236?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2254711983959919236?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/LxDR7R8lSJg/table-partitioning-in-db2-express-part.html" title="Table Partitioning in DB2 Express - Part II" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2010/07/table-partitioning-in-db2-express-part.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8MSHw6fip7ImA9WxFUE0w.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-884354068547586706</id><published>2010-06-23T10:24:00.000-07:00</published><updated>2010-06-23T10:24:49.216-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-23T10:24:49.216-07:00</app:edited><title>IOD 2010 Global Conference Promotion Code Discount</title><summary type="html">Hi All,

It's been a real busy time for me lately, so this will be brief.
I was elected as an IBM Champion for 2010, and as a result, I get to provide you folks with a promotion code that can get you a discount in registration.

All you have to do is follow these instructions:

IOD 2010 Global Conference Promotion Code Registration Instructions:Visit the IBM Information On Demand 2010 Global &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/JWwPY6frytM" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/884354068547586706/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/06/iod-2010-global-conference-promotion.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/884354068547586706?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/884354068547586706?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/JWwPY6frytM/iod-2010-global-conference-promotion.html" title="IOD 2010 Global Conference Promotion Code Discount" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2010/06/iod-2010-global-conference-promotion.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04GSHs6eip7ImA9WxFWEkU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-1816521913128285815</id><published>2010-05-31T00:11:00.000-07:00</published><updated>2010-05-31T00:12:09.512-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-31T00:12:09.512-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Tips" /><title>Converting Number to Words Using SQL - Once Again</title><summary type="html">Hi

This post is related to
http://blog.badvised.com/2009/12/converting-number-to-words-using-sql.html

For some reason, one can not post a comment that is too long, so I have opened this post in order to share with you an alternative solution that was sent to me by Sriram Lakshminarasimhan. His solution does not require additional tables as I used in my implementation.
Sriram, thank you for &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/PGYjkZns2q0" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/1816521913128285815/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/05/converting-number-to-words-using-sql.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1816521913128285815?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1816521913128285815?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/PGYjkZns2q0/converting-number-to-words-using-sql.html" title="Converting Number to Words Using SQL - Once Again" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2010/05/converting-number-to-words-using-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ICQn44eSp7ImA9WxFWEkU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-5528502415012580138</id><published>2010-05-17T10:37:00.000-07:00</published><updated>2010-05-31T00:06:03.031-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-31T00:06:03.031-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Misc" /><title>Table Partitioning in DB2 Express</title><summary type="html">Hi,

It's been a while since my last post and I want to apologize, this one is about DB2 LUW ... (although everything here behaves the same on zOS if I'm not mistaken).

A customer I was helping today had a problem with one of his tables. He has a really big table that keeps getting records inserted into, and he needs to periodically delete old records (just a plain log table), and the delete &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/lnt6Y31Nups" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/5528502415012580138/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/05/table-partitioning-in-db2-express.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/5528502415012580138?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/5528502415012580138?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/lnt6Y31Nups/table-partitioning-in-db2-express.html" title="Table Partitioning in DB2 Express" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.badvised.com/2010/05/table-partitioning-in-db2-express.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAMRXg6cSp7ImA9WxFSEUs.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8622750257326105208</id><published>2010-04-13T05:46:00.000-07:00</published><updated>2010-04-13T05:46:24.619-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-13T05:46:24.619-07:00</app:edited><title>Where am I?</title><summary type="html">Hi

I know it has been a long time since my last post, but in the last couple of months there were two significant changes in my life which took up all my time.

The first change was buying my first apartment, which had me running around a bit more than I had expected.

The second change which is probably the most important thing that happened to me yet was the birth of my first child. Her name &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/hf3jbJnkgQY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8622750257326105208/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/04/where-am-i.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8622750257326105208?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8622750257326105208?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/hf3jbJnkgQY/where-am-i.html" title="Where am I?" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_G57a8uDSbnU/S8RnTIR3IrI/AAAAAAAAAAk/TSUtsI_KINs/s72-c/P1110953.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://blog.badvised.com/2010/04/where-am-i.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IASH8zfSp7ImA9WxBXE0s.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-7352706543184386364</id><published>2010-01-24T13:42:00.000-08:00</published><updated>2010-01-24T13:45:49.185-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-24T13:45:49.185-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Index Usage For Foreign Key Enforcement by DB2</title><summary type="html">In this post I would like to check how much flexibility  DB2 provides regarding using an existing index for foreign key enforcement.


A foreign key, is a type of constraint which tells DB2 to enforce that every value in a "child / details" table exists in a "parent / master" table. As a result, when making updates to the parent table, DB2 must perform some tests against the child table so no &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/-GxOGduCTQs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/7352706543184386364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/01/index-usage-for-foreign-key-enforcement.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/7352706543184386364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/7352706543184386364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/-GxOGduCTQs/index-usage-for-foreign-key-enforcement.html" title="Index Usage For Foreign Key Enforcement by DB2" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2010/01/index-usage-for-foreign-key-enforcement.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQGRH8zfyp7ImA9WxBQE0s.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8475373713746825952</id><published>2010-01-12T22:59:00.000-08:00</published><updated>2010-01-12T23:05:25.187-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-12T23:05:25.187-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Identity Column Insert Performance</title><summary type="html">Hi

It has been a while since my last post, but since it was the holiday season, I assumed that nobody was reading blog posts anyway... :-)

This time I want to write about Identity Column insert performance, or to be more precise, the effect of the CACHE parameter of identity columns on insert performance.

The identity column provided by DB2 is a special type of column. You can create only a &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/EmKhcBUYUW4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8475373713746825952/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/01/identity-column-insert-performance.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8475373713746825952?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8475373713746825952?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/EmKhcBUYUW4/identity-column-insert-performance.html" title="Identity Column Insert Performance" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_G57a8uDSbnU/S01ucsvUtPI/AAAAAAAAAAM/RpTcp2A7Sjk/s72-c/cache_insert_rate.GIF" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://blog.badvised.com/2010/01/identity-column-insert-performance.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYAQXszeyp7ImA9WxBRFk4.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-6360178438491160457</id><published>2010-01-04T10:35:00.000-08:00</published><updated>2010-01-04T10:35:40.583-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-04T10:35:40.583-08:00</app:edited><title>Space Reuse Affected By Commit?</title><summary type="html">Hi

In this post I would like to present to you a strange scenario involving DB2 space reuse which I was not able to reconstruct in a test system.

One day a programmer told me he added a tiny change to one of his batch processes which caused the CPU consumption to increase from 1 minute (1 hour elapsed time) to 22 minutes. The batch process receives a file with client records (usually around 30 &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/xruiSsoK58o" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/6360178438491160457/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2010/01/space-reuse-affected-by-commit.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6360178438491160457?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6360178438491160457?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/xruiSsoK58o/space-reuse-affected-by-commit.html" title="Space Reuse Affected By Commit?" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2010/01/space-reuse-affected-by-commit.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQDRXc_eip7ImA9WxBSEUU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-1149018082416027750</id><published>2009-12-17T02:42:00.000-08:00</published><updated>2009-12-18T15:52:54.942-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-18T15:52:54.942-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Tips" /><title>Converting Number to Words Using SQL</title><summary type="html">Two posts in one week? Christmas came early this year… :-)

There is a web site called experts exchange where people ask questions and other people answer. I spend some time answering questions there and today someone asked for a solution for the following problem:
He has a number and he needs to convert it to text, for example, convert 10 to ten.
This is required for some check handling &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/QGPYPJKAqkU" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/1149018082416027750/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/12/converting-number-to-words-using-sql.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1149018082416027750?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1149018082416027750?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/QGPYPJKAqkU/converting-number-to-words-using-sql.html" title="Converting Number to Words Using SQL" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>5</thr:total><feedburner:origLink>http://blog.badvised.com/2009/12/converting-number-to-words-using-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMDRXw9cCp7ImA9WxBTGE8.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-2962085943988353842</id><published>2009-12-14T13:01:00.000-08:00</published><updated>2009-12-14T13:01:14.268-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-14T13:01:14.268-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tools and Scripts" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Copy DB2 Statistics – Modeling Production Systems</title><summary type="html">This post is somewhat related to a previous post about comparing access path selection between test and production systems.

In the previous post I talked about the problem that verifying a package has optimal access paths in the test system, will not guarantee it will have the same access paths in the production system. The post also had a link to a REXX script that compares plan_tables between &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/FxaoYn65M5o" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/2962085943988353842/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/12/copy-db2-statistics-modeling-production.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2962085943988353842?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2962085943988353842?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/FxaoYn65M5o/copy-db2-statistics-modeling-production.html" title="Copy DB2 Statistics – Modeling Production Systems" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://blog.badvised.com/2009/12/copy-db2-statistics-modeling-production.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QBSH89eSp7ImA9WxBTEks.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-9015575629390374096</id><published>2009-12-08T00:33:00.000-08:00</published><updated>2009-12-08T00:35:59.161-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-08T00:35:59.161-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utilities" /><category scheme="http://www.blogger.com/atom/ns#" term="Backup and Recovery" /><title>Converting RBA to Timestamp</title><summary type="html">Hi

This time I want to address an issue I see many people ask about in forums – how can I convert a RBA value to Timestamp.

Well, first we should note that DB2 uses two methods to keep log records sequence.

In non Data Sharing systems, each log record is associated with an RBA (Relative Byte Address) which is the 6 byte offset of the log record, from the beginning of the DB2 logs.

In a Data &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/JKFcDKEOjrw" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/9015575629390374096/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/12/converting-rba-to-timestamp.html#comment-form" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/9015575629390374096?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/9015575629390374096?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/JKFcDKEOjrw/converting-rba-to-timestamp.html" title="Converting RBA to Timestamp" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>6</thr:total><feedburner:origLink>http://blog.badvised.com/2009/12/converting-rba-to-timestamp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EERXk4eCp7ImA9WxNaFEU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8826734074077009252</id><published>2009-11-29T00:00:00.000-08:00</published><updated>2009-11-29T00:00:04.730-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-29T00:00:04.730-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Misc" /><title>The Shy Objects</title><summary type="html">Hi

This post will be a bit different from the previous ones. No big experiments or useful tips, just an issue you will probably never encounter. I stumbled across it by accident while I was writing a script (that will be published in the near future).

I have some experience with SQL Server, and there you can find many strange things you would not expect, stuff that seems like the QA team did &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/cxPH-Idmiyc" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8826734074077009252/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/11/shy-objects.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8826734074077009252?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8826734074077009252?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/cxPH-Idmiyc/shy-objects.html" title="The Shy Objects" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.badvised.com/2009/11/shy-objects.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8HRns5fyp7ImA9WxNbGUU.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8038838599882178261</id><published>2009-11-23T06:50:00.000-08:00</published><updated>2009-11-23T06:50:37.527-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-23T06:50:37.527-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>UNION ALL Performance and Behavior</title><summary type="html">This time I am going to talk about UNION ALL.
I am sure numerous posts were already dedicated to the UNION vs. UNION ALL issue, but just to make sure everyone knows the difference, UNION ALL returns all rows while UNION returns only distinct rows (which will require DB2 to sort the result set and remove duplicate rows before it is returned).

What I wanted to do is to check how DB2 process the &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/FkMK8n9qgcA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8038838599882178261/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/11/union-all-performance-and-behavior.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8038838599882178261?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8038838599882178261?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/FkMK8n9qgcA/union-all-performance-and-behavior.html" title="UNION ALL Performance and Behavior" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/11/union-all-performance-and-behavior.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQBSHg7fip7ImA9WxNbE08.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-747989413865864388</id><published>2009-11-15T14:13:00.000-08:00</published><updated>2009-11-15T14:15:59.606-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-15T14:15:59.606-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utilities" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>REORG SHRLEVEL CHANGE – aiming at 24x7 – Part II</title><summary type="html">In the previous post I started talking about the REORG utility with the shrlevel change option. I told you about two problems that one would probably encounter when running online REORG with the default parameter values:
1. The default value of MAXRO is 300 seconds, while the default timeout interval (IRLMRWT) is 60 seconds which means, once DB2 will get to the last log iteration, most likely &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/eK_1T7cTJdI" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/747989413865864388/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/11/reorg-shrlevel-change-aiming-at-24x7_15.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/747989413865864388?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/747989413865864388?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/eK_1T7cTJdI/reorg-shrlevel-change-aiming-at-24x7_15.html" title="REORG SHRLEVEL CHANGE – aiming at 24x7 – Part II" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://blog.badvised.com/2009/11/reorg-shrlevel-change-aiming-at-24x7_15.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQEQHs4fyp7ImA9WxNUFkQ.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-1118144426555438399</id><published>2009-11-08T07:52:00.000-08:00</published><updated>2009-11-08T08:21:41.537-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-08T08:21:41.537-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utilities" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>REORG SHRLEVEL CHANGE – aiming at 24x7 – Part I</title><summary type="html">As I have seen in sites where I worked, there is some confusion regarding the parameters of the REORG utility. Everybody would like to have true 24x7 systems using online REORG SHRLEVEL CHANGE, but in order to be on the safe side, they used SHRLEVEL REFERENCE instead.

When DB2 performs a REORG with SHRLEVEL CHANGE, it builds the shadow files the same way as it does with REORG SHRLEVEL REFERENCE,&lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/VO-7goG0K4g" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/1118144426555438399/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/11/reorg-shrlevel-change-aiming-at-24x7.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1118144426555438399?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1118144426555438399?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/VO-7goG0K4g/reorg-shrlevel-change-aiming-at-24x7.html" title="REORG SHRLEVEL CHANGE – aiming at 24x7 – Part I" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/11/reorg-shrlevel-change-aiming-at-24x7.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08CRXk6fyp7ImA9WxNUEU0.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-3561285241597895895</id><published>2009-11-01T13:11:00.000-08:00</published><updated>2009-11-01T13:11:04.717-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-01T13:11:04.717-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tools and Scripts" /><title>DB2 V7 Restart Identity Column</title><summary type="html">DB2 V7? is this for real?

Well, as sad as it sounds, some people still use DB2 v7, or DB2 v8 compatibility mode. It's true; I even have a client that use it.
That client had a problem; a programmer copied a table with an identity column from the production system to the test system using dsn1copy. Since the production table was bigger, when trying to insert records in the test system he received&lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/jKj0HPudyl4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/3561285241597895895/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/11/db2-v7-restart-identity-column.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/3561285241597895895?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/3561285241597895895?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/jKj0HPudyl4/db2-v7-restart-identity-column.html" title="DB2 V7 Restart Identity Column" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/11/db2-v7-restart-identity-column.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8FSXw7eSp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-5288784836778552714</id><published>2009-10-26T15:01:00.000-07:00</published><updated>2009-10-27T13:03:38.201-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:03:38.201-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utilities" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Load Resume Shrlevel Change Behavior - The Results</title><summary type="html">Hi

As promised, here are the answers to the questions from the previous post.
For my experiment I have created the following tables:

CREATE TABLE MOMI.MOMITEST (                                         
ID   INT GENERATED ALWAYS AS IDENTITY (START WITH 1 CACHE 10000 ),    
TMSTAMP  TIMESTAMP NOT NULL WITH DEFAULT ,                            
-- DMY1 CHAR(250) NOT NULL WITH DEFAULT 'MOMI',&lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/hDV6Zwndnwg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/5288784836778552714/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/load-resume-shrlevel-change-behavior.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/5288784836778552714?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/5288784836778552714?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/hDV6Zwndnwg/load-resume-shrlevel-change-behavior.html" title="Load Resume Shrlevel Change Behavior - The Results" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/load-resume-shrlevel-change-behavior.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4CQHY9eSp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-6683232206690155258</id><published>2009-10-21T10:14:00.000-07:00</published><updated>2009-10-27T13:06:01.861-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:06:01.861-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Misc" /><title>When Exactly is Current Timestamp ???</title><summary type="html">Well, I know I still owe some answers regarding load resume yes shrlevel change post, but this post will be about an issue I faced when conducting the load utility testing.

Assuming we have this scenario:
table1 with column named tmstamp with a default value of current timestamp
table2 with 2 columns - rec_tmstamp and max_tmstamp

Some process is constantly inserting rows into table1 (with &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/lzg3XJWezZ0" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/6683232206690155258/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/when-exactly-is-current-timestamp.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6683232206690155258?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6683232206690155258?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/lzg3XJWezZ0/when-exactly-is-current-timestamp.html" title="When Exactly is Current Timestamp ???" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/when-exactly-is-current-timestamp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAMQHk_fyp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-8216480364127062299</id><published>2009-10-20T14:17:00.000-07:00</published><updated>2009-10-27T13:03:01.747-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:03:01.747-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utilities" /><title>Load Resume Shrlevel Change Behavior</title><summary type="html">Hi

Usually, I find it very hard to complain about the DB2 manuals, since they are rather detailed, but as for the load utility, I could not find in the manuals any description of the actual behavior when using resume yes shrlevel change.

Some questions I could not find answers to in the manual were
1) Which part of the data is available for concurrent access? only the data that existed in the &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/-1Anjdo7LMw" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/8216480364127062299/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/load-resume-shrlevel-change-locking.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8216480364127062299?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/8216480364127062299?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/-1Anjdo7LMw/load-resume-shrlevel-change-locking.html" title="Load Resume Shrlevel Change Behavior" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/load-resume-shrlevel-change-locking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUANQ3wzcSp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-2254449576116587774</id><published>2009-10-18T09:09:00.001-07:00</published><updated>2009-10-27T13:03:12.289-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:03:12.289-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bug?" /><title>DB2CFIMP / Configuration Assistant hangs when importing</title><summary type="html">Hi

Just a little problem with the DB2 LUW client I faced today. I needed to copy the database manager configuration from one server to another. I used DB2CFEXP in order to export the configuration at the source instance, and then tried to import it using DB2CFIMP on the target instance.

The DB2CFIMP utility just froze and I was getting no reply for several minutes. I tried to perform the same &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/o_PIB1NOItc" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/2254449576116587774/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/db2cfimp-configuration-assistant-hangs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2254449576116587774?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/2254449576116587774?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/o_PIB1NOItc/db2cfimp-configuration-assistant-hangs.html" title="DB2CFIMP / Configuration Assistant hangs when importing" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/db2cfimp-configuration-assistant-hangs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8FSXw7eSp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-6539889120196694649</id><published>2009-10-14T15:17:00.000-07:00</published><updated>2009-10-27T13:03:38.201-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:03:38.201-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tools and Scripts" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Compare Static SQL Access Paths</title><summary type="html">What I am going to talk about this time is one of the most critical factors (in my opinion) of application performance - the access paths that were selected for your SQL statements.

There are two types of SQL statements - dynamic and static. This post will be devoted for static SQL statements, that is, statements for which an access path is chosen at bind time.

As a part of project I did for a &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/EP2hgaUvEJs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/6539889120196694649/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/compare-static-sql-access-paths.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6539889120196694649?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/6539889120196694649?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/EP2hgaUvEJs/compare-static-sql-access-paths.html" title="Compare Static SQL Access Paths" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/compare-static-sql-access-paths.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUACRn0zeCp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-1695896730008112476</id><published>2009-10-14T15:14:00.000-07:00</published><updated>2009-10-27T13:02:47.380-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:02:47.380-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tools and Scripts" /><title>Job generation utility / a smarter Listdef</title><summary type="html">As a DBA, sometimes I find myself in need of running jobs on a list of objects which I can only identify using a SQL statement. In these cases, the IBM Listdef utility is not sophisticated enough and a massive amount of manual labor is needed.


In order to shorten the time it takes me to prepare such jobs, I wrote a simple REXX script that receives the following parameters (description of &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/H7iSyjpQg90" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/1695896730008112476/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/job-generation-utility-smarter-listdef.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1695896730008112476?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/1695896730008112476?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/H7iSyjpQg90/job-generation-utility-smarter-listdef.html" title="Job generation utility / a smarter Listdef" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/job-generation-utility-smarter-listdef.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8FSXw7eSp7ImA9WxNVFko.&quot;"><id>tag:blogger.com,1999:blog-7228069806563558927.post-3473919858590750259</id><published>2009-10-07T14:31:00.000-07:00</published><updated>2009-10-27T13:03:38.201-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-27T13:03:38.201-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bug?" /><category scheme="http://www.blogger.com/atom/ns#" term="Performance" /><title>Debugging with The Dynamic Statement Cache</title><summary type="html">Hi

In DB2 version 8 one of my favorite features was introduced and that is, the explain stmt cache statement. This statement provides information regarding the content of the dynamic statement cache (which statements are cached and what is the cached access path), and if you have ifcid 318 turned on, you also receive statistics such as number of executions, cpu time etc.

Using that information &lt;img src="http://feeds.feedburner.com/~r/B-advisedDb2Blog/~4/nGlEaY0kbSU" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://blog.badvised.com/feeds/3473919858590750259/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.badvised.com/2009/10/debugging-with-dynamic-statement-cache.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/3473919858590750259?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7228069806563558927/posts/default/3473919858590750259?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/B-advisedDb2Blog/~3/nGlEaY0kbSU/debugging-with-dynamic-statement-cache.html" title="Debugging with The Dynamic Statement Cache" /><author><name>Shalom Momi Sabag</name><uri>http://www.blogger.com/profile/07026175886957513473</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.badvised.com/2009/10/debugging-with-dynamic-statement-cache.html</feedburner:origLink></entry></feed>

