Re: Questions about horizontal partitioning

Поиск
Список
Период
Сортировка
Искать
От
Anton Melser
Тема
Re: Questions about horizontal partitioning
Дата
Msg-id
92d3a4950701281018i4c526b47v52a8ca611d3e3ae9@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Questions about horizontal partitioning John Sales <spelunker334@yahoo.com>
Re: Questions about horizontal partitioning Tom Lane <tgl@sss.pgh.pa.us>
Re: Questions about horizontal partitioning Ron Johnson <ron.l.johnson@cox.net>
Re: Questions about horizontal partitioning Chander Ganesan <chander@otg-nc.com>
Re: Questions about horizontal partitioning "David Lee Lambert" <as4109@wayne.edu>
Re: Questions about horizontal partitioning "Anton Melser" <melser.anton@gmail.com>
Re: Questions about horizontal partitioning Bruno Wolff III <bruno@wolff.to>
Re: Questions about horizontal partitioning Ron Johnson <ron.l.johnson@cox.net>
Re: Questions about horizontal partitioning Chander Ganesan <chander@otg-nc.com>
Re: Questions about horizontal partitioning Tom Lane <tgl@sss.pgh.pa.us>
Re: Questions about horizontal partitioning Bruno Wolff III <bruno@wolff.to>
Re: Questions about horizontal partitioning Tom Lane <tgl@sss.pgh.pa.us>
Re: Questions about horizontal partitioning "Peter Childs" <peterachilds@gmail.com>
Re: Questions about horizontal partitioning John Sales <spelunker334@yahoo.com>
> However,  if the primary key is entirely within those six columns,  there
> will have to be an index on it in both tables to enforce the primary key
> constraint.  In that case,  an inner join could be performed with an index
> lookup or an index scan plus hash join,  for a query that didn't use any
> other columns.  Whether that translates into a significant I/O reduction
> depends on how wide and how frequently non-NULL those other columns are.
>
>

... if someone is feeling pedagogical (and the answer isn't that
complicated), could they explain why a simple index on the desired
columns wouldn't be the best solution?
Cheers
Antoine
В списке pgsql-general по дате отправления
От: Harpreet Dhaliwal
Дата:
От: Tom Lane
Дата:
FAQ