From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgBackRest configuration with DDBoost |
Date: | 2024-06-04 15:22:03 |
Message-ID: | CANzqJaDQ=Ow6vMGQPcThvP7bM2e5BzMRbNU7Rz1U4D1GO2Rhjg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tue, Jun 4, 2024 at 10:44 AM Naveed Iftikhar <naveed27c(at)yahoo(dot)com> wrote:
> Thanks Scott for your input, Our database is keep growing and application
> owner want to have incremental backups daily. Can you share how you have
> configured the lz4 compression with pgbackrest.
>
It's all in the Fine Manuals, of which a lot of effort was placed in
writing.
> Any special storage requirements?
>
What do you mean (other than that lz4 is tuned for speed, rather than high
compression)? PGBR supports zstd and bz2, as well as lz4 and gzip.
>
> On Monday, June 3, 2024 at 10:22:28 PM CDT, Scott Ribe <
> scott_ribe(at)elevated-dev(dot)com> wrote:
>
>
> > On Jun 3, 2024, at 9:06 PM, Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> >
> > Takes 2 hr 45 min for us to do a weekly full backup of the 6.1TB
> instance using integrated gzip compression (it's an old RHEL6 system, so
> nothing better) and 24 threads. Size 3.3T after compression, which is
> surprising based on how much already-compressed bytea data there is.
>
>
> FYI, Naveed, there's a tradeoff available in current versions of
> pgbackrest. It can be configured to use lz4 compression. For us, that means
> close to 50% larger backups than gzip, but many times faster. 3.2TB in 30
> minutes, using 8 processes, 725GB backup size--no already compressed bytea,
> but a good bit of incompressible UUID columns.
>
> Good enough that I stopped doing daily incrementals, and just take full
> backups daily.
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Ribe | 2024-06-04 15:22:36 | Re: pgBackRest configuration with DDBoost |
Previous Message | Laurenz Albe | 2024-06-04 15:21:08 | Re: Minimize checkpointer and walwriter io during pg_restore |