From: Luke Lonergan <llonergan@greenplum.com>
To: John Major <major@cbio.mskcc.org>
To: pgsql-performance@postgresql.org
Subject: Re: Help w/speeding up range queries?
Date: Tue, 31 Oct 2006 15:54:50 -0800
Message-ID: <C16D224A.592F%llonergan@greenplum.com> (raw)
In-Reply-To: <4547D9CE.2040705@cbio.mskcc.org>
John,
On 10/31/06 3:18 PM, "John Major" <major@cbio.mskcc.org> wrote:
> Any advice on how I might be able to improve this situation would be
> very helpful.
I think table partitioning is exactly what you need.
There's a basic capability in current Postgres to divide tables into parent
+ children, each of which have a constraint for the rows inside (in your
case chromosome). When you query the parent, the planner will exclude child
tables outside of the predicate range.
- Luke
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: llonergan@greenplum.com, major@cbio.mskcc.org
Subject: Re: Help w/speeding up range queries?
In-Reply-To: <C16D224A.592F%llonergan@greenplum.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