public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sam Stearns <[email protected]>
To: CONVERS Yann - DREAL Auvergne-Rhône-Alpes/CIDDAE/SIG <[email protected]>
Cc: [email protected]
Cc: Henry Ashu <[email protected]>
Subject: Re: pg_dump -j
Date: Thu, 13 Nov 2025 07:12:17 -0800
Message-ID: <CAN6TVjn=Yo=v7KpJqXDo+4O=tvjQQBAdzwR1pnHOtoh0fCDq8w@mail.gmail.com> (raw)
In-Reply-To: <922b1f47-ca95-e565-e8a1-1859a472bfa0@developpement-durable.gouv.fr>
References: <CAN6TVjmRACGXcz3XoiOKw3ws1tBs_bnwa3AD==vyxmEdUJ=z_g@mail.gmail.com>
<CANzqJaCfOQBa06TfkAs63dbnLRegOtOdDumKdn2S101KkiFrVA@mail.gmail.com>
<922b1f47-ca95-e565-e8a1-1859a472bfa0@developpement-durable.gouv.fr>
Thanks, Yann!
On Thu, Nov 13, 2025 at 3:40 AM CONVERS Yann - DREAL
Auvergne-Rhône-Alpes/CIDDAE/SIG <[email protected]>
wrote:
> Hi, Processeurs is on of the parameters . An other is the outpout: input
> capacity to write on disks. I purpose to test your hardware performance
> with 12 jobs to begin and test less and high to learn which is better. You
> can found it approximately
> ZjQcmQRYFpfptBannerStart
> This Message Is From an Untrusted Sender
> You have not previously corresponded with this sender.
>
> ZjQcmQRYFpfptBannerEnd
>
> Hi,
>
> Processeurs is on of the parameters . An other is the outpout:input
> capacity to write on disks.
>
> I purpose to test your hardware performance with 12 jobs to begin and test
> less and high to learn which is better.
>
> You can found it approximately with the rate of your speeding writing
> ratio on disk or outpout of LAN card factoring by job's number.
>
> But testing IRL is more efficient.
>
> We use 7 jobs for à 16 nprocs on saving on a master save dedicate to with
> car LAN 1000GhZ for example.
>
> We do it online but without clients traffic and without maintenance
> operation.
>
> Tell us wich is your better choice!
>
> Bye
>
> Yann
>
>
> Le 12/11/2025 à 17:11, > ronljohnsonjr (par Internet, dépôt
> [email protected]) a écrit :
>
> On Wed, Nov 12, 2025 at 10:34 AM Sam Stearns <[email protected]> wrote:
>
>> Howdy,
>>
>> Would someone be able to advise on the correct setting for the -j option
>> of pg_dump to run the dump in parallel, please? Is it based on CPU count,
>> or something else? The output of nproc is 32.
>>
>
> I'd certainly never go *beyond* $(nproc), but since COPY generates a lot
> of IO and compression burns through CPU, it all depends on the system's
> other workload. Only you know what your system's other workload is when
> pg_dump is running.
>
> --
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!
>
>
--
Samuel Stearns
Team Lead - Database
c: 971 762 6879 | o: 971 762 6879 | DAT.com
<https://www.dat.com/?utm_medium=email&utm_source=DAT_email_signature_link;
view thread (4+ messages)
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: pg_dump -j
In-Reply-To: <CAN6TVjn=Yo=v7KpJqXDo+4O=tvjQQBAdzwR1pnHOtoh0fCDq8w@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox