X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1AB3ED1C9EE for ; Mon, 22 Sep 2003 16:16:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 56137-08 for ; Mon, 22 Sep 2003 13:16:20 -0300 (ADT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id 676E5D1B906 for ; Mon, 22 Sep 2003 13:16:19 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 0A82F3515E; Mon, 22 Sep 2003 09:16:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 091A23515A; Mon, 22 Sep 2003 09:16:19 -0700 (PDT) Date: Mon, 22 Sep 2003 09:16:19 -0700 (PDT) From: Stephan Szabo To: Hornyak Laszlo Cc: pgsql-admin@postgresql.org Subject: Re: postgres 6.2 vacuum In-Reply-To: Message-ID: <20030922091548.P3494@megazone.bigpanda.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/348 X-Sequence-Number: 10436 On Mon, 22 Sep 2003, Hornyak Laszlo wrote: > Hi all! > > We have a database on postgreSQL 6.2 and it is extremely slow, so we > started vacuum on it. I know it locks the tables, so clients can not use > it until the process is finished, but it is extremely slow on a 1.800.000 > record table and we don't know how to make it faster. Can anybody help me? > > It seems it is writing an index file, but it grows very slowly. You might be better off dropping indexes, vacuuming and then recreating the indexes.