pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: rajan <vgmonnet@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Re: vacuum full is not reclaiming the space and showing non-removable rows
Date: Sun, 20 Nov 2016 11:32:14 -0500
Message-ID: <18017.1479659534@sss.pgh.pa.us> (raw)
In-Reply-To: <1479624293126-5931145.post@n3.nabble.com>
References: <1479470449084-5930937.post@n3.nabble.com>
	<19337.1479484872@sss.pgh.pa.us>
	<1479624293126-5931145.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

rajan <vgmonnet@gmail.com> writes:
> Restarting the DB and running vacuum again did recover some space. But still
> there are dead rows.

> vacuum full verbose chnges_23_21;
> INFO:  vacuuming "public.chnges_23_21"
> INFO:  "chnges_23_21": found 8436850 removable, 239750 nonremovable row
> versions in 89460 pages
> DETAIL:  0 dead row versions cannot be removed yet.

No, you're misreading it.  It deleted 8436850 rows, and 239750 live rows
remain.  We can tell they're all live because there are 0 dead-but-not-
removable rows.  So you're good now.

			regards, tom lane


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (4+ messages)

Message-ID: <18017.1479659534@sss.pgh.pa.us>
Permalink:  ../18017.1479659534@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18017.1479659534@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vgmonnet@gmail.com
  Subject: Re: Re: vacuum full is not reclaiming the space and showing non-removable rows
  In-Reply-To: <18017.1479659534@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