Re: Help w/speeding up range queries?

From: "Luke Lonergan" <llonergan(at)greenplum(dot)com>
To: "John Major" <major(at)cbio(dot)mskcc(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Help w/speeding up range queries?
Date: 2006-10-31 23:54:50
Message-ID: C16D224A.592F%llonergan@greenplum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

John,

On 10/31/06 3:18 PM, "John Major" <major(at)cbio(dot)mskcc(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Weslee Bilodeau 2006-10-31 23:57:04 Re: Help w/speeding up range queries?
Previous Message John Major 2006-10-31 23:18:38 Help w/speeding up range queries?