[Info-Ingres] Slow running queries....

Manny mantas44 at hotmail.com
Thu May 24 09:10:33 CDT 2007


Thank you for your replys.

Jean-Pierre,
I'll try the REPEATED clause and see if any improvement occurs.
I'm not quite sure what you mean by:

" Then I think you can add some columns to your table structure :
 - table_1 : release_id, active_date
 - table_2 : release_id, active_date, segment1
 - table_3 : release_id, active_date "


Karl,
Optimize stats are only available on the key columns - Should they
also be on the segment columns?  I don't know anything about
statistics - how are they used and is there an overhead?

Duplicates - unfortunately there will be duplicates present, thus the
use of 'UNION ALL' is required.

The program is run overnight and takes about 3hrs so at present there
is no real need to increase the speed - sorry, but I don't think I
could persuade my manager to part with company cash to make the
improvement.

I would have liked to see how you would have tackled the problem,
nevertheless you have given me some pointers and I will try them out
solely with the intention of improving my coding skills.

Thanks.

Manny



More information about the Info-Ingres mailing list