Re: Question on partitioning

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Question on partitioning
Дата
Msg-id 1163183746.6530.12.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Question on partitioning  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Question on partitioning
Следующее
От: Alexander Burbello
Дата:
Сообщение: Re: Use Jobs