Re: Question on partitioning - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: Question on partitioning
Date
Msg-id 1163183746.6530.12.camel@localhost.localdomain
Whole thread Raw
In response to Re: Question on partitioning  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-admin
> >  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




pgsql-admin by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: Question on partitioning
Next
From: Alexander Burbello
Date:
Subject: Re: Use Jobs