Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 458C99FB4F7 for ; Tue, 27 Mar 2007 14:07:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 97361-01 for ; Tue, 27 Mar 2007 14:06:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id E32E89FB6E8 for ; Tue, 27 Mar 2007 14:06:43 -0300 (ADT) Received: from alvh.no-ip.org (16-32-89.adsl.terra.cl [200.89.32.16]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l2RH6Y3q025703; Tue, 27 Mar 2007 10:06:39 -0700 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 7EEC44381CF; Tue, 27 Mar 2007 13:06:29 -0400 (CLT) Date: Tue, 27 Mar 2007 13:06:29 -0400 From: Alvaro Herrera To: Laszlo Nagy Cc: Jim Nasby , pgsql-admin@postgresql.org Subject: Re: autovacuum question Message-ID: <20070327170629.GA3966@alvh.no-ip.org> Mail-Followup-To: Laszlo Nagy , Jim Nasby , pgsql-admin@postgresql.org References: <46080037.9020209@designaproduct.biz> <3DD60E78-DAB8-49F6-A939-5C7C0E19C582@decibel.org> <4608F3AE.8070002@designaproduct.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4608F3AE.8070002@designaproduct.biz> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV 0.88.5/2865/Sun Mar 18 08:27:48 2007 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 27 Mar 2007 10:06:42 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/213 X-Sequence-Number: 25037 Laszlo Nagy wrote: > Jim Nasby írta: > >Autovacuum doesn't launch a separate daemon; you'll only see an > >autovac process when an autovac is actually working. > Where should I see it? The output of "ps ax | grep auto" is empty. Does > it mean that auto vacuum is not running? How can I check if there is a > problem? Do "show autovacuum", and it will tell you if autovac is running. > >Also, 8.1 has code to prevent wraparound, so that's not it (see > >backend/access/transam/varsup.c) > Oh, then do you have any idea what caused this? E.g. a postgres client > seeing an older version of the data? "Older" means that the postgres > client was started today and it saw the data from 2 days ago, then > suddenly it started to see the fresh data. Maybe because they issued "commit" in the session where they had an idle open transaction? -- Alvaro Herrera http://www.PlanetPostgreSQL.org "La libertad es como el dinero; el que no la sabe emplear la pierde" (Alvarez)