| От | Tom Lane |
|---|---|
| Тема | Re: A little COPY speedup |
| Дата | |
| Msg-id | 12674.1172775931@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | A little COPY speedup (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Ответы |
Re: A little COPY speedup
|
| Список | pgsql-patches |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> On every row, PageAddItem will scan all the line pointers on the target
> page, just to see that they're all in use, and create a new line
> pointer. That adds up, especially with narrow tuples like what I used in
> the test.
> Attached is a fix for that.
This has been proposed before, and rejected before. IIRC the previous
patch was quite a lot less invasive than this one (it didn't require
making special space on heap pages). I don't recall why it wasn't
accepted.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера