X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0976CDA494 for ; Fri, 7 Oct 2005 04:55:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66583-01 for ; Fri, 7 Oct 2005 07:55:21 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 3F8C4DA44B for ; Fri, 7 Oct 2005 04:55:21 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 6A3F6418431; Fri, 7 Oct 2005 08:55:18 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 6D1F015EDA; Fri, 7 Oct 2005 08:52:49 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09871-05; Fri, 7 Oct 2005 08:52:47 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 03F0015ED5; Fri, 7 Oct 2005 08:52:47 +0100 (BST) Message-ID: <4346294E.7080803@archonet.com> Date: Fri, 07 Oct 2005 08:52:46 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lane Van Ingen Cc: pgsql-performance@postgresql.org Subject: Re: Need Some Suggestions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.058 required=5 tests=[AWL=0.008, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/133 X-Sequence-Number: 14901 Lane Van Ingen wrote: > I have an application that is prone to sudden, unscheduled high bursts of > activity, and > I am finding that the application design permits me to detect the activity > bursts within > an existing function. The bursts only affect 3 tables, but degradation > becomes apparent > after 2,000 updates, and significant after 8,000 updates. Hmm - assuming your free-space settings are large enough, it might be adequate to just run a vacuum on the 3 tables every 5 minutes or so. It sounds like these are quite small tables with a lot of activity, so if there's not much for vacuum to do it won't place too much load on your system. -- Richard Huxton Archonet Ltd