Comparing Two Db2 Systems
Sometimes configuration needs to be kept in sync between two or more Db2 systems. There are a variety of reasons – sometimes this is for keeping two HADR servers in sync, and other times it may be for...
View ArticleExcluding a Table from Db2’s Automatic Runstats
The Problem The application in this case – SPSS – maintains an exclusive lock at all times on one table. I think this is poor application design, but IBM was not willing to change it when we brought it...
View ArticleDb2 Basics: Levels of Configuration
There are a number of places where we can store and change configuration for a Db2 server. I wanted to walk through the main areas and a few details about them. Db2 Registry The Db2 registry actually...
View ArticleDB2 Memory Area In-Depth: The Package Cache
The package cache is just one memory area that DB2 offers to tune memory usage for a DB2 database. This article is a deep dive into this memory area. What is the Package Cache The package cache is an...
View ArticleUsing Vendor Backup Solutions with DB2 for LUW
There are an astonishing number of vendor solutions available with specific interfaces for DB2. Working with a variety of clients, I see and help to evaluate and implement a variety of backup...
View ArticleDB2 LUW – What is a Page?
The logical view of a database consists of the standard objects in any RDBMS – Tables, Indexes, etc. There are a number of layers of abstraction between this and the physical hardware level, both in...
View ArticleWhen is ‘AUTOMATIC’ Not STMM?
Somewhere along the line, I associated ‘AUTOMATIC’ settings for parameters with DB2’s Self-Tuning Memory Manger (STMM). But the two are not associated. Sure, if STMM is set to ON, then some parameters...
View ArticleIDUG NA 2013 Brain Dump
Wait, don’t avoid reading this because you didn’t go to the conference. There is still valuable stuff here. In fact, it is even more valuable for those who did not go. Last year, I posted my brain dump...
View ArticleLooking at How Much Memory DB2 is Using
I used to think that if I could just get enough details into a spreadsheet, I could tell exactly how much memory DB2 would be using at any point in time. I gave up on the spreadsheet idea long ago,...
View ArticleWhat to Change in DB2 when IP Addresses or Host Names Change
I have been through a number of IP address or host name changes over the years, and thought I’d share the lessons learned. I’m specifically talking about changes to the IP address or hostname of a DB2...
View ArticleUsing TSA/db2haicu to Automate Failover Part 3: Testing, Ways Setup can go...
Part 3 in this series is a bit overdue. Parts 1 and 2 were back in April. This is a complicated topic. Please use any procedures here with extreme care, and keep in mind that if you have anything other...
View ArticleParameter Wednesday: DB CFG UTIL_HEAP_SZ
DB2 Version This Was Written For 9.7 Parameter Name UTIL_HEAP_SZ Where This Parameter Lives DB CFG How To Check Value > db2 get db cfg for sample |grep UTIL_HEAP_SZ Utilities heap size (4KB)...
View ArticleParameter Wednesday: DB2 Registry DB2_EVALUNCOMMITTED
DB2 Version This Was Written For 9.7 Parameter Name DB2_EVALUNCOMMITTED Where This Parameter Lives DB2 Registry (db2set) How To Check Value > db2set -all |grep DB2_EVALUNCOMMITTED [i]...
View ArticleInstalling DB2 Using a Response File
Some friends on Twitter were commenting that db2_install is not just deprecated in DB2 10, but is fully discontinued and not available. Melanie Stopfer mentioned this on her webcast on June 22. I do...
View ArticleParameter Wednesday: DB2 Registry DB2_SKIPINSERTED
DB2 Version This Was Written For 9.7 Parameter Name DB2_SKIPINSERTED Where This Parameter Lives DB2 Registry (db2set) How To Check Value > db2set -all |grep DB2_SKIPINSERTED [i] DB2_SKIPINSERTED=YES...
View ArticleParameter Wednesday – DB CFG – pckcachesz
DB2 Version This Was Written For 9.7 Parameter Name PCKCACHESZ Where This Parameter Lives Database Configuration How To Check Value > db2 get db cfg for sample |grep PCKCACHESZ Package cache size...
View ArticleParameter Wednesday – DB CFG – LOCKLIST
DB2 Version This Was Written For 9.7 Parameter Name LOCKLIST Where This Parameter Lives Database Configuration How To Check Value $ db2 get db cfg for wc005s01 |grep LOCKLIST Max storage for lock list...
View ArticleParameter Wednesday: DBM CFG – INTRA_PARALLEL
DB2 Version This Was Written For 9.7 Parameter Name INTRA_PARALLEL Where This Parameter Lives Database Manager Configuration How To Check Value $ db2 get dbm cfg |grep INTRA_PARALLEL Enable...
View ArticleParameter Wednsday – DBM CFG: DIAGLEVEL
Continuing my trend of attacking some of the simpler parameters first, I’m going to cover DIAGLEVEL this week. DB2 Version This Was Written For 9.7 Parameter Name DIAGLEVEL Where This Parameter Lives...
View ArticleWhat DBAs can do to Reduce Deadlocks
Deadlocking is an application problem. There are only a few things that DBAs can do to reduce deadlocking, and they all require buy-in from the application. Let me repeat that another way. Don’t set...
View Article