Somehow got a quick hit of my palm on the touchpad on the last message - but my point was made already.

You should read the manual that talks about optimization and access plans and all - it'll tell you why you need indexes for certain kinds of access - the better ones will not even be possible without an index under it. SQL may create its own index at time, if it thinks that will go faster than some other method.

The link to the manual called Database Performance and Query Optimization, at V5R4, is

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzajq/rzajq.pdf

There'd be a similar manual at the other release levels.

HTH
Vern

-------------- Original message --------------
From: Doug Palme <DPalme@xxxxxxxxxxx>

We had our meeting this past week on DDL and I would like to get some
feedback from all of you....I know that some of the uses for a view is far
different than an index but if one is depending on the SQL engine to
determine the most efficient access path for the data, why even create
indexes? Is there any real advantage to creating them?
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.
--
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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].