Re: HOT update: why must ALL indexes should be update?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HOT update: why must ALL indexes should be update?
Дата
Msg-id 3338045.1682086782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на HOT update: why must ALL indexes should be update?  (Daniel Wu <staywithpin@gmail.com>)
Ответы Re: HOT update: why must ALL indexes should be update?
Список pgsql-general
Daniel Wu <staywithpin@gmail.com> writes:
> We have many indexes on a table. The chance is that any column could be
> some part of an index. I understand that when an index has a column that is
> updated, we can't use HOT, because the index entry could point to a totally
> different row. But if I have 10 indexes, if only 1 index will be updated,
> why the rest 9 indexes couldn't use HOT update?

Whether it's a HOT update is a property of the table row, not of
individual indexes.

            regards, tom lane



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

Предыдущее
От: Daniel Wu
Дата:
Сообщение: HOT update: why must ALL indexes should be update?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why does the planner reduce the planned rows when filtering single values in an array