Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTEJe-0003nL-Vk for pgsql-general@arkaria.postgresql.org; Thu, 06 Jul 2017 21:28:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dTEJd-0006Oz-Eq for pgsql-general@arkaria.postgresql.org; Thu, 06 Jul 2017 21:28:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dTEHF-00029V-IO for pgsql-general@postgresql.org; Thu, 06 Jul 2017 21:25:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dTEH8-0005ar-JD for pgsql-general@postgresql.org; Thu, 06 Jul 2017 21:25:32 +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 v66LPPTn030919; Thu, 6 Jul 2017 17:25:25 -0400 From: Tom Lane To: =?UTF-8?B?VGFtw6FzIEFuZHLDoXMgS8OhbG3DoW4=?= cc: pgsql-general@postgresql.org Subject: Re: Modified rows are not marked as dead and as such vacuum is unable to clean them up In-reply-to: References: Comments: In-reply-to =?UTF-8?B?VGFtw6FzIEFuZHLDoXMgS8OhbG3DoW4=?= message dated "Thu, 06 Jul 2017 22:54:06 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30917.1499376325.1@sss.pgh.pa.us> Date: Thu, 06 Jul 2017 17:25:25 -0400 Message-ID: <30918.1499376325@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org =?UTF-8?B?VGFtw6FzIEFuZHLDoXMgS8OhbG3DoW4=?= writes: > we have a PostgreSQL 9.3.4 database with multiple large tables, that keep > growing. > Looking at the pg_stat of the front runner table that is currently about 1 > Gb big, it seems, that stale row data is not marked as dead after updates, Have you checked for uncommitted prepared transactions? If "select * from pg_prepared_xacts" finds anything, that's probably your problem. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general