From: Tom Lane <tgl@sss.pgh.pa.us>
To: Янченко Владимир <vyanchenko@naumen.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: Strange size of pg_largeobject
Date: Thu, 20 Jul 2017 12:50:56 -0400
Message-ID: <5952.1500569456@sss.pgh.pa.us> (raw)
In-Reply-To: <ee359485-255b-864c-dea9-e1d2754c0ab7@naumen.ru>
References: <ee359485-255b-864c-dea9-e1d2754c0ab7@naumen.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
=?UTF-8?B?0K/QvdGH0LXQvdC60L4g0JLQu9Cw0LTQuNC80LjRgA==?= <vyanchenko@naumen.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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, vyanchenko@naumen.ru
Subject: Re: Strange size of pg_largeobject
In-Reply-To: <5952.1500569456@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox