Re: Select problems

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Select problems
Дата
Msg-id 20050811200445.GA94599@winnie.fuhr.org
обсуждение исходный текст
Ответ на Select problems  ("Lucas Grijander" <indibil@webmail.co.za>)
Список 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 по дате отправления:

Предыдущее
От: "Lucas Grijander"
Дата:
Сообщение: Select problems
Следующее
От:
Дата:
Сообщение: Re: Cast Problem