Friday, May 15, 2009

db2top: What's going on?

DB2 has lots of good stuff, and lots of hidden gems. One of them is db2top (it was alphaWorks before) which kind of sneaked in via fixpacks to V8.1.17 a.k.a V8.2.10, to V9.1.6, and to V9.5.2. If you know the "top" command from your UNIX system, you already have a general idea of what db2top is:

The db2top command provides a unified, single-system view of a multi-partition database or single-partition database on the AIX®, Linux® and Solaris operating systems. It can be used to quickly identify global problems, or specific database partition problems in the system. By combining snapshot information from each database partition, the utility can provide a dynamic real-time view of a running DB2® system.
db2top provides quick overview of tablespace, bufferpool, session, and other activities. It allows to capture snapshots over time and then automatically analyze them for performance. All this is provided through a simple-to-use text interface.

If you want to know more about db2top, I recommend to start with this developerWorks article and of course to visit the DB2 Information Center for the command details.

2 comments:

Anonymous said...

Do not forget to mentions that MSwindows customers are left in the cold. No db2top there.
There is a bypass:
http://doyoudb2.com/db2-forums?func=view&catid=5&id=67

Henrik Loeser said...

Thanks for the link on how to use VMWare and Linux to get db2top through the backdoor to Windows.

MS Windows is different in many ways from UNIX/Linux-based systems.

Henrik

LinkWithin

Related Posts with Thumbnails