pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: rihad <rihad@mail.ru>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: When do vacuumed pages/tuples become available for reuse?
Date: Thu, 11 Apr 2019 13:24:44 -0400
Message-ID: <21385.1555003484@sss.pgh.pa.us> (raw)
In-Reply-To: <20190411165033.GA19432@alvherre.pgsql>
References: <20190411165033.GA19432@alvherre.pgsql>

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-Apr-11, rihad wrote:
>> 2019-04-11 19:39:44.450844500   tuples: 19150 removed, 2725811 remain, 465 are dead but not yet removable

> What Jeff said.  This vacuum spent a lot of time, only to remove miserly
> 19k tuples, but 2.7M dead tuples remained ... probably because you have
> long-running transactions preventing vacuum from removing them.

I think you misread it --- I'm pretty sure "N remain" is referring
to live tuples.  Maybe we should adjust the wording to make that
clearer?

			regards, tom lane





view thread (30+ messages)  latest in thread

Message-ID: <21385.1555003484@sss.pgh.pa.us>
Permalink:  ../21385.1555003484@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21385.1555003484@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, rihad@mail.ru, jeff.janes@gmail.com
  Subject: Re: When do vacuumed pages/tuples become available for reuse?
  In-Reply-To: <21385.1555003484@sss.pgh.pa.us>
  References: <20190411165033.GA19432@alvherre.pgsql> <21385.1555003484@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