pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@krosing.net>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: Andy Ruhl <acruhl@sdf.lonestar.org>
Cc: pgsql-admin@postgresql.org, Pgsql Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [ADMIN] postgresql under Windows is slow
Date: 31 Jan 2002 23:34:16 +0500
Message-ID: <1012502056.2189.0.camel@rh72.home.ee> (raw)
In-Reply-To: <Pine.GSO.4.44.0201311915480.18486-100000@ra.sai.msu.su>
References: <Pine.GSO.4.44.0201311915480.18486-100000@ra.sai.msu.su>

On Thu, 2002-01-31 at 21:33, Oleg Bartunov wrote:
> On Thu, 31 Jan 2002, Andy Ruhl wrote:
> 
> > On Wed, 30 Jan 2002, Oleg Bartunov wrote:
> >
> > > anybody has an experience how is stable postgresql under Windows system ?
> > > I tried postgresq 7.1 under Cygwin, Windows 98 and was dissapointed
> > > by very bad performance. Are there something I could tune ?
> > > I got 250 sel/sec on simple select from table with 500 rows !
> > > Under Linux I have 2500 sel/sec.
> >
> > What are your plans for postgresql on Windows? Just by the nature of the
> > OS, I'd never expect too much performance from a Cygwin app, especially
> > one like postgresql. Do you plan on running it on 98 in a production
> > manner?
> 
> even worse, we have to port our application to Windows and it should
> run under W95..XP on different hardware (PII ...).

It can be thet task switching behaviour of Win9x in not very best and
thus too much time is spent switching between client and server :)

To test this theory you could dry to rerun your benchmarks by sending
more queries in one request to lower the switching overhead. When you
run 250 single selects/sec you need to switch between client and server
process 500x/sec. Try sending your queries 10 at a time and see what you
get, or for even cleaner test results use separate server comuter

> It'll run in single-user environment (thank goodness).

It could help if you could run in a single process perhaps by putting
your whole application logic in pl/perl (or will this still use
_another_ backent to execute it's queries.

> Database will have about 20-30 K rows.

Do you really need all that performance on win9x ?

-------------
Hannu




view thread (16+ messages)  latest in thread

Message-ID: <1012502056.2189.0.camel@rh72.home.ee>
Permalink:  ../1012502056.2189.0.camel@rh72.home.ee/
Also on:    postgresql.org/message-id/1012502056.2189.0.camel@rh72.home.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: hannu@krosing.net, oleg@sai.msu.su, acruhl@sdf.lonestar.org, pgsql-hackers@postgresql.org
  Subject: Re: [ADMIN] postgresql under Windows is slow
  In-Reply-To: <1012502056.2189.0.camel@rh72.home.ee>
  References: <Pine.GSO.4.44.0201311915480.18486-100000@ra.sai.msu.su> <1012502056.2189.0.camel@rh72.home.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox