Select problems

From: "Lucas Grijander" <indibil(at)webmail(dot)co(dot)za>
To: pgsql-novice(at)postgresql(dot)org
Subject: Select problems
Date: 2005-08-11 19:53:05
Message-ID: web-4142488@cgp6.sentechsa.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

With PostgreSQL 7.2 they both last for equal time.

I did a vacuum analyze with no success.

Please, could you help me?
Thanks in advance
_________________________________________________________________
Need software for your hardware? Click here http://www.asg.co.za

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2005-08-11 20:04:45 Re: Select problems
Previous Message Michael Fuhr 2005-08-11 19:52:17 Re: Cast Problem