Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4F2331337B61 for ; Tue, 23 Nov 2010 22:18:40 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 21113-05 for ; Wed, 24 Nov 2010 02:18:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id EE3CC1337B4E for ; Tue, 23 Nov 2010 22:18:32 -0400 (AST) Received: by pwj3 with SMTP id 3so421371pwj.19 for ; Tue, 23 Nov 2010 18:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=ulTtGgDRUpnoZqsGNx+8oDraiIkya1hYW20K3UWuPqM=; b=cPxySskVkFMR7WdzgLtu4IxUB+ZJ3LOffEqJqCdQARK0XWbSP1yM4yN+pKT7y6TU5f /wDL/0/GL/rgsO8Mg6Krp4FCDN4E0wgTP4+P02kRV5STTYTbb9fSBWKPwBpuyRqRmuoV jbERtODTEP70uwjbhx7V6Jf4Z+iCHxVcb2G4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=C61Ipf0E7DZcpJ15HuprhnvxCLxZC+TR+eRL8flDcysdKIH7YY/cGlTitVfCHkgAqE 8XeFXg9jeXBaE3Klyg+t3BTN48LVYIuSVpTptWCVjCywwsNWF6wzscxWDn9IsFlWmYCu wm8bTfepbDn/gLGt9EDQdVVcjMlPvLPxdw3yE= Received: by 10.142.14.10 with SMTP id 10mr1918990wfn.214.1290565113108; Tue, 23 Nov 2010 18:18:33 -0800 (PST) Received: from [192.168.1.2] (d122-104-227-104.sbr21.nsw.optusnet.com.au [122.104.227.104]) by mx.google.com with ESMTPS id w14sm8725892wfd.6.2010.11.23.18.18.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Nov 2010 18:18:32 -0800 (PST) From: Elliot Chance Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: pg_dump and XID limit Date: Wed, 24 Nov 2010 13:18:28 +1100 Message-Id: To: pgsql-admin@postgresql.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201011/205 X-Sequence-Number: 36171 Hi, This is a hypothetical problem but not an impossible situation. Just = curious about what would happen. Lets say you have an OLTP server that keeps very busy on a large = database. In this large database you have one or more tables on super = fast storage like a fusion IO card which is handling (for the sake of = argument) 1 million transactions per second. Even though only one or a few tables are using almost all of the IO, = pg_dump has to export a consistent snapshot of all the tables to = somewhere else every 24 hours. But because it's such a large dataset (or = perhaps just network congestion) the daily backup takes 2 hours. Heres the question, during that 2 hours more than 4 billion transactions = could of occurred - so what's going to happen to your backup and/or = database? - Elliot=