pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rihad <rihad@mail.ru>
To: hjp-pgsql@hjp.at
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Recommendation to run vacuum FULL in parallel
Date: Wed, 3 Apr 2019 19:42:03 +0400
Message-ID: <a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru> (raw)
In-Reply-To: <CAHOFxGqzLdRc+0dNp9q6q2oBCYUiQCmzYm8ma3Cng5m1+1tnZQ@mail.gmail.com>
References: <9ed59ae2-6eb1-549d-eb05-d1546fd11515@mail.ru>
	<CAHOFxGqzLdRc+0dNp9q6q2oBCYUiQCmzYm8ma3Cng5m1+1tnZQ@mail.gmail.com>

> And future updates can reuse it, too (an update is very similar to an
> insert+delete).


Hm, then it's strange our DB takes 6 times as much space compared to 
freshly restored one (only public schema is considered).

> Not if autovacuum has a chance to run between updates.

Ours is run regularly, although we had to tweak it down not to interfere 
with normal database activity, so it takes several hours each run on the 
table. We did that by setting autovacuum_vacuum_scale_factor = 0.05 from 
default 0.2.





view thread (17+ messages)  latest in thread

Message-ID: <a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru>
Permalink:  ../a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru/
Also on:    postgresql.org/message-id/a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru

 · 

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: rihad@mail.ru, hjp-pgsql@hjp.at
  Subject: Re: Recommendation to run vacuum FULL in parallel
  In-Reply-To: <a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru>
  References: <9ed59ae2-6eb1-549d-eb05-d1546fd11515@mail.ru> <CAHOFxGqzLdRc+0dNp9q6q2oBCYUiQCmzYm8ma3Cng5m1+1tnZQ@mail.gmail.com> <a04bde8b-867f-1daf-08c7-dd9bb6263cb3@mail.ru>

* 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