pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-bugs@postgresql.org
To: roye.cohen@sap.com
Subject: Re: BUG #6311: Performance degradation after upgrade
Date: Sun, 27 Nov 2011 11:32:56 -0600
Message-ID: <4ED21FE8020000250004351A@gw.wicourts.gov> (raw)

"Roye Cohen"  wrote:
 
> I found a degradation in physical memory used on DB server (~200%
> degradation)
 
What are you measuring, and what were the numbers?
 
> and a small degradation in response times on every transaction
> monitored in comparison to 9.0.
 
What transaction isolation level was used?  Since you have a sap.com
email address, I assume you're probably oriented to larger shops,
which in my experience are more inclined to use stricter transaction
isolation levels (for very good reasons, IMV).  If the transactions
were set to the SERIALIZABLE transaction isolation level, we would
expect slightly slower performance in 9.1 versus 9.0, because it now
provides truly serializable behavior, unlike earlier versions of
PostgreSQL or any production release of Oracle.
 
If this is the case, you can fall back to legacy behavior by using
the REPEATABLE READ transaction isolation level instead of
SERIALIZABLE.  For further information see these links:
 
http://www.postgresql.org/docs/9.1/interactive/transaction-iso.html
 
http://wiki.postgresql.org/wiki/SSI
 
If this is the cause, please let us know.  I would appreciate knowing
what kind of numbers you're seeing, with a description of the type of
load.  If you can confirm that this is not happening at a less strict
transaction isolation level, like REPEATABLE READ, we can clear this
as "not a bug", since you don't get truly serializable transactions
without cost -- that's why less strict levels exist.
 
-Kevin



view thread (3+ messages)

Message-ID: <4ED21FE8020000250004351A@gw.wicourts.gov>
Permalink:  ../4ED21FE8020000250004351A@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4ED21FE8020000250004351A@gw.wicourts.gov

 · 

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-bugs@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, roye.cohen@sap.com
  Subject: Re: BUG #6311: Performance degradation after upgrade
  In-Reply-To: <4ED21FE8020000250004351A@gw.wicourts.gov>
  References: <4ED21FE8020000250004351A@gw.wicourts.gov>

* 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