Re: Unsplitting btree index leaf pages

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unsplitting btree index leaf pages
Следующее
От: "Andy Astor"
Дата:
Сообщение: Happy Holidays