|
Probably but if possible i'd avoid it. The file has 2 millions records and is growing up fast. Our Iseries is a 270... We run this query sometimes to chek any unusual combination between documents dates and modification time stamp. What is really strange is that if it doesn't use the logical with DATEDOC the record count increase by 119.141 records, using the logical about 20.020 and very slow. --- rob@xxxxxxxxx wrote: > If you run the following, does it speed up? > > CREATE INDEX mylib/myfileLF ON mylib/myfilePF (RECSTATE, > DATEDOC, > MODIFIED) > and you can add any field to the end that may be on your > ORDER BY clause. > > Rob Berendt __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
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.