Re: Cleaning bloated pg_attribute

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Cleaning bloated pg_attribute
Дата
Msg-id 42A96655.3090202@archonet.com
обсуждение исходный текст
Ответ на Cleaning bloated pg_attribute  (Michal Taborsky <michal.taborsky@mall.cz>)
Список pgsql-performance
Michal Taborsky wrote:
> I managed, by extensive usage of temporary tables, to totally bloat
> pg_attribute. It currently has about 40000 pages with just 3000 tuples.

> The only thing I could think of is VACUUM FULL, but from my former
> experience I guess it'll take maybe over an hour, effectively rendering
> the server unusable, because of the exclusive lock.

You can vacuum full a single table - shouldn't take an hour for just the
one table. Unless your disk I/O is *constantly* running flat-out.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Michal Taborsky
Дата:
Сообщение: Cleaning bloated pg_attribute
Следующее
От: "Martin Fandel"
Дата:
Сообщение: Re: Importing from pg_dump slow, low Disk IO