Re: Simple query takes a long time on win2K

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Simple query takes a long time on win2K
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C712C@algol.sollentuna.se
обсуждение исходный текст
Ответ на Simple query takes a long time on win2K  ("A. Mous" <a.mous@shaw.ca>)
Ответы Re: Simple query takes a long time on win2K  ("A. Mous" <a.mous@shaw.ca>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Simple query takes a long time on win2K
Следующее
От: "Sim Zacks"
Дата:
Сообщение: Re: multi line text data/query ?bug?