From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Incremental backup
Date: Thu, 28 Oct 2021 14:23:39 -0500
Message-ID: <c7d0a9da-5d4c-86cd-33c9-cb4a3fa69086@gmail.com> (raw)
In-Reply-To: <a5027f17-ca2e-ce7b-a42f-e291f13b156d@aklaver.com>
References: <CAD_UXMakmNELSH+EguMLwoDnfOSBza3RHnGP5fKA9A7t=-TMPQ@mail.gmail.com>
<4ad9560c-d6f7-3f74-b577-cf72c93195d0@aklaver.com>
<68943e88-7d6b-edb3-90b5-782b9fb5fcbd@gmail.com>
<57f54e84-c5f2-84fe-6e65-de5f4ddfdd47@aklaver.com>
<e539fda9-5b0c-e4b0-1e28-64278f72b38f@gmail.com>
<f16610db-9519-390f-1a56-1590d68b44ab@aklaver.com>
<995bab59-10e3-eaa9-2b93-afb0474595cd@gmail.com>
<a5027f17-ca2e-ce7b-a42f-e291f13b156d@aklaver.com>
On 10/28/21 2:06 PM, Adrian Klaver wrote:
> On 10/28/21 11:48, Ron wrote:
>> On 10/28/21 1:00 PM, Adrian Klaver wrote:
>>> On 10/28/21 10:51, Ron wrote:
>>>
>
>> Not doable in Postgresql because WAL files are global to cluster. I've
>> read multiple times that will not be changed.
>
> Yet somehow logical replication does it:
>
> https://www.postgresql.org/docs/14/logical-replication-architecture.html
>
> "
> Logical replication is built with an architecture similar to physical
> streaming replication (see Section 27.2.5). It is implemented by
> “walsender” and “apply” processes. The walsender process starts logical
> decoding (described in Chapter 49) of the WAL and loads the
Scans the (global) WAL data for only the that portion from the relevant
database?
If so, definitely not the same as having per-database WAL files.
Just as importantly, replication is not, and never will be, a substitute for
backups.
> standard logical decoding plugin (pgoutput). The plugin transforms the
> changes read from WAL to the logical replication protocol (see Section
> 53.5) and filters the data according to the publication specification. The
> data is then continuously transferred using the streaming replication
> protocol to the apply worker, which maps the data to local tables and
> applies the individual changes as they are received, in correct
> transactional order.
> "
>
> https://www.postgresql.org/docs/14/logical-replication.html
>
> "The typical use-cases for logical replication are:
>
> Sending incremental changes in a single database or a subset of a
> database to subscribers as they occur.
> ...
> "
--
Angular momentum makes the world go 'round.
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-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Incremental backup
In-Reply-To: <c7d0a9da-5d4c-86cd-33c9-cb4a3fa69086@gmail.com>
References: <CAD_UXMakmNELSH+EguMLwoDnfOSBza3RHnGP5fKA9A7t=-TMPQ@mail.gmail.com> <4ad9560c-d6f7-3f74-b577-cf72c93195d0@aklaver.com> <68943e88-7d6b-edb3-90b5-782b9fb5fcbd@gmail.com> <57f54e84-c5f2-84fe-6e65-de5f4ddfdd47@aklaver.com> <e539fda9-5b0c-e4b0-1e28-64278f72b38f@gmail.com> <f16610db-9519-390f-1a56-1590d68b44ab@aklaver.com> <995bab59-10e3-eaa9-2b93-afb0474595cd@gmail.com> <a5027f17-ca2e-ce7b-a42f-e291f13b156d@aklaver.com> <c7d0a9da-5d4c-86cd-33c9-cb4a3fa69086@gmail.com>
* 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