pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: pgsql-performance@postgresql.org
Subject: strange performance regression between 7.4 and 8.1
Date: Thu, 1 Mar 2007 15:44:03 -0500
Message-ID: <a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com> (raw)

Hello,

I have noticed a strange performance regression and I'm at a loss as
to what's happening.  We have a fairly large database (~16 GB).  The
original postgres 7.4 was running on a sun v880 with 4 CPUs and 8 GB
of ram running Solaris on local scsi discs.  The new server is a sun
Opteron box with 4 cores, 8 GB of ram running postgres 8.1.4 on Linux
(AMD64) on a 4 Gbps FC SAN volume.  When we created the new database
it was created from scratch rather than copying over the old one,
however the table structure is almost identical (UTF8 on the new one
vs. C on the old). The problem is queries are ~10x slower on the new
hardware.  I read several places that the SAN might be to blame, but
testing with bonnie and dd indicates that the SAN is actually almost
twice as fast as the scsi discs in the old sun server.  I've tried
adjusting just about every option in the postgres config file, but
performance remains the same.  Any ideas?

Thanks,

Alex



view thread (53+ messages)  latest in thread

Message-ID: <a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com>
Permalink:  ../a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com/
Also on:    postgresql.org/message-id/a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com

 · 

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: alexdeucher@gmail.com
  Subject: Re: strange performance regression between 7.4 and 8.1
  In-Reply-To: <a728f9f90703011244r577d56d7y422ab4bd71bb760e@mail.gmail.com>

* 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