X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F73A3A50C9 for ; Sun, 23 Jan 2005 03:47:21 +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 48202-04 for ; Sun, 23 Jan 2005 03:47:06 +0000 (GMT) Received: from web30703.mail.mud.yahoo.com (web30703.mail.mud.yahoo.com [68.142.200.136]) by svr1.postgresql.org (Postfix) with SMTP id 16E043A5020 for ; Sun, 23 Jan 2005 03:47:09 +0000 (GMT) Received: (qmail 84432 invoked by uid 60001); 23 Jan 2005 03:47:09 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Vho/e/He6XoU+GJLqsvXEzb9nct/9B1OHWuOUoK39Xx+HrVRGaFRvI3fbx/Pep9yN2ebboJjEef7on3yyBxtRbn/cLk1P7iFnHFQISn5BESx/SdGoXq1zDGd9sCiNG/Dy9oebXKpoJaK352BmXY/n9w+rd8sugS/kHaB3XZGEHo= ; Message-ID: <20050123034709.84430.qmail@web30703.mail.mud.yahoo.com> Received: from [68.52.187.232] by web30703.mail.mud.yahoo.com via HTTP; Sat, 22 Jan 2005 19:47:09 PST Date: Sat, 22 Jan 2005 19:47:09 -0800 (PST) From: Joe Audette Subject: Re: Windows 2000 Slower Than Windows XP To: pgsql-general@postgresql.org In-Reply-To: <000801c500ee$f775dc00$6501a8c0@travis> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.548 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FORGED_YAHOO_RCVD X-Spam-Level: ** X-Archive-Number: 200501/1230 X-Sequence-Number: 72179 Sounds like it could be a networking issue to me. Perhaps the xp machine is resolving the db server name more efficiently. do both the xp machine and the win2k machine 1 have comparable network cards? 2 on the same subnet as each other and the db? 3 using the same dns or wins server? you could try putting an entry in the hosts file on the slow machine to resolve the name of the db machine and see if that helps. I'm no expert on Postgre SQL so maybe there is a driver difference or something that others on the list would know better. Hope that helps, Joe --- Quinton Lawson wrote: > I have been having quite a time trying to figure > this one out. I have installed PostgreSQL OLE DB > drivers (ver 1.0.0.15) on two separate machines. > The only difference between the two machines is the > OS, 2000 Pro (SP4) and XP Pro (SP2) and both are > fully updated from fresh installs. The PostgreSQL > 8.0 server is running on another Windows XP Pro > machine (SP2, fully updated). > > I am performing a Select query like this: > SELECT column1, column2, column3 FROM table1 WHERE > column4 = 'value1' AND column5 ='value2' ORDER BY > column1, column2; > > Connection String: > Provider=PostgreSQL.1;Password="";User > ID=client1;Data Source=server;Location=Media > Database;Extended Properties="" > > The results take approximately 2 seconds on the XP > machine and 8 seconds on the 2000 machine. > > Explain Analyze yields nearly identical times (45ms) > between the two. > > Any ideas why this is occuring? > > Thank You, > qlawson ===== joe_audette@yahoo.com http://www.joeaudette.com http://www.mojoportal.com __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail