you may also read the following whitepaper which discusses how to determine
and create the best access paths (either SQL indexes or DDS described keyed
logical files).
Indexing and statistics strategies for DB2 for i5/OS

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

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

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von vhamberg@xxxxxxxxxxx
Gesendet: Tuesday, 23. September 2008 03:59
An: Midrange Systems Technical Discussion
Betreff: Re: DDL Discussion continued

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


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


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


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

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