Getting information about MTI using SQL

Maintained Temporary Indexes, MTI, are SQL Indexes that have been created automatically by the Db2 optimizer, without any outside intervention. The reason an MTI is created is there is no suitable existing Index to meet the requirements of a SQL query. MTI is just like any other SQL Index in my IBM i systems. MTI are temporary, as is suggested by their name, and are deleted when the partition is IPL-ed. A MTI might not be recreated the first time the SQL query is executed, it may take several times before the Db2 optimizer decides it is advantageous to create it. Therefore, to optimize your systems it is a good idea to review the Index Advisor on a regular basis, to determine if there are Indexes should be created to alleviate the need for a MTI.

This begs the question: How can I see what MTI currently exist on my partition?

Fortunately there is a way using the

Read more »

JSON vs XML – two data formats, both alike in dignity, on the fair IBM i, where we lay our scene. Check out this article for an in-depth look between the two, and let us know what you think! :) #xml #rpg #ibmi #api

JSON vs XML – two data formats, both alike in dignity, on the fair IBM i, where we lay our scene.

Check out this article for an in-depth look between the two, and let us know what you think! 🙂bit.ly/3Cd5cdD #json #xml #rpg #ibmi #api

– Krengeltech (@krengeltech)13:43 – Aug 17, 2022

There are specific recommendations in #security tools, response strategies, and preventive measures that all #IBMi companies should be implementing. Join us tomorrow at 12 PM EDT to find out how to apply these to your IBM i environment:

There are specific recommendations in #security tools, response strategies, and preventive measures that all #IBMi companies should be implementing. Join us tomorrow at 12 PM EDT to find out how to apply these to your IBM i environment: okt.to/dtWCbA pic.twitter.com/f9n0cSMeQY

– Precisely (@PreciselyData)12:30 – Aug 17, 2022

Verified by MonsterInsights