Rhaoni Chiu Pereira <rhaoni(at)sistemica(dot)info> writes:> I still have performance problems with this sql:
It seems odd that all the joins are being done as nestloops. Perhapsyou shouldn't be forcing enable_seqscan off?
regards, tom lane