pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: vacuum full doubled database size
Date: Fri, 13 Mar 2020 12:36:39 -0500
Message-ID: <7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com> (raw)
In-Reply-To: <e0e4f4c2-ff08-e410-8ffb-10dd51801c0f@ocado.com>
References: <87ee68cc208c4775bd422277291fbcaf@zuerich.ch>
	<caeb0759-20cc-30db-780d-b253f0ad66f0@gmail.com>
	<e0e4f4c2-ff08-e410-8ffb-10dd51801c0f@ocado.com>

On 3/13/20 10:32 AM, Fabio Ugo Venchiarutti wrote:
> On 13/03/2020 15:15, Ron wrote:
>> This is why I'd VACUUM FULL in a planned manner, one or two tables at a 
>> time, and *locally* from crontab.
>
> That's not really viable on any remotely busy system: VACUUM FULL claims 
> exclusive table locks, causing queries to hang 
> (https://www.postgresql.org/docs/current/sql-vacuum.html#NOTES mentions 
> this too).

This is of course *if* I were to ever do a VACUUM FULL... :)

The point is that your mother's rule about not sticking a giant fork-full of 
food into your mouth is also an excellent rule in IT.

-- 
Angular momentum makes the world go 'round.

view thread (6+ messages)

Message-ID: <7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com>
Permalink:  ../7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com/
Also on:    postgresql.org/message-id/7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com

 · 

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: ronljohnsonjr@gmail.com
  Subject: Re: vacuum full doubled database size
  In-Reply-To: <7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com>
  References: <87ee68cc208c4775bd422277291fbcaf@zuerich.ch> <caeb0759-20cc-30db-780d-b253f0ad66f0@gmail.com> <e0e4f4c2-ff08-e410-8ffb-10dd51801c0f@ocado.com> <7c0a3bab-859e-5be4-f0bd-0e06d72f40de@gmail.com>

* 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