Re: Select problems

From: Richard Huxton <dev(at)archonet(dot)com>
To: Lucas Grijander <indibil(at)webmail(dot)co(dot)za>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Select problems
Date: 2005-08-15 07:25:27
Message-ID: 43004367.8000501@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Lucas Grijander wrote:
> Hi:
>
> I've just migrated from Linux/PostgreSQL 7.2 to
> Windows/PostgreSQL 8.0.3. I have a large view. When I make:
>
> "Select ..... WHERE mydate = 'anydate'"
> the view lasts 19 seconds to complete. But, when I make:
> "Select ..... WHERE mydate >= 'anydate'"
> the view lasts 7 minutes.

And what are teh view definitions and the output of EXPLAIN ANALYSE?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message PFC 2005-08-15 07:49:56 Re: insert into / select from / serial problem
Previous Message Alvaro Herrera 2005-08-15 03:22:30 Re: catch an 'update where false' ?