pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MauMau <maumau307@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Could synchronous streaming replication really degrade the performance of the primary?
Date: Wed, 9 May 2012 22:06:17 +0900
Message-ID: <61B94EF1D7774715BC565DD84C731BDD@maumau> (raw)

Hello,

I've heard from some people that synchronous streaming replication has 
severe performance impact on the primary. They said that the transaction 
throughput of TPC-C like benchmark (perhaps DBT-2) decreased by 50%. I'm 
sorry I haven't asked them about their testing environment, because they 
just gave me their experience. They think that this result is much worse 
than some commercial database.

I'm surprised. I know that the amount of transaction logs of PostgreSQL is 
larger than other databases because it it logs the entire row for each 
update operation instead of just changed columns, and because of full page 
writes. But I can't (and don't want to) believe that those have such big 
negative impact.

Does anyone have any experience of benchmarking synchronous streaming 
replication under TPC-C or similar write-heavy workload? Could anybody give 
me any performance evaluation result if you don't mind?

Regards
MauMau





view thread (15+ messages)  latest in thread

Message-ID: <61B94EF1D7774715BC565DD84C731BDD@maumau>
Permalink:  ../61B94EF1D7774715BC565DD84C731BDD@maumau/
Also on:    postgresql.org/message-id/61B94EF1D7774715BC565DD84C731BDD@maumau

 · 

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-performance@postgresql.org
  Cc: maumau307@gmail.com
  Subject: Re: Could synchronous streaming replication really degrade the performance of the primary?
  In-Reply-To: <61B94EF1D7774715BC565DD84C731BDD@maumau>
  References: <61B94EF1D7774715BC565DD84C731BDD@maumau>

* 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