From: | "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1275: Perda de velocidade na consulta com join. |
Date: | 2004-10-01 22:28:05 |
Message-ID: | 20041001222805.BB5B75A102E@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1275
Logged by: Marcio
Email address: marcio(at)neosistemas(dot)com(dot)br
PostgreSQL version: 7.4.5
Operating system: Seleo de Dados
Description: Perda de velocidade na consulta com join.
Details:
Quando executo um select com este formato fica 10 vezes mais lento do que na
verso 7.3.6
Tabela Dupcli indice empdpl,numdpl,seriedpl
Tabela Clientes indice empcli,codcli
select *
from dupcli
left join clientes
on (empcli = 'G01')
and (codcli = codclidpl)
se executo com o formato a seguir fica normal como na verso 7.3.6
select *
from dupcli
left join clientes
on (empcli = empdpl)
and (codcli = codclidpl)
Qualquer duvida estou a disposio.
Atenciosamente,
Marcio - Neo Sistemas
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-10-01 22:58:00 | Re: Bug report |
Previous Message | Josh Berkus | 2004-10-01 22:02:44 | Wierd results of math -- old bug I hope |