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/ ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match