Re: Use heap scan routines directly in vac_update_datfrozenxid()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use heap scan routines directly in vac_update_datfrozenxid()
Дата
Msg-id 1505295.1728250854@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Use heap scan routines directly in vac_update_datfrozenxid()
Список pgsql-hackers
Soumyadeep Chakraborty <soumyadeep2007@gmail.com> writes:
> Attached is a simple patch to directly use heap scan routines in
> vac_update_datfrozenxid(), avoiding the multilayer overhead from the
> sysscan infrastructure.

I would think the overhead of that is minuscule.  If it isn't,
we should try to make it so, not randomly hack up some of the callers
to avoid it.  The intention certainly was that it wouldn't cost
anything compared to what happens within the actual table access.

            regards, tom lane



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