× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James, in ACS you can run things through Visual Explain - you'll get all kinds of information doing that.

If you are using Access for i, there's a place to run statements there, as well, and Visual Explain is there - it's been around for a couple decades, almost.

Cheers
Vern

On 5/20/2021 7:20 PM, James H. H. Lampert wrote:
Lately, the question has arisen of why, in some SQL queries using UNION, the UNION, by itself, adds more processing time than the combined total of the component queries (i.e., adding 10 seconds to UNION together 4-5 queries that individually give sub-second responses), while in other cases, UNIONing together a bunch of component queries has no noticeable effect on response time.

Can anybody shed any light on this?

I have a vague recollection of an Access tool for examining and optimizing SQL queries (running them, as I recall, in the debugger, and then digesting the messages into a graphic representation and suggestions for optimization), but I haven't used it (or even seen it in use) in a decade and a half.

--
JHHL


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.