DB2 Naming Standards
Last week, I read this article by Craig Mullins: http://www.sswug.org/articlesection/default.aspx?TargetID=70585. Go read it, this blog entry will still be here when you get back. I have to say that in...
View ArticleTransaction Logging Details
Transaction log files are one of the core strengths of a DBMS, if you ask me. The ‘D’ in ACID refers to ‘Durability’. What Durability means is that once a transaction is committed, it is not lost, even...
View ArticleInstalling a DB2 Component After the Rest of DB2 is Installed
It doesn’t happen as often as it used to, but it is still possible that you might miss installing a custom install component when you install DB2 and need to go back and install it later. I recently...
View ArticleUsing the IBM_DB Ruby gem with DB2
I am currently working on learning Ruby. I have always been a Perl fanatic, but a new build framework that my company is using requires me to use Ruby. Whee, a chance to learn something new! I am a...
View ArticleDB2 Basics: Storage Groups
What is a Storage Group? A storage group is a layer of abstraction between the data in your database and disk. It is only used with Automatic Storage Tablespaces (AST). It allows us to group...
View ArticleQuick Hit Tips – CPUSPEED, RESTRICTIVE, and DB2_WORKLOAD
Today we are going to talk about some random DB2 features that can’t stand in a blog of their own, but are worth discussing nonetheless. These are tidbits I had discovered during “DB2’s Got Talent”...
View ArticleHADR Tools: the HADR Simulator
I have not made extensive use of the HADR Tools that IBM offers in the past. Most of my HADR setups to date have either been same-data-center using NEARSYNC or have used ASYNC to copy data between data...
View ArticleDB2 Basics: db2look
I was a bit shocked when I searched my own blog for entries on db2look and came up with nothing. While it’s not a complicated tool, db2look is an essential tool. What db2look Can Do db2look is a tool...
View ArticleDB2 Basics: Filesystems for DB2 on Unix and Linux Systems
DB2 doesn’t have any defaults for filesystems because that is an OS-level thing. However, there are a few sanity checks and some recommeded separation when installing DB2 on Linux and UNIX operating...
View ArticleMultiple Instances in DB2 for Linux/UNIX and in DB2 for Windows
I have been working with multiple instances on Windows servers lately, and have learned a few things about them, so I thought an article about multiple instances in general would be a good thing. The...
View ArticleInstance Creation in WebSphere Commerce 7 (DB2 9.5)
Updated 6/21/2012 to provide complete syntax for db2iupdt. So sometimes in Commerce 7 instance creation, we get this error: SQL30082N Security processing failed with reason “42” (“ROOT CAPABILITY...
View ArticleData Movement Options for Commerce Databases – Creation of staging database...
So one of the most common questions I get is about moving data between homogenous Commerce databases. Our standard setup includes 4 environments – Dev, QA, Stage, and Prod. Dev/QA are a stagingprop...
View ArticleData Movement Options for Commerce Databases – Synchronizing Data Between...
So one of the most common questions I get is about moving data between homogenous Commerce databases. Our standard setup includes 4 environments – Dev, QA, Stage, and Prod. Dev/QA are a stagingprop...
View ArticleThe role of the DBA in supporting WebSphere Commerce
I have generally been a bit disappointed on the information coming out of IBM on supporting Commerce databases. I also meet clients who don’t believe they need a dba or that they can hire someone out...
View ArticleBuild Tip – Database Naming
Just a quick tip. When building Commerce environments, select a different database name for each environment (Stage, Prod, etc), even if they are on different database servers. This will help you...
View ArticleBuild Tip – DB2 Backups
Schedule DB2 backups starting immediately after instance creation – the most common time that restores are needed is during the build process. Of course the most common cause for needing a restore is...
View ArticleDB2 for Commerce IDs
So the easy thing to do on Commerce build is to use your DB2 instance owner for everything related to the database. But that’s not really the best choice. It’s almost always the choice I see when a DBA...
View ArticleHADR
What is HADR? HADR is DB2’s implementation of log shipping. Which means it’s a shared-nothing kind of product. But it is log shipping at the Log Buffer level instead of the Log File level, so it can be...
View ArticleHow to completely stop DB2
On Linux and Unix anyway. This is actually a common request during build when OS-level patches are applied or other OS-level work needs to be done, especially any related to disks. Stop Commerce...
View ArticleHow to catalog a DB2 database
So I’m doing a lot of posts in the DB2 Basics area this week. That’s because they are quick for me to write, and they’re questions I get all the time. So bear with me if you read for the more detailed...
View Article