pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Kevin Kempter <kevink@consistentstate.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: partition queries hitting all partitions even though check key is specified
Date: Mon, 12 Jul 2010 21:00:48 -0700
Message-ID: <1278993648.22491.7.camel@jd-desktop.unknown.charter.com> (raw)
In-Reply-To: <4C3BD6F4.4070802@agliodbs.com>
References: <200909020852.30405.kevink@consistentstate.com>
	<dcc563d10909020802h524163besce7217af8466a7cd@mail.gmail.com>
	<200909020905.18688.kevink@consistentstate.com>
	<4C3BD6F4.4070802@agliodbs.com>

On Mon, 2010-07-12 at 22:01 -0500, Josh Berkus wrote:
> On 9/2/09 10:05 AM, Kevin Kempter wrote:
> > On Wednesday 02 September 2009 09:02:27 Scott Marlowe wrote:
> >> On Wed, Sep 2, 2009 at 8:52 AM, Kevin Kempter<kevink@consistentstate.com> 
> > wrote:
> >>> Hi all;
> >>>
> >>> I cant figure out why we're scanning all of our partitions.
> 
> I don't think extract() is immutable, which would pretty much invalidate
> your check constraints as far as CE is concerned.

Correct.

Joshua D. Drake


-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering




view thread (2+ messages)

Message-ID: <1278993648.22491.7.camel@jd-desktop.unknown.charter.com>
Permalink:  ../1278993648.22491.7.camel@jd-desktop.unknown.charter.com/
Also on:    postgresql.org/message-id/1278993648.22491.7.camel@jd-desktop.unknown.charter.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-performance@postgresql.org
  Cc: jd@commandprompt.com, josh@agliodbs.com, kevink@consistentstate.com
  Subject: Re: partition queries hitting all partitions even though check key is specified
  In-Reply-To: <1278993648.22491.7.camel@jd-desktop.unknown.charter.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