Re: Simple query takes a long time on win2K - Mailing list pgsql-general

From Tom Lane
Subject Re: Simple query takes a long time on win2K
Date
Msg-id 7596.1111596662@sss.pgh.pa.us
Whole thread Raw
In response to Re: Simple query takes a long time on win2K  ("A. Mous" <a.mous@shaw.ca>)
Responses Re: Simple query takes a long time on win2K
Re: Simple query takes a long time on win2K
List pgsql-general
"A. Mous" <a.mous@shaw.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

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Delay INSERT
Next
From: Tzahi Fadida
Date:
Subject: Existence of tuples in relations and a multicolumn index.