pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: rihad <rihad@mail.ru>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: When do vacuumed pages/tuples become available for reuse?
Date: Thu, 11 Apr 2019 10:09:38 -0400
Message-ID: <20190411140938.GA22402@alvherre.pgsql> (raw)
In-Reply-To: <0522481c-4cf6-1928-8780-9bfa2d7c6aca@mail.ru>

On 2019-Apr-11, rihad wrote:

> Thanks! Our autovacuum_work_mem = 1GB, so this probably means any space
> would be available for reuse only at the end of the vacuum? Are there any
> downsides in decreasing it to, say, 64MB? I see only pluses )

Yes, each vacuum will take longer and will use much more I/O.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (30+ messages)  latest in thread

Message-ID: <20190411140938.GA22402@alvherre.pgsql>
Permalink:  ../20190411140938.GA22402@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190411140938.GA22402@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, rihad@mail.ru, tgl@sss.pgh.pa.us
  Subject: Re: When do vacuumed pages/tuples become available for reuse?
  In-Reply-To: <20190411140938.GA22402@alvherre.pgsql>
  References: <0522481c-4cf6-1928-8780-9bfa2d7c6aca@mail.ru> <20190411140938.GA22402@alvherre.pgsql>

* 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