From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pg_basebackup --wal-method=fetch |
Date: | 2024-02-08 17:54:31 |
Message-ID: | CANzqJaB7m2V+uTvu1rOY-2toye1ZtS3xp-GeZ9=bxO+r93wHow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, Feb 8, 2024 at 12:48 PM Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
>
> On Thu, Feb 8, 2024, 17:05 Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
>> (PG 14, if it matters.)
>>
>> What's the purpose of fetch mode, as opposed to streaming mode? Is it a
>> legacy of bygone days that just hasn't been deprecated, or is there
>> something I don't understand from reading
>> https://www.postgresql.org/docs/14/app-pgbasebackup.html?
>>
>
>
>
> Your backup can go to a single file with it, which it can't do in
> streaming. Which means it can also be sent through a pipe.
>
But isn't the whole purpose of pg_basebackup (running it on Node B, when
the database instance is Node A)?
> It also needs one connection instead of two to the server, if that's
> limited.
>
It's 2024, not 2011. Who can't spare an extra connection?
From | Date | Subject | |
---|---|---|---|
Next Message | Gambhir Singh | 2024-02-08 19:14:23 | DDL - TYPES |
Previous Message | Magnus Hagander | 2024-02-08 17:48:40 | Re: pg_basebackup --wal-method=fetch |