pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lucas Grijander <indibil@webmail.co.za>
To: pgsql-sql@postgresql.org
Subject: Select problems
Date: Thu, 11 Aug 2005 13:44:53 +0200
Message-ID: <web-3595244@cgp7.sentechsa.net> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <web-3595244@cgp7.sentechsa.net>
Permalink:  ../web-3595244@cgp7.sentechsa.net/
Also on:    postgresql.org/message-id/web-3595244@cgp7.sentechsa.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: indibil@webmail.co.za
  Subject: Re: Select problems
  In-Reply-To: <web-3595244@cgp7.sentechsa.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox