| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] strange behavior of UPDATE |
| Дата | |
| Msg-id | 2774.927640275@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] strange behavior of UPDATE (Edmund Mergl <E.Mergl@bawue.de>) |
| Список | pgsql-hackers |
Edmund Mergl <E.Mergl@bawue.de> writes:
> ... That's the reason I
> was talking about the strange UPDATE behavior of
> PostgreSQL. If it can determine a specific number
> of rows in a reasonable time, it should be able to
> update these rows in the same time frame.
Not necessarily --- this table has a remarkably large number of indexes,
and all of them have to be updated when a tuple is replaced. So the
amount of work is significantly greater than simply finding the tuples
will require.
As I posted later, I think that much of the problem comes from poor
handling of equal-key cases in our btree index routines...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера