| От | Tom Lane |
|---|---|
| Тема | Re: Unsplitting btree index leaf pages |
| Дата | |
| Msg-id | 22873.1135476087@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Unsplitting btree index leaf pages (Kevin Brown <kevin@sysexperts.com>) |
| Список | pgsql-hackers |
Kevin Brown <kevin@sysexperts.com> writes:
> Well, REINDEX is apparently a very expensive operation right now. But
> how expensive would it be to go through the entire index and perform
> the index page merge operation being discussed here, and nothing else?
> If it's fast enough, might it be worthwhile to implement just this
> alone as a separate maintenance command (e.g., VACUUM INDEX) that
> acquires the appropriate lock (AccessExclusive, I'd expect) on the
> index to prevent exactly the issues you're concerned about?
> If it's fast enough even on large tables, it would be a nice
> alternative to REINDEX, I'd think.
This would work, but it's hard to tell if it'd be worthwhile short
of actually doing an implementation and field-testing it ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера