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



Hi,

I'd check when it was adviced for the last time and if it is adviced for a
query or only for statistics information.
If you are working with iNavigator Database, and the queries where executed
by the SQE, you can link to the SQL-Statements that adviced the access path.

If the index is adviced in production and not only for statistics purposes
and not only for adhoc queries (what I suspect), I'd create the index.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von David FOXWELL
Gesendet: Wednesday, July 30, 2008 09:56
An: Midrange Systems Technical Discussion
Betreff: RE: AW: Way to get STRSQL SELECT to run in batch?


I had a quick look.
SELECT * from SYSIXADV where times_advised = (
SELECT max(TIMES_ADVISED) FROM SYSIXADV )

Found a file that has 4 500 000 record and has been advised 2 million times.
Should I be worried about this?



-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Joe Pluta Envoyé :
mardi 29 juillet 2008 19:08 À : Midrange Systems Technical Discussion Objet
: Re: AW: Way to get STRSQL SELECT to run in batch?

BirgittaHauser wrote:
Check also the adviced indexes. Beginning with V5R4 all adviced
indexes are stored in the system table SYSIXADV in library QSYS2. You
may also use the iNavigator Database to see the adviced indexes.

This is totally awesome. I just took a peek at the SYSIXADV table and it
brought to mind several of the ad hoc queries I've done recently.. very
interesting stuff.

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


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.