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

From Magnus Hagander
Subject Re: Simple query takes a long time on win2K
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C712C@algol.sollentuna.se
Whole thread Raw
In response to Simple query takes a long time on win2K  ("A. Mous" <a.mous@shaw.ca>)
Responses Re: Simple query takes a long time on win2K
List pgsql-general
> Hi,
>
> I have a table with about 1500 records.  My query is very
> basic: SELECT * FROM foo;
>
> With postgres 8.0.1 on Win XP (Celeron 2400, 500MB RAM) it
> returns the results in about 80ms.  The same query on the
> same database, tested on three different win2k machines all
> running 8.0.1, takes roughly 4 seconds.  Win2K machines are
> as follows:
>
> 1) PIII 800, 256MB RAM
> 2) Celeron 400, 128MB RAM
> 3) PII 233, 128MB RAM

A Celeron 2400 is obviously much faster than any of these machines, no?
COmpared to the 200Mhz, you have 12 times the processor power.

This is fram frmo the difference you're seeing, though. But it might be
something like the server being able to complete a lot more work in a
single timeslice and thus decreasing context switching between
processes.

Is this Windows 2000 Server or Workstation? The difference in timeslice
lengths could make a difference here.

Do you see similar differences if you run it across the network?

//Magnus

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Simple query takes a long time on win2K
Next
From: "Sim Zacks"
Date:
Subject: Re: multi line text data/query ?bug?