Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D8024633CCB for ; Fri, 27 Feb 2009 06:03:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68180-09 for ; Fri, 27 Feb 2009 06:03:51 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mail.postgresql.org (Postfix) with ESMTP id 6B76F63303E for ; Fri, 27 Feb 2009 06:03:51 -0400 (AST) Received: by yw-out-2324.google.com with SMTP id 5so704669ywh.73 for ; Fri, 27 Feb 2009 02:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UheF/HryF6Kef+X0OUJpccIVkn+TJQVtEhw/BKcfYHU=; b=t1yJ34yOVihPYomD8sA2Hja+jKOmynpIhVj4dEIwVngk6nnuDGamn7gWp9nv0WSIF8 VhwQn/+R86YnrCgNTIYwJ/x0rcUhwB+YciQekZe4GYRFKZ8VliNJsi9BhcquY3vKaD4U le6n/vpuzfSMF7oSXnZWZZFl/mKWDEVwCPcio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VZO6BHDPi3lCgxA/c/Wnas+LjjPYIwDzTCB9eklL6LsixhG1hI5XNCDHGyR+DUwXsT YxPFzCDI1RoFU5NWSOHkcF14SBc9QHVWpCZijn/EoT73YS39InuR3Us9NqYo2lHr+g2f +PYRsZMit2Szar+7iV5po9yEKap/yW/5ct2yQ= MIME-Version: 1.0 Received: by 10.150.149.19 with SMTP id w19mr3675138ybd.167.1235729029741; Fri, 27 Feb 2009 02:03:49 -0800 (PST) In-Reply-To: <93739F94E0F3BA43AD72423E2482341AE064B7@sw-rz010.gsf.de> References: <93739F94E0F3BA43AD72423E2482341AE064B7@sw-rz010.gsf.de> Date: Fri, 27 Feb 2009 03:03:49 -0700 Message-ID: Subject: Re: Question to transaction ID wraparound From: Scott Marlowe To: "Lentes, Bernd" Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/257 X-Sequence-Number: 31478 On Wed, Feb 25, 2009 at 3:05 AM, Lentes, Bernd wrote: > Hello ML, > > I'm very new to Postgres. > In the log, i got messages concerning transaction ID wraparound. > I red the documentation and made a vaccum on that database. > In the documentation i also found the hint to look in the database with > "SELECT datname, age(datfrozenxid) FROM pg_database;", which i did. > I did the command several times in a few seconds, and this number is growing very quickly, > although i'm not expecting transactions in the database. Please note that nearly EVERYTHING that happens in postgres is a transaction. if you type a single command, boom, it's a transaction. You actually get fewer transaction events if you enclose a bunch of stuff in begin; commit; pairs than if you run single commands.