Re: [HACKERS] Pg takes at least 2 hours to retrieve 7650 rows - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Pg takes at least 2 hours to retrieve 7650 rows
Date
Msg-id 37281CA1.8FC91744@krs.ru
Whole thread Raw
In response to Pg takes at least 2 hours to retrieve 7650 rows  (José Soares <jose@sferacarta.com>)
List pgsql-hackers
José Soares wrote:
> 
> $ time psql -f  test.sql  2>/dev/null >/dev/null
> SELECT movimentazioni.azienda
> FROM movimentazioni,capi
> where ((capi.matricola = movimentazioni.matricola )
> and (capi.specie = movimentazioni.specie ) );
> 
EXPLAIN ?

> $ time psql -f  test.sql  2>/dev/null >/dev/null
> SELECT movimentazioni.azienda
> FROM movimentazioni,capi
> where (capi.specie = movimentazioni.specie )
> and ((capi.matricola = movimentazioni.matricola ))

EXPLAIN ?

Vadim


pgsql-hackers by date:

Previous
From: José Soares
Date:
Subject: Pg takes at least 2 hours to retrieve 7650 rows
Next
From: Zeugswetter Andreas IZ5
Date:
Subject: AW: [HACKERS] Pg takes at least 2 hours to retrieve 7650 rows