X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CE92BD7BD5 for ; Tue, 30 Aug 2005 09:42:23 -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 48038-03 for ; Tue, 30 Aug 2005 12:42:22 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id ADEA6D7BC8 for ; Tue, 30 Aug 2005 09:42:20 -0300 (ADT) Received: (qmail 22798 invoked by uid 500); 30 Aug 2005 12:42:09 -0000 Date: Tue, 30 Aug 2005 07:42:09 -0500 From: Bruno Wolff III To: Ricky Sutanto Cc: Pgsql-sql@postgresql.org Subject: Re: Performance issue Message-ID: <20050830124209.GB22545@wolff.to> Mail-Followup-To: Bruno Wolff III , Ricky Sutanto , Pgsql-sql@postgresql.org References: <43141be5.4f371831.1898.6e6f@mx.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43141be5.4f371831.1898.6e6f@mx.gmail.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/282 X-Sequence-Number: 22510 On Tue, Aug 30, 2005 at 15:42:06 +0700, Ricky Sutanto wrote: > > I use Apache Web Server and PostgreSQL 7.3 to collect data everyday. Now it > has been 5 month since I install that server. > > I wonder why now my web very slow to retrieve and display data? > When I check the memory, I found that postgreSQL client seem not release > after allocate. I try to find bug on my script, but everything look clean to > me. > > Anyone have experience like me.. please share info with me You haven't given us much to go on. You might have a problem with not properly vacuuming or analyzing or perhaps an issue with index bloat. There are also a number of performance benefits to using more recent versions of postgres. If you want some more specific help you should show us explain analyse resulta for some of your slow queries.