|
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi, I have 3 big files with the same record format, they are divided by date => the first are the most recent records, the second the old records and the third the historical records (totally are 63 milion of records). Now I have to run SQL (into an SQLRPGLE) on all of these three files order by date and other three fields with some selection and I've the problem below: when I run SQL for a period that is completely included in the first file the SQL (it works using UNION) read all three files and naturally it works for for too much hours. How can I optimize my SQL statement, any ideas??? Thanks a lot Fabrizio Gurrieri - BARTOLINI SPA Via E.Mattei 42 - 40138 BOLOGNA (Italy) Tel:+39 051 6015593 - Fax:+39 051 530365 E-Mail: Fabrizio.Gurrieri@bartolini.it Internet: http://www.bartolini.it <http://www.bartolini.it/>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.