Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UePsY-0005HD-94 for pgsql-admin@arkaria.postgresql.org; Mon, 20 May 2013 13:11:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UePsX-0008NY-IH for pgsql-admin@arkaria.postgresql.org; Mon, 20 May 2013 13:11:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UePsW-0008NS-Gf for pgsql-admin@postgresql.org; Mon, 20 May 2013 13:11:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UePsP-0003st-E1 for pgsql-admin@postgresql.org; Mon, 20 May 2013 13:11:52 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r4KDBhSb003239; Mon, 20 May 2013 09:11:44 -0400 (EDT) From: Tom Lane To: Armand du Plessis cc: "pgsql-admin@postgresql.org" Subject: Re: Transaction ID wrap limit is log entries In-reply-to: References: Comments: In-reply-to Armand du Plessis message dated "Mon, 20 May 2013 11:41:30 +0200" Date: Mon, 20 May 2013 09:11:43 -0400 Message-ID: <3238.1369055503@sss.pgh.pa.us> X-Pg-Spam-Score: -3.0 (---) 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 Armand du Plessis writes: > The autovacuum completed (after many hours) however it didn't seem to have > frozen any old pages as it just kicks off again right away with the same > reason (VACUUM ANALYZE public.messages (to prevent wraparound)) I suspect it's unable to move the table's min XID forward at all because there is some old open transaction preventing cleanup of very old dead tuples. Look for old xact_start times in pg_stat_activity. Also look for old entries in pg_prepared_xacts. If you find any, get rid of them. 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