Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 37B56632757 for ; Fri, 16 Apr 2010 15:16:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18549-03 for ; Fri, 16 Apr 2010 18:15:52 +0000 (UTC) X-Greylist: delayed 00:05:03.195549 by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mail.postgresql.org (Postfix) with ESMTP id 9F6EB6326F5 for ; Fri, 16 Apr 2010 15:15:52 -0300 (ADT) Received: by qw-out-2122.google.com with SMTP id 8so927304qwh.61 for ; Fri, 16 Apr 2010 11:15:51 -0700 (PDT) Received: by 10.229.192.10 with SMTP id do10mr2750693qcb.48.1271441448451; Fri, 16 Apr 2010 11:10:48 -0700 (PDT) Received: from [192.168.2.92] (MTLXPQAK-1178073370.sdsl.bell.ca [70.55.249.26]) by mx.google.com with ESMTPS id v26sm2605668qce.7.2010.04.16.11.10.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Apr 2010 11:10:47 -0700 (PDT) Message-ID: <4BC8A825.3030006@ipso.ca> Date: Fri, 16 Apr 2010 14:10:45 -0400 From: Alexandre Leclerc Organization: Ipso Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tom Lane CC: pgsql-admin@postgresql.org Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation" References: <4BC8639C.4010202@ipso.ca> <9048.1271429162@sss.pgh.pa.us> In-Reply-To: <9048.1271429162@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_40=-0.001 X-Spam-Level: X-Archive-Number: 201004/220 X-Sequence-Number: 34314 Hi again, I also want to mention that maybe I'm not doing it properly. I started "postgres.exe" and it is inside that "session", "backend>" prompt, that I did run the VACUUM command. Is it that way or should I use psql to connect to anything "postgres.exe" would have "done" (like listening to a port?). (And by the way, what is the command to quit the backend? I'm doing Ctrl+C but the DB does not like that...) Best regards, Alexandre Leclerc Le 2010-04-16 10:46, Tom Lane a écrit : > Alexandre Leclerc writes: > >> *Background:* >> - PostgreSQL 8.1 on Windows Server >> - The customer has disabled regular VACUUM jobs for backup to be taken, >> a year or two ago. >> - They didn't told us (as far as I can remember). >> - Wednesday morning at 10:55:50: database is shut down to avoid >> wraparound data loss in database *db* >> > >> *What has been done:* >> - The message requested a VACUUM FULL so we stopped the postmaster and >> started postgres.exe to launch a VACUUM FULL. >> > You misread it. You do NOT need a VACUUM FULL here, you should just run > a plain VACUUM (across the whole database, ie not one per table). It > will take a lot less time. > > After you get out of this, you really need to do something about > upgrading from 8.1, or else moving the server off Windows. 8.1 on > Windows is unsupported and is full of known problems for that platform. > > regards, tom lane > > -- Alexandre Leclerc