Re: Shared invalidation cache messages for temporary tables

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Shared invalidation cache messages for temporary tables
Дата
Msg-id 1300091660.1790.7644.camel@ebony
обсуждение исходный текст
Ответ на Shared invalidation cache messages for temporary tables  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Shared invalidation cache messages for temporary tables  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Fri, 2011-03-11 at 20:44 -0500, Bruce Momjian wrote:
> Looking at the code, it seems we create shared invalidation messages for
> temporary table activity?  Is this true?  Should we be avoiding it?
> 
> I tested this by reviewing the code and checking calls to
> CacheInvalidateHeapTuple(), which happens for temporary table
> creation/destruction.

Yes, that gets called.

But in PrepareForTupleInvalidation() we ignore everything apart from
system relations, as the first check.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Macros for time magic values
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Indent authentication overloading