Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 671C49FA4D1 for ; Wed, 3 Jan 2007 19:18:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 03520-06 for ; Wed, 3 Jan 2007 19:18:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 1AB0F9FA4CA for ; Wed, 3 Jan 2007 19:18:20 -0400 (AST) Received: from [192.168.199.198] (c213-100-160-41.swipnet.se [213.100.160.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by svr2.hagander.net (Postfix) with ESMTP id B9C16DCC106; Thu, 4 Jan 2007 00:18:18 +0100 (CET) Message-ID: <459C39BF.4070403@hagander.net> Date: Thu, 04 Jan 2007 00:18:23 +0100 From: Magnus Hagander User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Jeremy Haile CC: pgsql-performance@postgresql.org Subject: Re: Performance of PostgreSQL on Windows vs Linux References: <1167845064.29222.282952329@webmail.messagingengine.com> In-Reply-To: <1167845064.29222.282952329@webmail.messagingengine.com> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/45 X-Sequence-Number: 22646 Jeremy Haile wrote: > I am sure that this has been discussed before, but I can't seem to find > any recent posts. (I am running PostgreSQL 8.2) > > I have always ran PostgreSQL on Linux in the past, but the company I am > currently working for uses Windows on all of their servers. I don't > have the luxury right now of running my own benchmarks on the two OSes, > but wanted to know if anyone else has done a performance comparison. Is > there any significant differences? That depends on your usage pattern. There are certainly cases where the Win32 version will be significantly slower. For example, if you open a lot of new connections, that is a lot more expensive on Windows since each connection needs to execute a new backend due to the lack of fork(). I don't think you'll find any case where the Windows version is faster than Linux ;-) But to get a good answer on if the difference is significant enough to matter, you really need to run some kind of simple benchmark on *your* workload. //Magnus