Re: bloating index, pg_restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bloating index, pg_restore
Дата
Msg-id 14576.1364443699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bloating index, pg_restore  (Sergey Konoplev <gray.ru@gmail.com>)
Ответы Re: bloating index, pg_restore  (salah jubeh <s_jubeh@yahoo.com>)
Список pgsql-general
Sergey Konoplev <gray.ru@gmail.com> writes:
> On Wed, Mar 27, 2013 at 9:56 AM, salah jubeh <s_jubeh@yahoo.com> wrote:
>> I have a database which is bloated because of vacuum full, so you find
>> indexes bigger than the table itself.

> Table can not be bloated because of vacuum full, it removes bloat from
> the table and its indexes.

Um, well, that depends a lot on which PG version the OP is running
(which he didn't say).  The pre-9.0 implementation of VACUUM FULL
was notorious for creating index bloat, because it shuffled heap
entries around to compact heap space, but created an additional
index entry for each such heap-tuple motion.

            regards, tom lane


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

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: bloating index, pg_restore
Следующее
От: Konstantin Izmailov
Дата:
Сообщение: Re: [HACKERS] money with 4 digits after dot