|
So this might be one of those instances where I could considerwith
deleting the LF, creating the SQL index and then recreating the LF
so it shares the SQL index?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Elvis Budimlic
Sent: Wednesday, March 12, 2008 3:21 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Using the Index Advisor
Query optimizer is a funny animal. I don't think anyone can tell you
full certainty why it does some of the things it does.larger
I can tell you for sure it does "care" about keyed LFs!
One reason for redundant advice may be that having an SQL index with
logical page size (64K vs LF's 8k) might bias query optimizer towardusing
that index. This is especially helpful in situations where index isbeing
scanned sequentially (i.e. read-by-key, read-next-key, next....). Bothyou'll
native I/O program can do this as well as query engine.
This is by no means the only "quirk" query optimizer has. I'm sure
run into more as you dig deeper into it.OS/400
HTH, Elvis
Celebrating 11-Years of SQL Performance Excellence on IBM i5/OS and
www.centerfieldtechnology.comentries
-----Original Message-----
Subject: Using the Index Advisor
I was reviewing the Index Advisor in iSeries Navigator today and see
advising me to create multiple indexes that I confirmed already existvia a
logical file. The logical file has existed for years in some cases yetthe
advisor shows today as the last advised for query use date. Am I readinglist
this wrong or does the Index Advisor not care about DDS indexes?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxlist
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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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 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.