Re: Proposal: Global Index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: Global Index
Дата
Msg-id 19464.1572444806@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Proposal: Global Index  (Ibrar Ahmed <ibrar.ahmad@gmail.com>)
Ответы Re: Proposal: Global Index  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Ibrar Ahmed <ibrar.ahmad@gmail.com> writes:
> A global index by very definition is a single index on the parent table
> that maps to many
> underlying table partitions.

I believe that the current design of partitioning is explicitly intended
to avoid the need for such a construct.  It'd be absolutely disastrous
to have such a thing from many standpoints, including the breadth of
locking needed to work with the global index, the difficulty of vacuuming,
and the impossibility of cheaply attaching or detaching partitions.

In other words, this is a "feature" we do not want.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add SQL function to show total block numbers in the relation
Следующее
От: Asif Rehman
Дата:
Сообщение: Re: WIP/PoC for parallel backup