What problem does it solve?
IBM i database performance planning and troubleshooting can be time-consuming; this skill consolidates critical metrics from index usage, MTIs, monitors, and MQTs to help teams quickly identify bottlenecks and optimization opportunities.
Core Features & Use Cases
- Index statistics & optimization: Inspect QSYS2.SYSINDEXSTAT for usage counts, last build times, and identify unused or high-impact indexes.
- MTI overhead analysis: Analyze Maintained Temporary Index sizes to pinpoint overhead and determine MTI-to-index promotion opportunities.
- Database monitor review: List and assess active/inactive monitors, statuses, filters, and output locations to ensure effective monitoring.
- Query supervisor audits: Review threshold rules to validate performance guardrails and tune queries.
- MQT statistics: Track Materialized Query Tables status, usage counts, sizes, and refresh timings to measure effectiveness.
- Cross-library health checks: Run end-to-end checks across libraries to surface bottlenecks like MTI overhead or underused indexes.
Quick Start
Use ibmi tools to list index statistics and MTI information for your libraries to begin monitoring database health.