Am Montag, 28. August 2006 10:23 schrieb Rafal Pietrak: > Is there a way to speed up the query to my 'grand total' logfile, > constructed as a UNION of smaller (specialised) logfiles? If it is sufficient for your purpose, you will find UNION ALL to be significantly faster. -- Peter Eisentraut http://developer.postgresql.org/~petere/