Re: Strange size of pg_largeobject

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Янченко Владимир <vyanchenko(at)naumen(dot)ru>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Strange size of pg_largeobject
Date: 2017-07-20 16:50:56
Message-ID: 5952.1500569456@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?UTF-8?B?0K/QvdGH0LXQvdC60L4g0JLQu9Cw0LTQuNC80LjRgA==?= <vyanchenko(at)naumen(dot)ru> writes:
> I found that my pg_largeobject table is bigger than it should be:

Sounds like a fairly routine case of table bloat.

> Before I execute queries, that i mentioned above, I run vacuum full. But
> it does not effect. Now table bloating factor about 20%.

"vacuum verbose pg_largeobject" might be informative. If, as I suspect,
it tells you there are lots of dead but unremovable rows, look around for
long-lived open transactions or prepared transactions.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Янченко Владимир 2017-07-21 08:27:33 Re: Strange size of pg_largeobject
Previous Message Янченко Владимир 2017-07-20 15:59:12 Strange size of pg_largeobject