Re: Question about explain of index scan

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Question about explain of index scan
Дата
Msg-id 20050904223714.GB14515@surnet.cl
обсуждение исходный текст
Ответ на Re: Question about explain of index scan  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Question about explain of index scan  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Sep 04, 2005 at 06:21:51PM -0400, Tom Lane wrote:

> XID comparison works OK as long as you make sure that all the XIDs
> extant in the system at any one time are within +/- 2 billion of each
> other, and so transitivity does hold within that subset.  The problem
> with a btree is that upper-level tree nodes are likely to contain page
> boundary keys copied from data that vanished some time ago from the
> underlying table.

So there would be no problem if a REINDEX was forced every two billion
transactions, right?  (A bit less, I think.)

-- 
Alvaro Herrera -- Valdivia, Chile         Architect, www.EnterpriseDB.com
"Oh, great altar of passive entertainment, bestow upon me thy discordant images
at such speed as to render linear thought impossible" (Calvin a la TV)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question about explain of index scan
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Question about explain of index scan