Wow...work management changes cause the query to re-optimize? I guess that
makes sense...memory and all. Hmmm...I'll check that out.


On Fri, Aug 9, 2013 at 3:07 PM, Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx
wrote:

Same work management set up? (subsystem, memory, routing entry, etc)
Those things can affect some of the decisions made.

More recently with systems that are doing more and more SQL, I have been
turning off the automatic tuning feature of IBM i, since every time it
makes and adjustment to memory or activity level the query needs to
re-optimize. Leaving memory and activity levels alone, optimizes the
optimizer to be slightly obtuse about it.


Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

On 8/9/13 1:56 PM, Michael Ryan wrote:
Ok...two systems, both on 7.1. Execute STRDBG UPDPROD(*YES). Run a
program
on system A. Job log shows an index was used for bit map processing. Run
the same program on system B. Same index in place (though different
libraries). System B job log says arrival sequence was used. How can I
figure out why the index is used on one system and not the other? Thanks!
--

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