From: Anj Adu <fotographs@gmail.com>
To: pgsql-performance@postgresql.org
Subject: partition pruning
Date: Mon, 1 Mar 2010 11:29:26 -0800
Message-ID: <f2fd819a1003011129h2222281fqa67bc45e051c6dd8@mail.gmail.com> (raw)
When I use intervals in my query e.g col1 between current_timestamp -
interval '10 days' and current_timestamp...the optimizer checks ALL
partitions whereas if I use col1 between 2 hardcoded dates..only
the applicable partitions are scanned.
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: fotographs@gmail.com
Subject: Re: partition pruning
In-Reply-To: <f2fd819a1003011129h2222281fqa67bc45e051c6dd8@mail.gmail.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