updates not causing changes

Поиск
Список
Период
Сортировка
От Torsten Förtsch
Тема updates not causing changes
Дата
Msg-id 5399E1F1.7090005@gmx.net
обсуждение исходный текст
Ответы Re: updates not causing changes
Список pgsql-general
Hi,

our developers use a ORM tool which generates updates that write all
columns of a table. In most cases, however, very few columns actually
change. So, those updates mostly write the same value that already is
there in the column.

Now, if there is an index on such columns, does Postgres recognize the
situation and skip the index update? Similarly, does it skip the FK or
UNIQUE check?

Thanks,
Torsten


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

Предыдущее
От: Bosco Rama
Дата:
Сообщение: Re: HOT standby with ONLY WAL shipping?
Следующее
От: Keith Fiske
Дата:
Сообщение: Re: [HACKERS] Question about partial functional indexes and the query planner