The Db2 RDBMS offers many great tools for getting things done. There are, however, times when tools are unavailable. This isn’t a problem when you’re performing a simple and discrete task. When the task has many iterations then like dropping triggers or granting...
Db2 Blog Posts
Setting Up HADR with Two Auxiliary Standbys
In my previous blog, I presented some of the issues you can run into when setting up one auxiliary HADR standby and a potential solution. This blog discusses setting up two auxiliary standby databases in detail. Let's start with all the information we need to set the...
Terminating Db2 Backups to a Vendor Media Server
Sometimes, while running a database backup or restore, you may encounter a situation where you need to terminate the backup or restore operation. If the backup is writing to disk, this is quite easy: You can generally type Ctrl-C, and the Db2 Command Line Processor...
JCC Errorcode -4220 After Loading Data
THE PROBLEM While working with a client on a data migration from Microsoft SQL Server 2014 to IBM Db2 11.1, the client reported that the application was displaying the following error when attempting to read records from tables containing LOBs that we had just loaded....
Investigating TSAMP Details in Already Setup Environment
There are several scenarios where you might need details to re-build TSAMP. If TSAMP did not start properly after an upgrade or even while troubleshooting, the option to open a case with IBM and get root cause analyzed takes time. In many of these scenarios, it's just...
Db2 Basics: Beyond Just Taking a Backup – Backup Performance, Utilities, and More!
While I've covered this topic in detail, and blogged about a specific backup performance problem, I've never talked about this at the basic level. What is a Backup? A backup is a binary image of the entire Db2 database. It is, therefore, the size of the entire Db2...
Three Text Highlighting Tricks with PuTTY
PuTTY is a free, cross-platform terminal program that supports SSH, telnet, and raw socket connections. For authentication it supports public key and kerberos single-sign-on. This application, is one of the oldest clients for Microsoft Windows, released by Simon...
Db2 System Authorities
How do I grant a user SYSADM, SYSCTRL, SYSMAINT, or SYSMON privileges in Db2? As a newbie to the database administration world, I was tasked with giving a pretend user the ability to create databases in a virtual environment setup for learning. I easily found that the...
SQL0443N After Db2 Fixpack Upgrade
After applying a Db2 fixpack, you can get SQL0443N when calling the get_dbsize_info() stored procedure. Cause and resolving the problem: get_dbsize_info() uses the system catalogs internally which do not get updated as part of a fix pack update, and should be updated...
Hard-Coding Ports for HADR When Setting up Multiple Standbys
While implementing HADR for multiple standbys, there could be potential issues if the HADR ports are not hard-coded on the HADR settings. Here's what the issue looks like: The primary is dbpp.example.com The standbys are: 1st - dbps.example.com 2nd –...