Re: async replication code - Mailing list pgsql-hackers

From Stas Kelvich
Subject Re: async replication code
Date
Msg-id EF806070-C517-4E7D-ADE8-0FC2EAF2FEEA@postgrespro.ru
Whole thread Raw
In response to async replication code  (otheus uibk <otheus.uibk@gmail.com>)
Responses Re: async replication code
List pgsql-hackers
> On 16 Mar 2016, at 15:52, otheus uibk <otheus.uibk@gmail.com> wrote:
>
> Greetings,

Hi

>
> I am new here.  Apologetic question: how can i search the archives of this mailing list? Is there some set of magic
wordsto put in Google? Must I wade through 20 pages of hits? Should I download all the archives and grep? :)  
>

http://www.postgresql.org/list/

https://wiki.postgresql.org/wiki/Mailing_Lists

> Main question:  I want to understand very precisely the exact algirithm used in PG to do asynchronous streaming
replication.Eg, I want to know how the record is written and flushed to the socket and how that happens in time w.r.t
WAL-to-diskand response to client. Will someone please give me a head start as to where to begin my code-spelunking?  
>

WAL synced to disc, then everything else is happening.

http://www.postgresql.org/docs/9.5/static/warm-standby.html#STREAMING-REPLICATION

---
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company




pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: pg_dump / copy bugs with "big lines" ?
Next
From: Tomas Vondra
Date:
Subject: Re: multivariate statistics v14