Re: temp tables should not have pg_shdepend entries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: temp tables should not have pg_shdepend entries
Дата
Msg-id 3603.1207676522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: temp tables should not have pg_shdepend entries  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: temp tables should not have pg_shdepend entries  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> I agree with that, but I think your idea of not making the pg_shdepend
>> entries is a pointless and possibly dangerous micro-optimization.
>> How much actual speedup would it provide, anyway?

> Speedup?  Not sure -- I'm more worried about catalog bloat for people
> who create lots of temp tables.

They're going to have far more bloat in pg_class, pg_attribute, etc.

A more useful thing to do to save catalog bloat would be to stop storing
the 100%-predictable pg_attribute entries for system columns --- that'd
save six or seven rows per table, not just one.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] libpq type system 0.9a
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: [PATCHES] libpq type system 0.9a