Re: Simple query takes a long time on win2K

From: "A(dot) Mous" <a(dot)mous(at)shaw(dot)ca>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 'Richard Huxton' <dev(at)archonet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Simple query takes a long time on win2K
Date: 2005-03-23 17:02:01
Message-ID: 000201c52fca$0880b880$6500a8c0@PETER
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers-win32

Yeah, thanks. I did see that post about the QoS and it doesn't help in this
case.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: March 23, 2005 9:51 AM
To: A. Mous
Cc: 'Richard Huxton'; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Simple query takes a long time on win2K

"A. Mous" <a(dot)mous(at)shaw(dot)ca> writes:
> None of these tests were run over a network - all local.

Nonetheless, the client-to-server communication goes through the Windows
TCP stack, because that's the only comm protocol we support on Windows.

Notice that your EXPLAIN ANALYZEs show the query as executing in less
than 100ms even on the slower machine --- so it seems the bottleneck has
to be in sending the results to the client.

I seem to recall threads on the win32-hackers list to the effect that
local TCP performance really sucks on Win2K unless you have the right
patch installed ("QoS" comes to mind, but I didn't pay attention to
details). We probably need to get that info into the FAQ.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-03-23 17:02:35 Re: Delay INSERT
Previous Message Magnus Hagander 2005-03-23 16:59:57 Re: Command Prompt on Window version

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message uipdcnmv 2005-03-23 17:40:00 ij !!!!!01:40:00
Previous Message Tom Lane 2005-03-23 16:51:02 Re: Simple query takes a long time on win2K