Re: Bidirectional hard joins (fwd)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bidirectional hard joins (fwd)
Дата
Msg-id 23752.1017935859@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bidirectional hard joins (fwd)  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> Could you, please, comment the proposal.

Okay: "ugly and unimplementable".

Where are you going to put these back-references that the description
glosses over so quickly?  They can't be in the row itself; that doesn't
scale to large numbers of references to the same row.  I think you'd end
up building an external datastructure that would in the final analysis
offer no better performance than standard indexes.

I'd also want to see an analysis of how this interacts with MVCC before
we could consider whether it makes any sense in Postgres.  In
particular, which version of a row does the reference point at, and how
will concurrent updates (possibly aborted) be handled?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Changing column types...
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: ANALYZE after restore