×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




You can actually run queries against the plan cache data..

First dump it,
https://www.ibm.com/docs/en/i/7.4?topic=services-dump-plan-cache-procedure

Then take a look in the tables..
The file has the same definition as the QSYS/QAQQDBMN file. See Database
monitor SQL table format
<https://www.ibm.com/docs/en/ssw_ibm_i_74/rzajq/phfdds.htm> for more
information.


- *Database monitor view 3001 - Index Used
<https://www.ibm.com/docs/en/ssw_ibm_i_74/rzajq/t3001.htm>*
Displays the SQL logical view format for database monitor QQQ3001
-

HTH,
Charles

On Tue, Nov 26, 2024 at 10:57 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

thanks Charles... so aside from a hunt and peck through the plan cace, I
really am not thinking there is much of a way to see exactly what
"processes/apps" these are used in.

thanks

Jay Vaughn

On Fri, Nov 22, 2024 at 3:28 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

ACS will show you
- Last Query Use
- Lsst Query Statistics Use
- Last Used
- Days Used Count

Select the table in the schema's tool and then right click, related
objects-->indexes

Or go right to the index in question via "Indexes" in the schema tool.

HTH,
Charles



On Fri, Nov 22, 2024 at 11:17 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

So I need to decommission an index from a table if possible.. but
before
I
do, I'd like to know what applications/queries (if any) rely on it?

So before I go look at all the table dependencies and consider which
applications may use the index...

Is there a better way?

thanks

Jay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.