Re: Index size increases after VACUUM FULL

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Index size increases after VACUUM FULL
Дата
Msg-id 48E1F3D7.9050700@enterprisedb.com
обсуждение исходный текст
Ответ на Index size increases after VACUUM FULL  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: Index size increases after VACUUM FULL
Список pgsql-hackers
Gurjeet Singh wrote:
>     I noticed something strange today, and thought I should report it. I
> vacuumed a database, and as expected, one of the table's size decreased
> (other table were VACUUMed individually earlier); but o my astonishment, the
> size of the UNIQUE KEY index on one of the columns increased. 

That's normal. VACUUM FULL creates new index pointers for the tuples it 
moves, which can lead to a bigger index. If it bothers, REINDEX will 
pack the indexes tighter again.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Index size increases after VACUUM FULL
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Index size increases after VACUUM FULL