Yes, indexes can help the performance of some SELECT statements, provided you have the proper indexes in place for the query optimizer to use.
To get a better understanding of how DB2 for i5/OS can utilize indexes to improve performance, I'd strongly recommending reading the Indexing & Statistics Strategy white paper online.
Dig Deeper on i5-OS
Related Q&A from Kent Milligan
To monitor members stuck within a physical file on AS/400, you can periodically use the display file description (DSPFD) command to create an output ...continue reading
Create a host variable of the where in statement on the fly with dynamic SQL.continue reading
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.