pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: AW: running vacuumlo periodically
Date: Fri, 29 Jan 2021 20:12:10 +0100
Message-ID: <68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at> (raw)
In-Reply-To: <a29c8b4f5cb24f4a8df5aa09926071a0@zuerich.ch>
References: <a29c8b4f5cb24f4a8df5aa09926071a0@zuerich.ch>

On Fri, 2021-01-29 at 15:44 +0000, Zwettler Markus (OIZ) wrote:
> I run "vacuumlo" in batches (-l) which worked well.
> 
> I found table "pg_catalog.pg_largeobjects" to be massively bloated afterwards.

Sure, that deletes entries from that table.

> I tried "vacuum full pg_catalog.pg_largeobjects" but run out of diskspace (although having 250G diskspace free; database size = 400G).
> 
> Question:
> Will "vacuum full pg_catalog.pg_largeobjects" need less diskspace when "maintenance_work_mem" is increased?

No, it won't.  It will just be faster.
That sounds like your database consists almost exclusively of large objects...

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (4+ messages)

Message-ID: <68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at>
Permalink:  ../68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at/
Also on:    postgresql.org/message-id/68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, Markus.Zwettler@zuerich.ch
  Subject: Re: running vacuumlo periodically
  In-Reply-To: <68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at>
  References: <a29c8b4f5cb24f4a8df5aa09926071a0@zuerich.ch> <68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at>

* 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