Re: Allowing ALTER TYPE to change storage strategy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allowing ALTER TYPE to change storage strategy
Дата
Msg-id 14435.1583449707@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Allowing ALTER TYPE to change storage strategy  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> Yeah, I agree #1 seems like the cleanest/best option. Are you worried
> about the overhead due to the extra complexity, or overhead due to
> cache getting invalidated for this particular reason?

The overhead is basically a hash_seq_search traversal over the typcache
each time we get a pg_type inval event, which there could be a lot of.
On the other hand we have a lot of inval overhead already, so this might
not amount to anything noticeable.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: PqSendBuffer removal
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Retiring support for pre-7.3 FK constraint triggers