| От | Scott Marlowe |
|---|---|
| Тема | Re: Update on tables when the row doesn't change |
| Дата | |
| Msg-id | 1117037314.31821.328.camel@state.g2switchworks.com обсуждение исходный текст |
| Ответ на | Re: Update on tables when the row doesn't change ("Tim Vadnais" <tvadnais@earthlink.net>) |
| Список | pgsql-general |
On Wed, 2005-05-25 at 10:41, Tim Vadnais wrote: > >> Why does Postgres perform an update on the table even > >> if no data changes? > >> Can I circumvent this behaviour of Postgres? > >> > Hi All, > > Can someone please address this aspect of Sebastian's email? I, too, am > interested in the response. > Actually, I believe it was addressed by Tom, when he said that it would be more costly to check every single update to see if there WAS a change before applying it than to just apply the changes every time. I concur. Can you imagine slowing down ALL updates by 5% or something like that just to prevent the rare case where an update didn't actually change a value?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера