Re: Simple query takes a long time on win2K

From: Richard Huxton <dev(at)archonet(dot)com>
To: "A(dot) Mous" <a(dot)mous(at)shaw(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Simple query takes a long time on win2K
Date: 2005-03-23 11:29:21
Message-ID: 42415311.4010307@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers-win32

A. Mous wrote:
> 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
>
> All machines are currently using the default settings upon install. I've
> tried adjusting shared_buffers and work_mem but nothing seems to make any
> difference.

Hmm - very strange. It couldn't be network related could it? IIRC on
Windows machines you connect via localhost (because there aren't any
unix domain sockets). There have been reports of different performance
over network connections, but I don't know if this applies to local
connections or if it's as serious as this.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2005-03-23 11:43:14 Re: Simple query takes a long time on win2K
Previous Message Walker, Jed S 2005-03-23 11:25:21 PostgreSQL support

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Lincoln Yeoh 2005-03-23 14:51:18 Re: Simple query takes a long time on win2K
Previous Message A. Mous 2005-03-23 09:57:09 Simple query takes a long time on win2K