Our challenge is querying the separate master files in each library for statistical reports and analysis. We would love to combine all files into one library since the campground number is a key to each record in each file so we already have unique keys.
Our concern is performance. We are on V5R1, moving soon to V5R2, on our 730.Would our applications suffer if we combined all files into one file in one library where the number of records could easily exceed 500,000,000?
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.
I have to start off with the answer of "it depends". If your application heavily utilizes keyed access paths to retrieve the data (very few arrival sequence/table scans), then the application should adjust pretty well to the large one file approach.
Your Report Environment performance will depend on how sound your indexing strategy is. Do you have the right set of keyed logical files & indexes in place, so that only a small percentage of the reports use a table scan or create a temporary index? There's a good Indexing Strategy paper on the DB2 UDB for iSeries.
With the large file sizes, you may get some benefit from Encoded Vector Indexes (EVIs) - especially on V5R2, where the maintenance issues with EVI's have been solved. The Indexing Strategy paper also discusses how EVI's can improve the performance of queries and reports.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.
This was first published in February 2003