Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5BA67650EC2 for ; Mon, 30 Jun 2008 20:20:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21666-06 for ; Mon, 30 Jun 2008 20:19:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 9EF4B650E90 for ; Mon, 30 Jun 2008 20:20:01 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-116-204.bk8-dsl.surnet.cl [200.126.116.204]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5UNLiMA010996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2008 16:21:55 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1398A47C7C; Mon, 30 Jun 2008 19:19:41 -0400 (CLT) Date: Mon, 30 Jun 2008 19:19:41 -0400 From: Alvaro Herrera To: Rafael Domiciano Cc: Tino Schwarze , pgsql-admin@postgresql.org Subject: Re: Configuring Shared Buffers Message-ID: <20080630231940.GE18252@alvh.no-ip.org> References: <3a0028490806301052y193a4aeayfcc6deafdeb1cdb2@mail.gmail.com> <20080630182830.GA5358@easy2.in-chemnitz.de> <3a0028490806301201m5e4c48d4qc51a880b8f80ecf5@mail.gmail.com> <20080630191710.GC5358@easy2.in-chemnitz.de> <3a0028490806301616v6882a40bi2b54dcf63b37e315@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3a0028490806301616v6882a40bi2b54dcf63b37e315@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 30 Jun 2008 16:21:56 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/259 X-Sequence-Number: 29597 Rafael Domiciano escribió: > Yes, the server just does S, U, I and D. > The queries is pretty simples, don't have huge joins across tables... > In this server I have around 500 tables, the largest are: > 9 millions tuples | 5 millions tuples > > This server is our "authenticator"; the response is need to be "imediatly". > Today, the monitoring of the server is done using the unix command: > loguptime > With the time we discovered that when loguptime is up than 1.0 the response > begin to late, and the applications begin to take "Time-out". Have you tuned autovacuum? Maybe you need it to be more frequent on certain tables or something. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.