Re: changeset generation v5-01 - Patches & git tree

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: changeset generation v5-01 - Patches & git tree
Дата
Msg-id 2037.1372371530@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: changeset generation v5-01 - Patches & git tree  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: changeset generation v5-01 - Patches & git tree  (Robert Haas <robertmhaas@gmail.com>)
Re: changeset generation v5-01 - Patches & git tree  (Andres Freund <andres@2ndquadrant.com>)
Re: changeset generation v5-01 - Patches & git tree  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I'm looking at the combined patches 0003-0005, which are essentially all
> about adding a function to obtain relation OID from (tablespace,
> filenode).  It takes care to look through the relation mapper, and uses
> a new syscache underneath for performance.

> One question about this patch, originally, was about the usage of
> that relfilenode syscache.  It is questionable because it would be the
> only syscache to apply on top of a non-unique index.

... which, I assume, is on top of a pg_class index that doesn't exist
today.  Exactly what is the argument that says performance of this
function is sufficiently critical to justify adding both the maintenance
overhead of a new pg_class index, *and* a broken-by-design syscache?

Lose the cache and this probably gets a lot easier to justify.  As is,
I think I'd vote to reject altogether.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: changeset generation v5-01 - Patches & git tree
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: updated emacs configuration