Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V961B-0003kW-5s for pgsql-admin@arkaria.postgresql.org; Tue, 13 Aug 2013 04:15:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V961A-0004ZV-MA for pgsql-admin@arkaria.postgresql.org; Tue, 13 Aug 2013 04:15:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V9619-0004ZO-Kp for pgsql-admin@postgresql.org; Tue, 13 Aug 2013 04:15:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V9616-000280-Vx for pgsql-admin@postgresql.org; Tue, 13 Aug 2013 04:15:35 +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 r7D4FOkW005057; Tue, 13 Aug 2013 00:15:24 -0400 From: Tom Lane To: Natalie Wenz cc: pgsql-admin@postgresql.org Subject: Re: vacuum freeze performance, wraparound issues In-reply-to: <273F3E90-053B-4137-BE4D-3E7115A6A12E@ebureau.com> References: <273F3E90-053B-4137-BE4D-3E7115A6A12E@ebureau.com> Comments: In-reply-to Natalie Wenz message dated "Mon, 12 Aug 2013 18:39:25 -0500" Date: Tue, 13 Aug 2013 00:15:24 -0400 Message-ID: <5056.1376367324@sss.pgh.pa.us> X-Pg-Spam-Score: -4.7 (----) 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 Natalie Wenz writes: > ... With the speed postgres is capable of, and the ever-falling prices > of storage making larger, faster databases possible, has the possibility > of changing the transaction id to a 64-bit (or even 128-bit!) value been > considered? Not terribly seriously --- the penalties from making row headers 8 bytes bigger have always seemed to outweigh the advantages. (128 bits is right out; we don't even have 128-bit LSNs.) We'd probably take a patch to make 64-bit XIDs available as a compile-time option, if someone wanted to do the legwork to write and test it. But let me ask you this: if such an option existed, would you be willing to dump and reload your database to take advantage of it? The conversion costs of changing row header format seem like they'd discourage exactly those people whom such a feature could help. 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