Re: dates and partitioning - Mailing list pgsql-performance

From Jochen Erwied
Subject Re: dates and partitioning
Date
Msg-id 928016768.20100720175548@erwied.eu
Whole thread Raw
In response to dates and partitioning  (Kevin Kempter <cs_dba@consistentstate.com>)
List pgsql-performance
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


pgsql-performance by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: dates and partitioning
Next
From: "Kneringer, Armin"
Date:
Subject: potential performance gain by query planner optimization