Thx Daren…

Yes I should have said “what rely on the index for performance reasons”.
I know the queries can run without it.

I’ll have a look in ACS at the plan to see what it can reveal for me.

Thanks

Jay



Sent from my iPhone

On Nov 22, 2024, at 2:10 PM, Darren Strong <darren@xxxxxxxxx> wrote:

Queries do not rely on straight indexes, so no query will fail if you get rid of the index. However, performance might suffer.

The first thing I found was in the Access Client Solutions menu: Schema -> Indexes -> Work With ->SQL Plan Cache Statements section of Access Client Solution's GUI. There may be an SQL service or view that shows plan cache statements, but I usually just use the GUI. This will show you some of the stuff using it.



-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Friday, November 22, 2024 1:18 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: db2 sql index - which queries use it

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


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.


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-2024 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.