pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jochen Erwied <jochen@pgsql-performance.erwied.eu>
To: pgsql-performance@postgresql.org
Subject: Re: dates and partitioning
Date: Tue, 20 Jul 2010 17:55:48 +0200
Message-ID: <928016768.20100720175548@erwied.eu> (raw)
In-Reply-To: <201007200936.07736.cs_dba@consistentstate.com>
References: <201007200936.07736.cs_dba@consistentstate.com>

Tuesday, July 20, 2010, 5:36:07 PM you wrote:


> 2) the above query creates a plan that does a sequential scan & filter on 
> every partition. Why won't it only hit the correct partitions? Is it due to
> the way the date was specified? or maybe the "at time zone" syntax?

Quick guess: How is your 'constraint_exclusion'-setting? 
Which version of postgres?

-- 
Jochen Erwied     |   home: jochen@erwied.eu     +49-208-38800-18, FAX: -19
Sauerbruchstr. 17 |   work: joe@mbs-software.de  +49-2151-7294-24, FAX: -50
D-45470 Muelheim  | mobile: jochen.erwied@vodafone.de       +49-173-5404164




view thread (3+ messages)

Message-ID: <928016768.20100720175548@erwied.eu>
Permalink:  ../928016768.20100720175548@erwied.eu/
Also on:    postgresql.org/message-id/928016768.20100720175548@erwied.eu

 · 

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: jochen@pgsql-performance.erwied.eu
  Subject: Re: dates and partitioning
  In-Reply-To: <928016768.20100720175548@erwied.eu>

* 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