Re: BUG #2243: Postgresql fails to finish some queries - Mailing list pgsql-bugs

From Bruno Wolff III
Subject Re: BUG #2243: Postgresql fails to finish some queries
Date
Msg-id 20060208184604.GA9206@wolff.to
Whole thread Raw
In response to BUG #2243: Postgresql fails to finish some queries  ("Matej Rizman" <matej.rizman@gmail.com>)
Responses Re: BUG #2243: Postgresql fails to finish some queries
List pgsql-bugs
On Tue, Feb 07, 2006 at 02:41:03 +0000,
  Matej Rizman <matej.rizman@gmail.com> wrote:
>
> Files a_30000.txt and b_30000.txt contain 30000 numbers each.
>
> The last query (SELECT) is executed on my machine in 125ms.
>
> If I load data from files a_100000.txt and b_100000.txt that contain 100000
> numbers each, the last SELECT does not finish in more than ten minutes (the
> real-world sample hasn't finished in more than an hour).

Did you do an ANALYZE after doing the load?

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #2246: Bad malloc interactions: ecpg, openssl
Next
From: Michael Fuhr
Date:
Subject: Re: BUG #2236: extremely slow to get unescaped bytea data