Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 5F4A59F9FDA for ; Thu, 4 Jan 2007 10:50:25 -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 19836-07-2 for ; Thu, 4 Jan 2007 10:49:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by postgresql.org (Postfix) with ESMTP id 194249F938C for ; Thu, 4 Jan 2007 10:49:31 -0400 (AST) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id A4E195B44F for ; Thu, 4 Jan 2007 09:46:53 -0500 (EST) Received: from web2.messagingengine.com ([10.202.2.211]) by out1.internal (MEProxy); Thu, 04 Jan 2007 09:46:53 -0500 Received: by web2.messagingengine.com (Postfix, from userid 99) id 8EB4A2A856; Thu, 4 Jan 2007 09:46:53 -0500 (EST) Message-Id: <1167922013.8482.283102539@webmail.messagingengine.com> X-Sasl-Enc: Cbe9ZU13vewtXsnEYx6O15+wXL0c1UbeJISmdeT0tLSp 1167922013 From: "Jeremy Haile" To: pgsql-performance@postgresql.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: <1167845064.29222.282952329@webmail.messagingengine.com> <459C39BF.4070403@hagander.net> Subject: Re: Performance of PostgreSQL on Windows vs Linux In-Reply-To: <459C39BF.4070403@hagander.net> Date: Thu, 04 Jan 2007 09:46:53 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/53 X-Sequence-Number: 22654 Thanks for the response! I know I have to benchmark them to get a real answer. I am just looking to hear someone say "We benchmarked Linux vs. Windows with similar configuration and hardware and experienced a 25% performance boost in Linux." or "We benchmarked them and found no significant difference." I realize the situation varies based on usage patterns, but I'm just looking for some general info based on anyone else's experiences. My usage pattern is a single application that hits the database. The application uses a connection pool, so opening lots of connections is not a huge issue. However - it does have very large tables and regularly queries and inserts into these tables. I insert several million rows into 3 tables every day - and also delete about the same amount. On Thu, 04 Jan 2007 00:18:23 +0100, "Magnus Hagander" said: > 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