Re: [PERFORM] Slow performance with left outer join

2008-01-21 Thread Pavel Stehule
Hello > > Filter: ((COALESCE((at_type)::integer, 1) = 1) AND > > (COALESCE(at_language, 0::numeric) = 0::numeric)) > > If this is slow, it must be that the scan of fpuarticletext actually > returns many more rows than the single row the planner is expecting. > The reason the estimat

Re: [PERFORM] Slow performance with left outer join

2008-01-21 Thread Tom Lane
"Marten Verhoeven" <[EMAIL PROTECTED]> writes: > This is the query analysis: > Nested Loop Left Join (cost=1796.69..3327.98 rows=5587 width=516) > Join Filter: (fpuarticle.a_no = fpuarticletext.at_a_no) > Filter: (strpos(lowerCOALESCE(fpuarticle.a_code, ''::character > varying))::text |

Re: [PERFORM] Slow performance with left outer join

2008-01-21 Thread Pavel Stehule
Hello please, send output EXPLAIN ANALYZE statement Regards Pavel Stehule On 21/01/2008, Marten Verhoeven <[EMAIL PROTECTED]> wrote: > > > Hi, > > Since I moved from PostgreSQL 7.3 to 8.2 I have a query which suddenly runs > very slow. In 7.3 it was really fast. It seems that the query analyser