Overview of IBM SQL Tuning Services
SQL Tuning Services is a set of tools, delivered as RESTful APIs, that you use to analyze and tune SQL applications that work with Db2® for z/OS®. You can call these APIs directly from an application and you can use them from within IBM® Db2 Administration Foundation for z/OS and IBM Db2 for z/OS Developer Extension.
SQL Tuning Services features
SQL Tuning Services features are provided in the
following two products:
- IBM Database Services Expansion Pack, which is available at no additional cost to licensed Db2 Accessories Suite for z/OS users, includes a subset of all the available SQL Tuning Services features.
- IBM Db2 Query Workload Tuner for z/OS 6.1, which can be purchased separately or is included in the Db2 Performance Solution Pack for z/OS, includes all of the features that are included with IBM Database Services Expansion Pack plus a more robust set SQL analysis and tuning features.
The following table describes all of the SQL Tuning Services features and indicates which features are included with the related products:
Feature | IBM Database Services Expansion Pack (no charge) | Db2 Query Workload Tuner 6.1 (priced feature) |
---|---|---|
|
✓ | |
|
✓ | |
|
✓ | ✓ |
|
✓ | |
![]()
![]() |
✓ | |
|
✓ | ✓ |
|
✓ | |
|
✓ | |
|
✓ | ✓ |
|
✓ | ✓ |
|
✓ | ✓ |
|
✓ | ✓ |
![]()
![]() |
✓ | |
|
✓ | |
|
✓ | |
![]()
![]() |
✓ | |
![]()
![]() |
✓ | |
|
✓ | |
|
✓ | |
|
✓ | |
![]()
![]() |
✓ | |
|
✓ | |
|
✓ | |
![]()
![]() |
✓ |
How to use SQL Tuning Services
Because SQL Tuning Services functionality is delivered as RESTful APIs, you can call them directly from an application or development environment (for example, from within a CI/CD DevOps pipeline).
Additionally, SQL Tuning Services functionality is
integrated into the user interfaces of the following products:
- IBM Db2 Administration Foundation for z/OS leverages the SQL Tuning Services APIs to improve the performance of SQL applications that are running on your system. A database administrator can identify, evaluate, and improve SQL queries that affect system performance.
- IBM Db2 for z/OS Developer Extension integrates the SQL Tuning Services APIs into a Microsoft™ Visual Studio Code development environment so that application developers can analyze and tune their SQL applications as they are writing them.
Restriction: Workload analysis and tuning features are available only as stand-alone APIs and with Db2 Administration Foundation. Currently, they are not integrated into Db2 Developer Extension.