Re: Reducing overhead for repeat de-TOASTing

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Reducing overhead for repeat de-TOASTing
Дата
Msg-id 4857FDAE.7040103@sigaev.ru
обсуждение исходный текст
Ответ на Reducing overhead for repeat de-TOASTing  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Reducing overhead for repeat de-TOASTing
Список pgsql-hackers
> But we can resolve that by ruling that the required lifetime is the same
> as the value would have had if it'd really been palloc'd --- IOW, until
> the memory context that was current at the time gets deleted or reset.

Many support functions of GiST/GIN live in very short memory context - only for 
one call. So, that cache invalidation technique doesn't give any advantage 
without rearranging this part.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump fails to include sequences, leads to restore fail in any version
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reducing overhead for repeat de-TOASTing