pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sebastian Dressler <sebastian@swarm64.com>
To: Sujith Kumar.S <sujiplr@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: CPU Configuration - postgres
Date: Thu, 11 Jun 2020 13:53:37 +0000
Message-ID: <16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com> (raw)
In-Reply-To: <CACqrAMBbPUPuzLTtAitmZ3TCsFc=TvHDbxx+NVD0=5+ZdT0_gA@mail.gmail.com>
References: <CACqrAMBbPUPuzLTtAitmZ3TCsFc=TvHDbxx+NVD0=5+ZdT0_gA@mail.gmail.com>

Hi,

> On 11. Jun 2020, at 10:24, Sujith Kumar.S <sujiplr@gmail.com> wrote:
> 
> Is there any configuration in postgresql that restrict the number of CPU usage by postgres process.

For parallelism, there are these options:

- max_parallel_workers_per_gather
- max_parallel_workers
- max_worker_processes

Where the first two essentially can limit the amount of cores to be used.

Is that what you were asking for?

Cheers,
Sebastian

--

Sebastian Dressler, Solution Architect 
+49 30 994 0496 72 | sebastian@swarm64.com 

Swarm64 AS
Parkveien 41 B | 0258 Oslo | Norway
Registered at Brønnøysundregistrene in Norway under Org.-Number 911 662 787
CEO/Geschäftsführer (Daglig Leder): Thomas Richter; Chairman/Vorsitzender (Styrets Leder): Dr. Sverre Munck 

Swarm64 AS Zweigstelle Hive
Ullsteinstr. 120 | 12109 Berlin | Germany
Registered at Amtsgericht Charlottenburg - HRB 154382 B



view thread (4+ messages)  latest in thread

Message-ID: <16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com>
Permalink:  ../16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com/
Also on:    postgresql.org/message-id/16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: sebastian@swarm64.com, sujiplr@gmail.com
  Subject: Re: CPU Configuration - postgres
  In-Reply-To: <16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com>
  References: <CACqrAMBbPUPuzLTtAitmZ3TCsFc=TvHDbxx+NVD0=5+ZdT0_gA@mail.gmail.com> <16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox