Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 83BE4B5DC35 for ; Fri, 9 Sep 2011 09:04:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 87136-02 for ; Fri, 9 Sep 2011 12:04:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id E40D3B5DBDA for ; Fri, 9 Sep 2011 09:04:37 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 09 Sep 2011 07:04:36 -0500 Message-Id: <4E69BA830200002500040FD2@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 09 Sep 2011 07:04:35 -0500 From: "Kevin Grittner" To: ,, Subject: Re: how delete/insert/update affects select performace? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/87 X-Sequence-Number: 44863 "Anibal David Acosta" wrote: >> The general guidelines for Windows servers such as >> http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server >> recommend a fairly small setting for the shared_buffers parameters >> on Windows--no more than 512MB. > Even if I have a server with 16GB of ram, I must set the > shared_buffer to 512MB on windows? > > In the wiki page they talk about 1/4 of ram, in my case that > represent a shared_buffer = 4GB, that is incorrect? There's an effective maximum, depending on the platform. On Linux that seems to be somewhere in the 8GB to 10GB. On Windows it is much less. > If I can't configure more than 512MB of shared_buffer all other RAM > is unnecessary? The RAM not used for other purposes is used by the OS for caching. PostgreSQL goes through that cache, so the extra memory will be used; it's a question of what balance between PostgreSQL buffers and OS cache gives the best performance. -Kevin