11.7. Indexes on Expressions

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема 11.7. Indexes on Expressions
Дата
Msg-id 163967385701.26064.15365003480975321072@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: 11.7. Indexes on Expressions  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/indexes-expressional.html
Description:

Regarding the paragraph (_emphasis_ added):

> Index expressions are relatively expensive to maintain, because the
derived expression(s) must be computed for _each row upon insertion and
whenever it is updated_.

Does the "it" in the above refer to the entire row or just the columns used
in the expression? Does updating any column of a row trigger an update to
all indexes with expressions? 

Thanks in advance for your time and reply.

Cheers,
Chris Lowder

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: bad style for SECURITY DEFINER
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 11.7. Indexes on Expressions