Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJDS8-00EvP6-1E for pgsql-admin@arkaria.postgresql.org; Wed, 12 Nov 2025 16:12:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJDS6-00CksW-0g for pgsql-admin@arkaria.postgresql.org; Wed, 12 Nov 2025 16:12:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJDS5-00CkqI-2b for pgsql-admin@lists.postgresql.org; Wed, 12 Nov 2025 16:12:09 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vJDS4-006ktr-0b for pgsql-admin@lists.postgresql.org; Wed, 12 Nov 2025 16:12:08 +0000 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-4439ecf6004so420649b6e.1 for ; Wed, 12 Nov 2025 08:12:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762963927; x=1763568727; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=6B3CXDsrIATn6KTpcuwglhFlOxTml5wHjpCNvOszmyc=; b=F7Hzj1tnjGCvR2fCNZkmM9zUFEZ5i6jY8iviBHUNAte0uD1jPEC6S48va2FYD+nadv HQbWr1GHfsPL8LUbeBL3S2vT5fbzXRu+RfjS8Nol9s804B22hTTrncmR1Pg+Lts76iBn 3RotzJ9d4qy1UCmH/XoWuKzxjCRuXIdbsDYjy5MFz3iOx0T3UGLE9wAlfQtF16k0bMuo x6B8vKApc2pi2epnmh9WEjcUr7XFf9sQiRXHet5LXXAS18E9E4UnJ1a6WlN8ekA1xoyD BMHbHqEg5mh80S9kjAVLCjQzNZ5Ciaw9cTWfLW8COhjqkE+TngF1K5bA3b2ITDd3y/Il okrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762963927; x=1763568727; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6B3CXDsrIATn6KTpcuwglhFlOxTml5wHjpCNvOszmyc=; b=S4/vSGqNfh62qNOpTxK0foPq1jcpt493QAGvWDmVYQxD1MrNSFGqXmiKlA0e6Duib0 ERgn5thj/8rj84ECW4O5PM8SsxHj7EFXfCm4jpamMM5ZSBLNqjvrF75s0/OcZ06mPMgq V/TKX7+T7mJigCUATXos3uigv4WaKf+Qkqhn2A0UEGsMC87D4jRypuyPkYkRTYZE0ck5 XxjgOBDw+t3WEaaIzaJKMAzS0N5stOqEEAtwf3aQxLKf5qBnbXfO02URUo/enFRziLJA eLoyVBqn8ldkPZMG9e8RRs+um5eAcLYVGIP+4LYTrF/sqSifXjYKpA59FoWObzmW50bb lkUw== X-Gm-Message-State: AOJu0Yw9fqj246WAryVDUZtDl1Y7BYu32jlIunEDAx5RcLIue7SUo2VF XQLVkpLF2x1EoLsbTAuQe28L+O9isN6Niq10ScHW9+KjX1ci9weJytzRzvqwYGzOWKy7owZ27Ye YLMRbDi5751KomdC0vA3VOxMkgh3+YbgyUg== X-Gm-Gg: ASbGnctdkeVKfFXfvf0GeuJ2YTtJj2XJdEhgfg/fJ7iljkvymup9GTfD6zO8Umv6D31 1sh2Di93+UKR6uldmMrSVGegrtGqB4kwzXXARAVZN7ttlA+MkMp6Gw1kNJllnZR8SSr/NUpu56T 2RupRYtL6h+xA6ZHByW7N7TRyBZHKvkD0SiZIxjbQEEqaeYyiwZ38FuBthYDt+U4EpA+baCBWke 05yi5679mlZ3mukaRyLA5kprSRLliDm8mAMNu+X7WOigP3js4FLZATyFj8BvQ== X-Google-Smtp-Source: AGHT+IG3s2krgYGvMboTFoIlM1yM+BxTPpdI+LqEX7KhjUufHUL8hPDVX/0Mm2Q0AFx8Y/9NqNdso7K2F9M4Fbdv8p8= X-Received: by 2002:a05:6808:f93:b0:44d:c2fb:c0c with SMTP id 5614622812f47-450738e2704mr2105545b6e.31.1762963927211; Wed, 12 Nov 2025 08:12:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Wed, 12 Nov 2025 11:11:56 -0500 X-Gm-Features: AWmQ_bnFLo_rVY3b2PwlRKJj6GRaNMatbXnzDVRwz7IWPlUWHEy_aY_Bd1586z0 Message-ID: Subject: Re: pg_dump -j To: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000a222c706436806a9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000a222c706436806a9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 12, 2025 at 10:34=E2=80=AFAM Sam Stearns = 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. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000a222c706436806a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable