Re: [HACKERS] Proposal: pg_rewind to skip config files - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] Proposal: pg_rewind to skip config files
Date
Msg-id CAB7nPqRj3V1LJg2fM5OrTQ36SjWYUHZw_UTaVTTKjABheoZW3w@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Proposal: pg_rewind to skip config files  (Vladimir Borodin <root@simply.name>)
Responses Re: [HACKERS] Proposal: pg_rewind to skip config files
List pgsql-hackers
On Tue, Sep 5, 2017 at 9:40 PM, Vladimir Borodin <root@simply.name> wrote:
> We do compress WALs and send them over network. Doing it via archive_command
> in single thread is sometimes slower than new WALs are written under heavy
> load.

Ah, yeah, true. I do use pg_receivexlog --compress for that locally
and do a bulk copy of only the compressed WALs needed, when needed...
So there is a guarantee that completed segments are durable locally,
which is very useful. You should definitely avoid putting that in
PGDATA though, the same counts for tablespaces within PGDATA for
example.
-- 
Michael



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] Making clausesel.c Smarter
Next
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] PoC plpgsql - possibility to force custom or generic plan