From: Joshua D. Drake <jd@commandprompt.com>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: Mark Steben <msteben@autorevenue.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Question on partitioning
Date: Fri, 10 Nov 2006 10:35:46 -0800
Message-ID: <1163183746.6530.12.camel@localhost.localdomain> (raw)
In-Reply-To: <129402.28483.qm@web31803.mail.mud.yahoo.com>
References: <129402.28483.qm@web31803.mail.mud.yahoo.com>
> > My question is this: How would I handle a query that queries
> > On another Non-partitioned column, say, ENTRY_DATE? Could I design an index
> > On the master table that would reference ENTRY-DATE across partitions or
> > will
> > I need to build indexes and queries on each partition?
Indexes yes, queries no. You use a check constraint on the child tables
to allow the planner to determine which partitions will be used in a
particular query.
Sincerely,
Joshua D. Drake
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jd@commandprompt.com, rabroersma@yahoo.com, msteben@autorevenue.com
Subject: Re: Question on partitioning
In-Reply-To: <1163183746.6530.12.camel@localhost.localdomain>
References: <129402.28483.qm@web31803.mail.mud.yahoo.com> <1163183746.6530.12.camel@localhost.localdomain>
* 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