X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0BDB18B9ED1 for ; Sat, 5 Feb 2005 16:54:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31984-02 for ; Sat, 5 Feb 2005 16:53:58 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 10B298B9D23 for ; Sat, 5 Feb 2005 16:53:57 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j15Gru4u023589; Sat, 5 Feb 2005 11:53:57 -0500 (EST) To: Pascal Van Puymbroeck Cc: pgsql-admin@postgresql.org Subject: Re: Performance issue In-reply-to: <42048EE6.70007@zenonproductions.be> References: <42048EE6.70007@zenonproductions.be> Comments: In-reply-to Pascal Van Puymbroeck message dated "Sat, 05 Feb 2005 10:16:22 +0100" Date: Sat, 05 Feb 2005 11:53:56 -0500 Message-ID: <23588.1107622436@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/47 X-Sequence-Number: 16215 Pascal Van Puymbroeck writes: > I would like to solve a strange behaviour I encountered using Postgresql > 8.0.1 on windows. Connecting to the database is OK, but when running a > query to the database, its terribly slow. The fact is that I need the > database to be running on the same machine, my application is. There was a recent thread that came to the conclusion that loopback TCP connections are remarkably slow on Windows unless you've installed the correct add-on package --- something not tremendously obvious, I think it was a "QOS" patch or maybe something to do with packet filtering. Check the archives of the various pgsql lists. I forget which list but it was just a couple weeks ago. regards, tom lane