Re: Re: vacuum full is not reclaiming the space and showing non-removable rows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rajan <vgmonnet(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Re: vacuum full is not reclaiming the space and showing non-removable rows
Date: 2016-11-20 16:32:14
Message-ID: 18017.1479659534@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

rajan <vgmonnet(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2016-11-21 08:22:09 Re: Effect of archive_mode , archive_command when set on the standby
Previous Message Thomas Kellerer 2016-11-20 07:58:26 Re: Why are a lot of ROLLBACK queries in idle state