If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
After upgrading to 8.1.5 all my indexes seem
to have chanced the indexed column to the
include parameter and the optimizer rarely
select the index - has anyone experienced
anything similar ?
Thanks
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
After upgrading to 8.1.5 all my indexes seem
to have chanced the indexed column to the
include parameter and the optimizer rarely
select the index - has anyone experienced
anything similar ?
Thanks
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Do RUNSTATS and then do an EXPLAIN of your query - I suspect it will choose a new access path once the statistics are updated. If you see a better access path will be taken, rebind the program.
One other thing to consider is the cardinality and distribution of keys. Even though an index is defined, the optimizer might decide to ignore using an index if it determines the access path is no better than doing a tablespace scan. As always, it depends.