Triton Consulting - Confessions of a DB2 Geek http://www.triton.co.uk/confessions-of-a-geek/ test en-gb Triton Consulting Mon, 25 Jan 2010 13:35:50 +0000 Triton Consulting Website DB2 Gets More Bite With COBRA http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=10 <p>IBM has been making huge technical strides with their flagship database, DB2, over the past few years. As expected, the recent launch of DB2 9.7 has not failed to impress, incorporating even more improvements.</p><p><a href="../files/DB2%209.7%20a%20technical%20overview.pdf">Click here</a> to download the white paper.</p><p>DB2 9.7, also known as the COBRA release, has made up significant ground on Oracle. The ease with which organisations are now able to migrate from Oracle to DB2 has been enhanced so dramatically that it is now an enticing opti... Mon, 25 Jan 2010 00:00:00 GMT Trials & Tribulations of 24/7 Database Management http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=15 <p>James Cockayne, Principal DBA at Camelot Group gives us his views on key issues for DBAs, the newest active-active availability solutions and how a DBA can ensure they get their all important beauty sleep!</p><p><strong><em>Just how important is it for organisations to ensure they have a robust database availability &amp; disaster recovery solution?</em></strong></p><p>The database is always the lynchpin of an application. Without the database, the application doesn't function, and there's a bunch of angry users wanting to know why (not to mentio... Thu, 07 Jan 2010 00:00:00 GMT DB2 LUW Security - DB2 Whisperings http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=16 <p><strong>DB2 Configuration Parameters - What They Whisper About Security Behind Your Back.</strong></p><p>&nbsp;</p><p>An article by <a href="http://www-01.ibm.com/software/data/champion/profiles/bond.html">Rebecca Bond</a>.&nbsp;</p><p>&nbsp;</p><p>I've always wondered what DB2 would say about security IF it could talk.&nbsp; Maybe the conversation would be something like this.....</p><p>&nbsp;</p><p><strong>DBM DISCOVER:</strong> &nbsp;&quot;So, today she set me to DISABLE.&nbsp;&nbsp; I know...I know...it's for my own good, but I feel SO lonely... Thu, 11 Mar 2010 00:00:00 GMT DB2 LUW gains more Mainframe-style functionality http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=17 <p>&nbsp;</p><p>When you think of a database you think of rows and columns, or that is what was thought of a few years ago.&nbsp; The modern DB2 data server for Linux, UNIX, and Windows (LUW) is a lot more than just a bunch of rows and columns.&nbsp; It is now a powerful server able to replicate many of the features provided by the mainframe.&nbsp; As each iteration of the LUW product is developed, further features are incorporated.&nbsp; In hindsight this has been a long time coming, since the mainframe is recognized industry wide as the leader in ... Mon, 26 Apr 2010 00:00:00 GMT http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=19 <p>Last month we were delighted to be given the opportunity to visit IBM&rsquo;s research and development centre in <a href="http://www-05.ibm.com/de/entwicklung/" target="_blank"><font color="#c90404">Boeblingen</font></a>, Germany.&nbsp; Before I get on to what exactly we were doing there I&rsquo;d like to share a little information about the centre itself as it&rsquo;s quite a place!&nbsp; Opened in 1953, Boeblingen is host to a whopping 2000 IT specialists, electrical engineers and physicists working on over 40 projects!&nbsp; Their focus is on ... Fri, 18 Jun 2010 00:00:00 GMT Pure Genius! pureScale has arrived! http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=21 <p style="margin: 0cm 0cm 0pt" class="MsoNormal">Since its introduction to the market in the mid-90s, DB2 for z/OS data sharing became the gold standard for enterprise data-serving scalability and availability. Customers using DB2 on midrange platforms have long been calling for similar capabilities. This has now arrived in the form of DB2 pureScale.</p><p style="margin: 0cm 0cm 0pt" class="MsoNormal">&nbsp;</p><p style="margin: 0cm 0cm 0pt" class="MsoNormal">Based on the industry leading System z data sharing architecture, DB2 pureScale integrates ... Wed, 24 Feb 2010 00:00:00 GMT A Perspective on Database Performance http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=23 <p>In this article, I want to take a&nbsp;look at database performance, and the reasons why it remains one of the most important topics for any DBA, developer or systems administrator. I'll also cover some golden rules for performance tuning, which tend to apply regardless of the specific platform or application you're responsible for.</p><p>&nbsp;</p><p><strong><u>Why bother?</u></strong><br />So, what's the big deal with database performance? Fundamentally, database performance tuning is done for two basic reasons, and either or both can apply for... Sun, 18 Apr 2010 00:00:00 GMT Triton Consulting are first to work with pureScale http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=24 <p>DB2 experts, Triton Consulting are the first IBM Business Partners in Europe to work with DB2 pureScale - IBM's latest and most important new feature for DB2 LUW.&nbsp;</p><p>&nbsp;</p><p>Triton have a team of DB2 experts spending a week at IBM Labs in Boeblingen Germany on a research and development project. During their time there Triton's consultants will be gaining practical experience in the installation, operation and use of a pureScale environment as well as testing DB2 pureScale for scalability and resilience.</p><p>&nbsp;</p><p>Based on ... Mon, 26 Apr 2010 00:00:00 GMT Adding some zIIP to IBM DB2 http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=27 <p><strong><em>What Can Speciality Processors Do for You?</em></strong></p><p>Article by Julian Stuhler for <a href="http://www.databasejournal.com/features/db2/article.php/3888786/Adding-some-zIIP-to-IBM-DB2-What-Can-Speciality-Processors-Do-for-You.htm">Database Journal</a></p><p><strong>Introduction</strong><br />For some time now, DB2 for z/OS has been the major user and benefactor of the zIIP engine: one of a number of System z technologies collectively known as &quot;speciality processors&quot;. This article provides an overview of the zIIP an... Wed, 07 Jul 2010 00:00:00 GMT DB2 pureScale Coupling Facility http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=29 <p>We were lucky enough to get an opportunity to spend a week in the IBM Boeblingen Labs in Germany, to get some hands on experience with DB2 9.8 &ndash; pureScale &ndash; or Data Sharing on mid-range.&nbsp;</p><p>&nbsp;</p><p>The platform that we were working with was a five node configuration &ndash; two coupling facilities (CFs) and three DB2 member nodes. This was all implemented in three partitioned pSeries p550 servers, with 1TB of disk supporting it.&nbsp;</p><p>&nbsp;</p><p>On z/OS, the performance and behaviour of the CFs in a Data Sharing ... Mon, 12 Jul 2010 00:00:00 GMT DB2 pureScale - Insert Load & Replication http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=30 <p>Following on from James Gill&rsquo;s recent blog post about the Coupling Facility today I&rsquo;m sharing with you our experiences of working with Insert Load &amp; Replication in DB2 pureScale.&nbsp;</p><p>In order to test the load capacity of the IBM DB2 pureScale machine we needed some test data and lots of it!&nbsp; Being somewhat familiar with the capabilities of the CF on z/OS I knew that a few thousand records would not be enough.</p><p>After some checking about, I decided to &ldquo;stand on the shoulders of giants&rdquo; and use the EMPLO... Wed, 21 Jul 2010 00:00:00 GMT August Announcements http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=31 <p>Despite the traditional slow down as many people take a well-earned summer holiday, this month has seen a few interesting announcements from IBM which will impact many of us over the next year or two.</p><p>&nbsp;</p><p><strong><u>DB2 for z/OS V8: The End Is Nigh</u></strong><br />I've been spending time with a few large customers recently helping them upgrade from DB2 for z/OS V7 to V8. This upgrade is usually one of the more painful ones, as the move to a 64-bit platform can result in some performance/CPU regression for certain workloads, and t... Tue, 17 Aug 2010 00:00:00 GMT A DB2 pureScale Primer http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=32 <p>DB2 pureScale adopts many of the same concepts and terminology as the well-established DB2 for z/OS Data Sharing technology, usually considered to be the &quot;gold standard&quot; for shared-disk database architectures. Multiple DB2 instances, or &quot;members&quot; accept and service incoming DB2 work, with all of them accessing a single copy of the data (usually held on a shared, high-performance, fault tolerant disk subsystem).</p><p><br />So, how do you stop multiple processes all updating the same data at the same time? That's where the clev... Tue, 24 Aug 2010 00:00:00 GMT Geek-Tastic Webcasts with the IBM Toronto Lab Team http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=33 <p>If you haven't been tuning into the DB2 pureScale webcast series then we're not sure where you've been but you've certainly missed out on some great info!</p><p>&nbsp;</p><p>Luckily though the DB2 Geek has recorded all of the webcasts so you can listen to them at your leisure!</p><p>&nbsp;</p><p><strong>Episode 1</strong> - Get the lowdown on DB2 pureScale with Matt Huras - lead DB2 pureScale architect at IBM - <a href="https://www1.gotomeeting.com/register/643140225" target="_blank">watch now.</a></p><p>&nbsp;</p><p><strong>Episode 2</strong> - ... Thu, 14 Oct 2010 00:00:00 GMT Thinking of migrating to DB2 10? http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=34 DB2 10 for z/OS will support skip migration from V8 as well as from V9.&nbsp;&nbsp;Despite DB2 9 containing some very attractive new functions and being Generally Available for nearly 3 years now, the recent global economic downturn has seriously impacted IT budgets and many customers still find themselves running DB2 V8 (or even earlier releases). <br /><br />Who is the skip migration going to benefit? If you're brave or unlucky enough to be running on V7 (unsupported for well over a year now) you'll hopefully be planning an upgrade to V8 very soon... Wed, 17 Nov 2010 00:00:00 GMT A Geeks' Christmas Carol http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=36 <span style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt"></span><span style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt"><p align="center">&nbsp;</p><p align="center">On the first day of Christmas</p><p align="center">My DBA gave to me</p><p align="center">A tuning tweak for my b-tree</p><p align="center">~</p><p align="center">On the second day of Christmas</p><p align="center">My DBA gave to me</p><p align="center">Two reorg jobs,</p><p align="center">And a tuning tweak for my b-tree</p><p ... Thu, 09 Dec 2010 00:00:00 GMT "Staggering" Transaction Rates With DB2 pureScale http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=37 <p>DB2 pureScale was first announced back in October 2009 and created huge interest in the market. In April of this year Triton sent a team of their experts to the IBM labs in Germany and were the first European IBM Business Partners to work with DB2 pureScale. Since then, the team have been working hard to build their skills with DB2 pureScale.</p><p>&nbsp;</p><p>Although DB2 pureScale is only currently supported on IBM X Servers and Power Systems, Triton have shown that it is possible to implement DB2 pureScale on a low cost commodity cluster.</p>... Tue, 14 Dec 2010 00:00:00 GMT 5 Clicks to DB2 Success! http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=38 <p>In our latest DB2 Geeks podcast we chat to Scott Hayes, IBM Gold Consultant, CEO of DBI Software and fellow DB2 Geek!</p><p>&nbsp;</p><p>In this episode&nbsp;Scott talks to us&nbsp;about the 5 clicks to success methodology and gives some tips on improving DB2 Performance without throwing money at new hardware!</p><p>&nbsp;</p><p><strong>Database Performance Challenges<br /></strong>Utilities are now running automatically.&nbsp; Autonomic Tuning is making automatic changes to memory configurations.&nbsp; Dynamic SQL has a mind of it's own and is i... Mon, 17 Jan 2011 00:00:00 GMT Behind the scenes on our latest venture http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=40 <p>&nbsp;</p><p>Earlier this month we announced our new partnership with DBI Software but just how did this &quot;marriage made in heaven&quot; actually come about?</p><p>&nbsp;</p><p>Well the idea was born during a conversation between Triton Director, Julian Stuhler and DBI CEO, Scott Hayes.&nbsp; Both IBM Gold Consultants, these two renowned DB2 experts realised that&nbsp;our two organisations are perfectly matched!&nbsp; Through the partnership both organisations will be able to provide existing customers with a more comprehensive service and re... Mon, 24 Jan 2011 00:00:00 GMT SECADM musing http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=42 <p>I had fun with the new SECADM authority introduced in DB2 9.7 recently. I wanted to restore a database on a test server from a backup of the production database taken on a production server. The production database DB2SEC had been created by the user DB2INST1 in the instance DB2INST1. The restore on the test server was being carried out by user DB2INST2 in the instance DB2INST2. The restore worked smoothly - couldn't get much easier I thought. Next step was to give privileges to users to perform various tasks on the DB2SEC database and its object... Wed, 09 Feb 2011 00:00:00 GMT Make sure your tools are up to the job http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=43 <p>We had a customer who had a COGNOS 8/BI development environment running against DB2 AIX V9.5. They were having issues with extremely long elapsed times for COGNOS-generated queries (over 30 minutes!). Temp space was being exceeded and users were increasing it but still experiencing the same problem. The users checked COGNOS which seemed fine and they also ran DB2 Index Advisor and created additional indexes but to no avail.</p><p>&nbsp;</p><p>So, Triton stepped in. We ran some analysis using a tool which we find extremely useful - Brother Eagle, ... Mon, 14 Mar 2011 00:00:00 GMT As bad as it gets - A DB2 support nightmare! http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=44 <p>Imagine the scene - a broken database on an unsupported version of DB2, with no backups or log files to recover the database. Yes, this one really was the stuff of nightmares!</p><p>&nbsp;</p><p>An erroneous script had deleted a few transaction log files that had a 'last changed' date of more than 45 days. The same script had caused other errors and a database restart was required, but the database did not start. The database was looking for an old log file, which had just been deleted by the script. As the policy was to retain the backups and ar... Tue, 29 Mar 2011 00:00:00 GMT Sathy's SECADM Secrets http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=45 <p>In the recent post - <a href="../confessions-of-a-db2-geek/article/42/SECADM-musing" target="_blank">SECADM Musings</a>, Iqbal discussed the RESTORE scenario in 9.7 where the privileges will be 'lost' when restoring the database to a different instance and a work around for the situation. There are other ways to tackle the same issue and here are two of them. </p><p>&nbsp;</p><p><strong>a)</strong> Consider that a database SAMPLE from db2inst1 was restored to db2inst2</p><p>&nbsp;</p><p>On db2inst1, catalog the database </p><p>&nbsp;</p><p>db2 ca... Mon, 04 Apr 2011 00:00:00 GMT To reorganise or not to reorganise http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=46 <p><em>By Philip Carrington - Holiday Extras - A Triton Consulting Client<br /></em><a href="http://www.holidayextras.co.uk/">www.holidayextras.co.uk</a> </p><p>&nbsp;</p><p>From <a href="http://philipcarrington.wordpress.com/" target="_blank">my blog</a> statistics I can see that a common question which leads people to my door is &quot;db2 reorganisation required&quot; or the equivalent. So here I am assuming that you have your Health Monitor service turned on and you have received a warning from either the Health Monitor Screen in the DB2 Control ... Tue, 07 Jun 2011 00:00:00 GMT Diagnostic Helpers http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=47 <p>When opening a PMR with IBM, you will often be asked to send them some specific diagnostics so they can investigate further. IBM has recently issued some new guidance on transmitting this information to the DB2 support team via FTP. The old information APAR(II14631) has been closed and replaced with a new one: II11945. See <a href="https://www-304.ibm.com/support/docview.wss?uid=isg1II11945">https://www-304.ibm.com/support/docview.wss?uid=isg1II11945</a> &nbsp;for further details.</p><p>&nbsp;</p><p>While we're on the subject of diagnostics, the ... Fri, 01 Jul 2011 00:00:00 GMT Time Travelling with DB2 10 for z/OS http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=48 <p>Most IT systems need to keep historical as well as current information. Previously, these kinds of requirements would have involved the DBA and application developers spending valuable time creating and testing the code and associated database design to support the historical perspective, while minimizing any performance impact.</p><p>DB2 10 provides this functionality as part of the database engine. The temporal data feature gives: </p><ul><li>Improved DBA and developer productivity</li><li>Reduced errors in application code</li><li>Reduced time... Mon, 18 Jul 2011 00:00:00 GMT DB2 Explain doesn't do it for Developers http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=49 <p>So there I was running a regular check of PLAN_TABLE in a pre-production environment, checking for any potential poor access paths, when I noticed a new package with a somewhat worrying access path. A tablescan of a 10 million row table with a nasty non-matching index scan, via a nested loop join, of a 20 million row table. Not nice at all. </p><p>&nbsp;</p><p>After some investigation, I found the Developer responsible (let's refer to him as Dave for reasons of anonymity). Dave the Developer tells me that the offending package/SQL is part of a da... Tue, 02 Aug 2011 00:00:00 GMT A Fresh Look at Setting Session Isolation Level http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=50 <p>The isolation level determines how data accessed by one application is isolated from the other. In other words, the degree to which rows accessed by an application is available to another. </p><p>&nbsp;</p><p>A description of the isolations level can be found here - <a href="http://ibm.co/qLofSg">http://ibm.co/qLofSg</a> </p><p>&nbsp;</p><p>It is important to note that the isolation level is associated with an application/session. It is not the property of the database. <br />The default isolation level for a connection is Cursor Stability (CS). ... Wed, 12 Oct 2011 00:00:00 GMT DB2 10 - Secrets of Scalability http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=51 <p>Storage constraints remain the single biggest factor in limiting the scalability of a single DB2 system today. Each process that runs concurrently within that system requires some storage, so the more workload a given system is asked to handle, the higher the storage requirements. Other factors such as logging and internal latching also play a part in limiting the scalability of a single DB2 system, and as bottlenecks are removed elsewhere these become increasingly important.</p><p>&nbsp;</p><p>DB2 10 for z/OS delivers significant new functionali... Fri, 16 Dec 2011 00:00:00 GMT DB2 Geek Review of 2011 http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=52 <p>It's that time of year again, I'll soon be waving goodbye to my DB2 Geek colleagues and heading home for mountains of turkey, mince pies and the odd glass of mulled wine. However, before I leave you I thought it would be good to share my personal DB2 Geek highlights of 2011. So, here we go...</p><p>&nbsp;</p><p><strong><u>January <br /></u></strong>We cleared our post-celebration&nbsp;heads by getting together with our fellow DB2 Geeks across the pond and announcing to the world our new partnership. What a great way to start the new year!</p><p>T... Fri, 23 Dec 2011 00:00:00 GMT DB2DART - Hints & Tips for the DBA http://www.triton.co.uk/confessions-of-a-db2-geek/details.php?id=54 <p>The DB2 Analysis &amp; Reporting tool or DB2DART is one of the lesser used performance tools and has traditionally been used with IBM support. However, DB2DART can be one of the most powerful tools in the DBA's kit bag. It can help increase DBA productivity in crisis situations and earn the DBA some well-deserved brownie points!</p><p>DB2DART is an &quot;offline&quot; tool for checking the architectural correctness of a database. Using DB2DART you are able to check the validity of meta-data structures, page headers, row headers etc. It is critica... Tue, 17 Jan 2012 00:00:00 GMT