Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bS6oe-0005Sg-Ci for pgsql-admin@arkaria.postgresql.org; Tue, 26 Jul 2016 18:10:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bS6od-0004dv-TF for pgsql-admin@arkaria.postgresql.org; Tue, 26 Jul 2016 18:10:51 +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 1bS6my-0002hR-B2 for pgsql-admin@postgresql.org; Tue, 26 Jul 2016 18:09:08 +0000 Received: from internet06.ebureau.com ([65.127.24.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bS6mv-00054g-HT for pgsql-admin@postgresql.org; Tue, 26 Jul 2016 18:09:07 +0000 Received: from localhost (localhost [127.0.0.1]) by internet06.ebureau.com (Postfix) with ESMTP id 71DF35D9932E for ; Tue, 26 Jul 2016 13:09:02 -0500 (CDT) X-Virus-Scanned: amavisd-new at ebureau.com Received: from internet06.ebureau.com ([127.0.0.1]) by localhost (internet06.ebureau.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MFQ1EG6VmOPW for ; Tue, 26 Jul 2016 13:09:02 -0500 (CDT) Received: from [172.16.2.113] (unknown [67.148.93.60]) by internet06.ebureau.com (Postfix) with ESMTPSA id 03C7C5D99324 for ; Tue, 26 Jul 2016 13:09:01 -0500 (CDT) From: Natalie Wenz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Database 'template1' vacuum Message-Id: <95F2FD17-7813-4718-B99F-165B177EA6E9@ebureau.com> Date: Tue, 26 Jul 2016 13:08:52 -0500 To: pgsql-admin Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-Pg-Spam-Score: -3.2 (---) 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 Hi! I've encountered something I've never seen before, and I am hoping someone = can help me understand what's going on behind the scenes with this vacuum/x= id behavior. ERROR: database is not accepting commands to avoid wraparound data loss in= database "template1" This error popped up right after I restarted a database that had just finis= hed running a vacuum freeze in single user mode for the postgres database (= the only database we use). (That was in response to: ERROR: database is not accepting commands to avo= id wraparound data loss in database "postgres") I'm confused about the need to vacuum template1. All of our activity is in = the database named postgres. Do all of the databases share the same set of = xids? If they do, why would the single user backend vacuum not handle all o= f the databases at once? If all databases don't share the same set of xids,= then what could be going on internally to cause template1 to run through s= o many xids? (This is running on 9.5.3, if that makes a difference.) Thanks! Natalie --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin