Re: large objects & space usage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: large objects & space usage
Дата
Msg-id 17198.1200276290@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: large objects & space usage  (David Wall <d.wall@computer.org>)
Список pgsql-admin
David Wall <d.wall@computer.org> writes:
> Does the psql command 'vacuum;' by itself automatically vacuum
> pg_largeobject along with all of tables in the database?

Yes, if it's issued by a superuser or the database owner.

However, that won't help much if pg_largeobject has become bloated by a
lot of no-longer-wanted BLOBs.  After deleting those, you'll probably
need VACUUM FULL or CLUSTER or some such if you want to reclaim the
disk space.  Plain VACUUM usually isn't very successful at shortening
a table file.

            regards, tom lane

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

Предыдущее
От: David Wall
Дата:
Сообщение: Re: large objects & space usage
Следующее
От: "Sebastian Reitenbach"
Дата:
Сообщение: trigger run of archive_command?