Re: btree split logic is fragile in the presence of large index items
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: btree split logic is fragile in the presence of large index items |
| Дата | |
| Msg-id | 21651.964025558@sss.pgh.pa.us обсуждение |
| Ответ на | Re: btree split logic is fragile in the presence of large index items (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> A more radical way out is to do what Vadim's been saying we should do
>> eventually: redo the btree logic so that there are never "equal" keys
>> (ie, use the item TID as a tiebreaker when ordering items). That would
>> fix our performance problems with many equal keys as well as simplify
>> the code. But it'd be a good deal of work, I fear.
> I wonder, if we are ever to support deferrable unique constraints (or even
> properly working unique constraints, re update t1 set x = x + 1), wouldn't
> the whole unique business have to disappear from the indexes anyway and be
> handled more in the trigger area?
Could be, but I don't think it's relevant to this particular issue.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера