Introduction
In large enterprise environments, database administrators often manage tens or even hundreds of Db2 database instances simultaneously. Spotting performance deviations, identifying configuration drift, or comparing workload behaviour across databases typically requires jumping between multiple tools, running manual scripts, or exporting data for offline analysis.
IBM Db2 Genius Hub simplifies this with the Compare Databases dashboard, a unified interface that allows you to compare key monitoring metrics and configuration parameters across multiple databases, side by side, in both real-time and historical time. The dashboard also supports Db2 pureScale databases and instances, making it suitable for high-availability enterprise deployments.
Why Compare Metrics and Configuration of Databases?
Database administrators managing multiple Db2 instances frequently need to:
- Spot performance anomalies by comparing metrics across databases
- Identify configuration drift between production and staging environments
- Validate that database and instance parameters are consistent across nodes
- Quickly detect which databases are underperforming relative to peers
Rather than running separate queries or maintaining external spreadsheets, the Compare Databases dashboard brings all of this into a single, interactive view within Db2 Genius Hub.
Accessing the Dashboard
The Compare Databases dashboard is accessible directly from the Monitor page. Click the Compare Databases button located in the top-right corner of the Monitor page to navigate to the dedicated comparison view.
Figure 1: The Compare Databases button is located in the top-right corner of the Monitor page.
Comparing Monitoring Metrics
The dashboard offers over 150 metrics with more than 100 curated visualizations available for comparison. Metrics are organized into four categories:
- Database Usage
- Monitor Dashboard
- Locking Charts
- Application Connection
You can select, rearrange, and delete metrics as needed. Once satisfied with your selections, click Save to apply the changes.
Figure 2: Select, arrange, and save monitoring metrics for side-by-side comparison.
Additional filtering and display options include:
- Filtering: Select up to 10 databases for comparison, including Db2 pureScale databases and instances and switch between real-time and historical views using the time-based filter.
- Auto-refresh: Charts auto-refresh every 5 minutes. You can pause at any time, and hovering over any graph displays exact data point values for different timestamps.
- Each graph also provides the option to download the individual chart data for offline use.
Figure 3: Each chart provides a download option for offline analysis.
Real-Time Configuration Comparison
One of the most powerful features of the Compare Databases dashboard is the ability to compare database and instance configuration parameters across multiple databases in real time.
Note
Configuration comparison displays live data exclusively for databases that are currently available and actively monitored. Chart-based metric comparison supports both real-time and historical views.
Two configuration types are supported:
Database Configs
Compare database-level parameters such as buffer pool sizes, log configuration, and application heap parameters.
Instance Configs
Compare instance-level parameters such as communication parameters, audit configurations, and memory allocation across nodes.
The comparison is presented in a clear tabular format:
| Parameter Name |
Database 1 |
Database 2 |
Database 3 |
LOGFILSIZ |
1024 |
2048 |
1024 |
MAXAPPLS |
100 |
200 |
100 |
SHEAPTHRES_SHR |
5000 |
5000 |
8000 |
Use the Show Differences Only toggle to filter the table and display only the parameters where values differ across the selected databases, making it easier to spot configuration mismatches at a glance.
You can download the full comparison results in CSV or Excel format for auditing, documentation, or offline review.
Figure 4: Configuration comparison table with Show Differences Only toggle and CSV/Excel export.
Benefits
The Compare Databases dashboard enables database administrators to:
- Compare monitoring metrics across up to 10 databases in a single view
- Support Db2 pureScale databases and instances
- Detect configuration drift between databases instantly
- Validate database and instance configuration parameters without running manual scripts
- Analyse metrics in both real-time and historical views
- Export configuration comparison data in CSV or Excel format
- Access over 150 metrics across curated monitoring categories
- Customise and persist dashboard layouts per operational needs
Summary
Managing multiple Db2 databases is significantly easier when you can compare them side by side. The Compare Databases dashboard in IBM Db2 Genius Hub brings together metric visualizations and real-time configuration comparison in one place, reducing the time administrators spend diagnosing issues and validating consistency across their database estate.
Whether you are comparing workload patterns, detecting configuration mismatches, or preparing audit reports, the Compare Databases dashboard gives you the visibility you need across both real-time and historical data, and including Db2 pureScale environments without leaving Db2 Genius Hub.