Re: Better estimates of index correlation

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Better estimates of index correlation
Дата
Msg-id 1300235521.3102.2.camel@jdavis-ux.asterdata.local
обсуждение исходный текст
Ответ на Better estimates of index correlation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, 2011-03-13 at 19:40 -0400, Tom Lane wrote:
> It strikes me that it'd be possible to have btvacuumcleanup directly
> measure order correlation when it's processing a btree index, yielding a
> reliable answer for any btree index regardless of number of columns.
> We could do that by comparing the heap block numbers of adjacent
> index entries' TIDs and counting the number of up-transitions (block
> number larger than previous index entry) versus down-transitions (block
> number smaller than previous). 

Link to previous discussion:

http://archives.postgresql.org/pgsql-hackers/2008-10/msg01279.php

Regards,Jeff Davis



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: plpgsql execute vs. SELECT ... INTO
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Flex output missing from 9.1a4 tarballs?