A $25 loan can change a life forever
|
By Paul Mayhew, on January 19th, 2011 While working on a deadlocking problem, I came across the cur_commit optoin that is now available in version 9.7. This option is part of the ongoing efforts to make DB2 more Oracle compliant.
After reading about the cur_commit database option, it seemed to be a fair solution to the problem. We installed/upgraded our databases to [...]
By Paul Mayhew, on September 20th, 2010 The db2pd command is a relatively new command (released with version 8.2) that will tell you a huge amount of information about your db2 system. I first made myself familiar with it when looking for a way to get the status of HADR without going through a snapshot output.
db2pd -db sample -hadr - will tell you all you need [...]
By Paul Mayhew, on September 1st, 2010 One of the things I find very powerful in my day to day work as a DBA, is the use of inline shell/awk scripts. I use this technique when I need to do the same thing to many objects. I often use it when I want something quick and dirty or create a base script [...]
By Paul Mayhew, on August 30th, 2010 I’ve always been a little frustrated with db2 when running scripts and command lines with fact that when a command would run like insert, update or delete, you never knew how many rows you affected. Some GUI products will tell you, but with command line it would just come back as being successful (or not) and it [...]
By Ivan Beg, on December 17th, 2009 Have you ever had a situation where you needed to select rows from a table for a specific month? This example demonstrates how to retrieve all of the records belonging to the previous month by setting the first and last days in the WHERE clause of a SELECT statement. But with some tweaking, you can [...]
By Paul Mayhew, on December 16th, 2009 This is the last post about HADR, I think I covered most of the basics of HADR finishing off with how it switches primary and standby. What I have gone over is the basics of HADR. There are many other topics within HADR. One important thing to remember is to NEVER do unlogged operations (careful [...]
|
Site hosted by:
|