Re: CPU Configuration - postgres - Mailing list pgsql-general

From Sebastian Dressler
Subject Re: CPU Configuration - postgres
Date
Msg-id 16DB7D72-AA9D-451F-9C2D-B39A03021EB6@swarm64.com
Whole thread Raw
In response to CPU Configuration - postgres  ("Sujith Kumar.S" <sujiplr@gmail.com>)
Responses Re: CPU Configuration - postgres  (Adam Brusselback <adambrusselback@gmail.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pgbouncer logrotate found error, skipping
Next
From: Adam Brusselback
Date:
Subject: Re: CPU Configuration - postgres