Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8V49-0008Rk-Sv for pgsql-admin@arkaria.postgresql.org; Sun, 20 Nov 2016 16:34:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c8V49-0007oZ-Dv for pgsql-admin@arkaria.postgresql.org; Sun, 20 Nov 2016 16:34:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c8V2S-0005wn-I7 for pgsql-admin@postgresql.org; Sun, 20 Nov 2016 16:32:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c8V2O-0006vU-S3 for pgsql-admin@postgresql.org; Sun, 20 Nov 2016 16:32:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uAKGWEOi018018; Sun, 20 Nov 2016 11:32:14 -0500 From: Tom Lane To: rajan cc: pgsql-admin@postgresql.org Subject: Re: Re: vacuum full is not reclaiming the space and showing non-removable rows 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> Comments: In-reply-to rajan message dated "Sat, 19 Nov 2016 23:44:53 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18016.1479659534.1@sss.pgh.pa.us> Date: Sun, 20 Nov 2016 11:32:14 -0500 Message-ID: <18017.1479659534@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org rajan 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