pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: MikeSmialek2@Hotmail.com <mikesmialek2@hotmail.com>
Cc: Magnus Hagander <mha@sollentuna.net>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-hackers-win32@postgresql.org
Subject: Re: Performance on Win32 vs Cygwin
Date: Fri, 15 Oct 2004 11:37:40 -0400
Message-ID: <9631.1097854660@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY10-DAV18tI8hsZXK0000e49c@hotmail.com>
References: <6BCB9D8A16AC4241919521715F4D8BCE475EE5@algol.sollentuna.se>
	<BAY10-DAV18tI8hsZXK0000e49c@hotmail.com>

"MikeSmialek2@Hotmail.com" <mikesmialek2@hotmail.com> writes:
> So are we correct to rely on
> - 8 being slower than 7.x in general and

I think this is a highly unlikely claim ... *especially* if you are
comparing against 7.1.  The point about sync() being a no-op is real,
but offhand I think it would only come into play at checkpoints.  We
have never issued sync() during regular queries.

What seems more likely to me is that you have neglected to do any
performance tuning on the new installation.  Have you vacuumed/analyzed
all your tables?  Checked the postgresql.conf settings for sanity?

If you'd like to do an apples-to-apples comparison to prove whether
7.1's failure to sync() is relevant, then turn off fsync in the 8.0
configuration and see how much difference that makes.

If you can identify specific queries that are slower in 8.0 than 7.1,
I'd be interested to see the EXPLAIN ANALYZE details from each.
(Actually, I'm not sure 7.1 had EXPLAIN ANALYZE; you may have to
settle for EXPLAIN from it.)

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <9631.1097854660@sss.pgh.pa.us>
Permalink:  ../9631.1097854660@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9631.1097854660@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mikesmialek2@hotmail.com, mha@sollentuna.net, pgsql-hackers-win32@postgresql.org
  Subject: Re: Performance on Win32 vs Cygwin
  In-Reply-To: <9631.1097854660@sss.pgh.pa.us>

* 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