On Sun, Apr 29, 2012 at 3:27 PM, Kevin Grittner
>> It would be enormously more performant for the master to be
>> emitting logical replication records to start with, since it
>> already has all the right names etc at hand at basically no cost.
> Not when the consumers are across a WAN, and that WAN is the biggest
> performance bottleneck and the most expensive resource involved.
I agree that the WAN is important, for both bandwidth and response time.
Though it isn't a given that logical change records (LCRs) will
require more bandwidth than physical WAL. WAL contains full page
images, index changes and other information that would be absent from
the LCR stream. It also depends upon the specification of the LCRs -
what metadata is included and whether the LCRs use text or binary.
Those choices have other impacts as well, so measurements and detailed
analysis is required to justify how to proceed. Which is what is in
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
In response to
pgsql-hackers by date
|Next:||From: Hannu Krosing||Date: 2012-04-29 17:20:00|
|Subject: Re: Future In-Core Replication|
|Previous:||From: Kevin Grittner||Date: 2012-04-29 16:54:30|
|Subject: Re: default_transaction_isolation = serializable
causes crash under Hot Standby|