Re: [PERFORM] Big diference in response time (query plan question)

2006-08-16 Thread Dave Dutcher
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Luiz K. Matsumura > > > Where I can see the current random_page_cost value ? There > are some hint > about what value I must set ? > Thanks in advance. > Luiz On Linux the random_page_cost is s

Re: [PERFORM] Big diference in response time (query plan question)

2006-08-16 Thread Dave Dutcher
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Luiz K. Matsumura > Well, in this case the queries with LEFT OUTER join and with > inner join > returns the same result set. I don“t have the sufficient knowledge to > affirm , but I suspect that if the query plan used for

Re: [PERFORM] Big diference in response time (query plan question)

2006-08-16 Thread Luiz K. Matsumura
Hi Dave, Thanks to reply. I run it now in a Postgres 8.1.4 my notebook (win XP) and the performance is really much better: EXPLAIN ANALYZE SELECT Contrato.Id , Min( prog.dtsemeio ) AS DtSemIni , Max( prog.dtsemeio ) AS DtSemFim , Min( prog.dtembarque ) AS DtEmbIni , Max(