| От | Jeff Davis |
|---|---|
| Тема | index bloat in 8.4-dev |
| Дата | |
| Msg-id | 1223276620.22846.43.camel@jdavis обсуждение исходный текст |
| Ответы |
Re: index bloat in 8.4-dev
|
| Список | pgsql-bugs |
I am seeing index bloat in the current head when the indexed values are
constantly increasing, and the lower values are being constantly
deleted.
I attached a simple python script that can be fed into psql. If this is
done on 8.3.3, the number of index relpages stays fairly constant,
around 500, and doesn't change after that.
If I do this against head, then the index relpages explode, and I
stopped the test when it reached about 46k pages for about 100k live
rows.
It's possible that this has something to do with the new FSM. I checked
out a release just before the new FSM, and I did see some bloat,
reaching about 3-4k index pages for 100k live rows (which is still worse
than 8.3.3), but it did not appear to happen nearly as fast. I don't
think it's entirely the FSM though, because 8.3.3 showed no problem at
all. Perhaps the FSM just makes some problem introduced in 8.4 more
apparent?
Regards,
Jeff Davis
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера