X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id CB6FED1DBAC for ; Tue, 25 Nov 2003 03:16:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 16507-03 for ; Mon, 24 Nov 2003 23:16:13 -0400 (AST) Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id CDB3AD1D888 for ; Mon, 24 Nov 2003 23:16:07 -0400 (AST) Received: from familyhealth.com.au (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id hAP3G8oD033859; Tue, 25 Nov 2003 11:16:08 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <3FC2CA18.3080001@familyhealth.com.au> Date: Tue, 25 Nov 2003 11:18:48 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nid Cc: pgsql-performance@postgresql.org Subject: Re: Where to start for performance problem? References: <2b1f01c3b2d6$c403ba70$0201a8c0@game> <3FC2ACCF.2030303@familyhealth.com.au> <2b8e01c3b301$0bc2f090$0201a8c0@game> In-Reply-To: <2b8e01c3b301$0bc2f090$0201a8c0@game> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/236 X-Sequence-Number: 4796 Nid wrote: > I've been digging around in the code and found where we are executing the > VACUUM command. VACUUM ANALYZE is executed every 15 minutes. We haven't > tried VACUUM FULL ANALYZE. I think I read that using FULL is a good idea > once a day or something. Just doing a VACUUM ANALYZE doesn't seem to be > preventing our problem. Thank you for the responses. Try upgrading to PostgreSQL 7.4 and use the new pg_autovacuum daemon. This daemon will monitor your tables and vacuum and analyze whenever necessary. Chris