Re: When Update balloons memory

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: When Update balloons memory
Дата
Msg-id CAH2-WzmhSUF6wLG5C3x__CPdX=9ec_Ou6Vkbpj7wZBJn2gsxMw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: When Update balloons memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Tue, Dec 14, 2021 at 3:28 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Uh ... it seems that you are writing as though "giving the hint"
> means saying that the column value changed.  That seems quite
> confusingly backwards to me, as that is/ought to be the expected
> assumption.

That's not what I meant. When I say "give the hint", I mean pass
"indexUnchanged = true" to aminsert(). This is interpreted within
btinsert() as "the incoming index tuple is a duplicate of at least one
index, so perform a bottom-up index deletion pass if and when the
alternative is splitting the leaf page". In practice the hint always
has to be treated as a noisy signal about what might work, as a
strategy of last resort, with costs that are imposed on non-HOT
updaters.

-- 
Peter Geoghegan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: When Update balloons memory
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17326: Postgres crashed when pg_reload_conf() with ssl certificate parameters