Re: proposal for smaller indexes on index-ordered tables

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: proposal for smaller indexes on index-ordered tables
Дата
Msg-id 36e682920806241350o21d77ee3ia2ffa0b1c5b9f03b@mail.gmail.com
обсуждение исходный текст
Ответ на proposal for smaller indexes on index-ordered tables  ("Jeffrey Baker" <jwbaker@gmail.com>)
Ответы Re: proposal for smaller indexes on index-ordered tables
Список pgsql-hackers
On Tue, Jun 24, 2008 at 4:34 PM, Jeffrey Baker <jwbaker@gmail.com> wrote:
> Supposing the table is generally or strictly ordered by the column to be
> indexed, it would be more compact if the index stored ranges of tuples.
> Instead of storing the TID of every tuple with that value, the index would
> store a first and last TID, between which all tuples have the value.

There are several databases which implement this idea.  Unfortunately,
Postgres does not yet ensure that indexed tables remain indexed.  As
such, an index such as this would soon be ineffective.  IIRC, Heikki
has done some work on keeping clustered tables clustered, but it
hasn't yet made it into core.

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/


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

Предыдущее
От: "Jeffrey Baker"
Дата:
Сообщение: proposal for smaller indexes on index-ordered tables
Следующее
От: daveg
Дата:
Сообщение: Re: [PATCHES] Patch for Prevent pg_dump/pg_restore from being affected by statement_timeout