Thanks for the tuning tips. I'll definitely be taking advantage of them.
Problem solved, Tom Lane found that using coalesce in my query the way I
did caused it to make a bad estimation, when I changed it the query
went from 60 seconds to 1 second.

Sim

See <http://www.westnet.com/~gsmith/content/postgresql/pg-5minute.htm>
for a quick, up-to-date, intro to postgres tuning.


Kind regards,
Isak

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

Reply via email to