Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9IGZPP83313 for ; Thu, 18 Oct 2001 12:35:25 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9IG69331437 for pgsql-admin@postgresql.org; Thu, 18 Oct 2001 12:06:09 -0400 (EDT) (envelope-from news) From: "Shuzo Kubo" X-Newsgroups: comp.databases.postgresql.admin Subject: VACUUMing a live site OK? Date: Fri, 19 Oct 2001 01:20:37 +0900 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 13 Message-ID: <9qmuld$uma$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4807.1700 To: pgsql-admin@postgresql.org X-Archive-Number: 200110/197 X-Sequence-Number: 2441 Hi, I have a web application using PostgreSQL 7.1.3 with a table that experiences alot of UPDATEs. I shouldn't be updating the data so much to start off with but can no longer avoid the situation. I would like to vacuum a table (1 table only) to maintain an acceptable performance. Is it safe to vacuum a table when users are attempting to SELECT from or UPDATE to it? I would imagine that the table would get locked and there should be no problems. Any help is greatly appreciated. Thank you very much in advance.