Db2 Blog Posts

Seven SQL Performance-Killers to Avoid in Db2

How Db2 Handles SQL SQL is a powerful language in the hands of the right RDBMS. One of SQL's strengths is that you specify what data you want returned without specifying what file, disk, san, or sector that data is stored on. Because we describe the result set we...

read more

Dropping Indexes to Improve Db2 Performance

Indexes are Good for Performance Generally speaking, DBAs and developers spend a fair amount of their performance time trying to find which indexes to add to a database to improve performance. If a specific query is having performance problems, one of the strongest...

read more

Runstats Best Practices for Db2 on LUW

What is Runstats? Runstats is a utility in Db2 that is used to collect statistics about the data in Db2 tables and indexes. This statistical information is critical to Db2 database performance. Runstats is executed on a table by table basis, so scripting it is quite...

read more

Enterprise Database Software for Free – IBM Db2

Personally, I am biased. As the team lead for Db2 services here at XTIVIA, I think Db2 and other enterprise database software have significant advantages over some of the open source or free options out there. Decades of time invested and spent solving the problems of...

read more

Why are there Question Marks in my Db2 Queries?

Sometimes when you're looking at Db2 Queries, you may notice question marks in your queries, like this: SELECT partnum, sum(quantity) as QUANTITY FROM orderitems oi INNER JOIN orders o ON oi.orders_id = o.orders_id where o.field3 is null and o.timeplaced is not null...

read more

Accessing Db2 from the Command Line

Most Db2 DBAs administer Db2 at the command line. The command line provides a rich and powerful interface with Db2, and has a lot of options. Many other users may wish to access Db2 at the command line as well. Developers and system administrators are just a few of...

read more

Db2 Table Row (Tuple) Size

The row size for a table in Db2 is important in several ways. It determines which page size can be used for a tablespace, and it can help us estimate table size - either optimal or future. Selecting a Page Size Db2 page sizes are adjustable only for tablespace and...

read more

Need more information? Let’s Talk Today!