Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 97E891337B58 for ; Sun, 21 Nov 2010 11:23:26 -0400 (AST) 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 68759-09 for ; Sun, 21 Nov 2010 15:23:15 +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 3C50B1337B4A for ; Sun, 21 Nov 2010 11:23:15 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Sun, 21 Nov 2010 09:23:14 -0600 Message-Id: <4CE8E4FC0200002500037C84@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Sun, 21 Nov 2010 09:23:07 -0600 From: "Kevin Grittner" To: , Cc: Subject: Re: Query Performance SQL Server vs. Postgresql 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=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/334 X-Sequence-Number: 41358 Pavel Stehule wrote: > 2010/11/21 Humair Mohammed : >> shared_buffers = 2 > shared_buffers = 2 ??? Yeah, if that's not a typo, that's a very serious misconfiguration. With 8 GB of RAM in the machine, this should probably be set to somewhere between 200 MB and 2 GB, depending on your workload and what else is running on the machine. Please read through this page and make use of the information: http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server -Kevin