Re: Select problems - Mailing list pgsql-novice

From Michael Fuhr
Subject Re: Select problems
Date
Msg-id 20050811200445.GA94599@winnie.fuhr.org
Whole thread Raw
In response to Select problems  ("Lucas Grijander" <indibil@webmail.co.za>)
List pgsql-novice
On Thu, Aug 11, 2005 at 09:53:05PM +0200, Lucas Grijander wrote:
> 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.
>
> With PostgreSQL 7.2 they both last for equal time.

Please post the output from "EXPLAIN ANALYZE SELECT ..." on both
systems so we can see what they're doing differently.

Are the hardware and postgresql.conf settings comparable?

--
Michael Fuhr

pgsql-novice by date:

Previous
From: "Lucas Grijander"
Date:
Subject: Select problems
Next
From:
Date:
Subject: Re: Cast Problem