| От | Tom Lane |
|---|---|
| Тема | Re: slow query |
| Дата | |
| Msg-id | 10854.1046189235@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: slow query (Robert Treat <xzilla@users.sourceforge.net>) |
| Ответы |
Re: slow query
|
| Список | pgsql-performance |
Robert Treat <xzilla@users.sourceforge.net> writes:
> Would it be safe to say that tables with high update rates where the
> updates do not change the indexed value would not suffer from index
> bloat?
I would expect not. If you vacuum often enough to keep the main table
size under control, the index should stay under control too.
> For example updates to non-index columns or updates that
> overwrite, but don't change the value of indexed columns; do these even
> need to touch the index?
Yes, they do. Think MVCC.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера