Could synchronous streaming replication really degrade the performance of the primary? - Mailing list pgsql-performance

From MauMau
Subject Could synchronous streaming replication really degrade the performance of the primary?
Date
Msg-id 61B94EF1D7774715BC565DD84C731BDD@maumau
Whole thread Raw
Responses Re: Could synchronous streaming replication really degrade the performance of the primary?
List pgsql-performance
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



pgsql-performance by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: scale up (postgresql vs mssql)
Next
From: Clemens Eisserer
Date:
Subject: Re: Any disadvantages of using =ANY(ARRAY()) instead of IN?