Re: Inherited indexes.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inherited indexes.
Дата
Msg-id 8354.1128438349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Inherited indexes.  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: Inherited indexes.  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Sun, Oct 02, 2005 at 09:46:07PM -0400, Tom Lane wrote:
>> 1. A cross-table index would need to store a table OID as well as the
>> existing block/offset information in order to tell you what an entry is
>> pointing at.

> Wouldn't it make more sense to use a smaller pointer to a table of OIDs
> that that index covers?

Smaller than what?  Don't tell me you want to restrict how many tables a
cross-table index can handle :-(

In any case, the gain from doing that would be exactly zero because of
alignment considerations: the size of an index tuple header really has
to be a multiple of MAXALIGN.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum and Transactions
Следующее
От: "Zeugswetter Andreas DAZ SD"
Дата:
Сообщение: Re: Inherited indexes.