|
There is a V4R4 APAR MA22650 with the following info - no PTF: Abstract OSP-DB EVI INDEXES REBUILD TIMES EXTREMELY LONG
Error Description See Problem Summary.
Problem Summary The customer does a create index to create an EVI index and it takes 30 seconds. If they update a large number of records in the file which includes one of the key fields the index gets rebuilt by one of the QDBSRVxx jobs and takes 23 hours.
Problem Conclusion Encoded Vector Indexes were not designed to be used with dynamic data. The intent was for static data, ie. data warehousing. Inserts, updates, and deletes, especially when affecting a large number of records, will destroy the performance gains EVI's were designed for.
If EVI's are necessary for the application, then the proper design would be to drop the EVI before the update, and once the update is complete, create the EVI again.
----- Original Message ----- From: "Vern Hamberg" <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> Sent: Thursday, October 23, 2003 19:46 Subject: Re: Encoded Vector Indexes
> Jerry, EVIs are a different kind of index, as you know. They cannot be used > for ordering records, only for record selection. This could be a reason to > keep the non-EVIs, if they are used to support an ORDER BY. Also, I don't > know whether and EVI index can be used in RPG, as a logical file can.
No, they can not be used in an RPG program.
> EVIs are cool and performance is supposed to be better in V5R2 - there were > some problems earlier. No details, just scuttlebutt.
Yes, pure scuttlebutt, I've used them since they were released, and have had nothing but success with them.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.