pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Weird performance drop after VACUUM
Date: Sat, 27 Aug 2005 12:19:45 +0200
Message-ID: <20050827101945.GA18155@uio.no> (raw)
In-Reply-To: <26745.1125099111@sss.pgh.pa.us>
References: <1125093859.9329.30.camel@localhost.localdomain>
	<26745.1125099111@sss.pgh.pa.us>

On Fri, Aug 26, 2005 at 07:31:51PM -0400, Tom Lane wrote:
> Or you could just play with the order of the filter conditions ... for
> example, the date condition at the end is probably far cheaper to test
> than the text comparisons, so if that's fairly selective it'd be worth
> putting it first.

That's an interesting approach -- could the planner do such things itself?

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (15+ messages)  latest in thread

Message-ID: <20050827101945.GA18155@uio.no>
Permalink:  ../20050827101945.GA18155@uio.no/
Also on:    postgresql.org/message-id/20050827101945.GA18155@uio.no

 · 

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-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: Weird performance drop after VACUUM
  In-Reply-To: <20050827101945.GA18155@uio.no>

* 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