Re: Log-shipping replication in one machine - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Log-shipping replication in one machine
Date
Msg-id 544FEF04.8090806@aklaver.com
Whole thread Raw
In response to Re: Log-shipping replication in one machine  ("nurul [via PostgreSQL]" <ml-node+s1045698n5824365h93@n5.nabble.com>)
List pgsql-general
On 10/26/2014 09:46 PM, nurul [via PostgreSQL] wrote:
> Thank you for your response. May i know what is the difference between
> log shipping and streaming replication actually? I'm sorry i am very new
> in postgreSQL and still confused with these two
>

For an overview see:

http://www.postgresql.org/docs/9.3/interactive/warm-standby.html

Short version:

1) Both deal with WAL files.

2) Log shipping ships the entire file (16MB by default) at a time.

3) Streaming ships records within the WAL file, so it works incrementally.


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: basti
Date:
Subject: Re: pg killed by oom-killer, "invalid contrecord length 2190 at A6C/331AAA90" on slaves
Next
From: Adrian Klaver
Date:
Subject: Re: Need guidance on regression.diffs