pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Lucas Grijander <indibil@webmail.co.za>
Cc: pgsql-sql@postgresql.org
Subject: Re: Select problems
Date: Mon, 15 Aug 2005 08:25:27 +0100
Message-ID: <43004367.8000501@archonet.com> (raw)
In-Reply-To: <web-3595244@cgp7.sentechsa.net>
References: <web-3595244@cgp7.sentechsa.net>

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



view thread (2+ messages)

Message-ID: <43004367.8000501@archonet.com>
Permalink:  ../43004367.8000501@archonet.com/
Also on:    postgresql.org/message-id/43004367.8000501@archonet.com

 · 

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: dev@archonet.com, indibil@webmail.co.za
  Subject: Re: Select problems
  In-Reply-To: <43004367.8000501@archonet.com>

* 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