pgconfig / api

PGConfig.org API v2
MIT License
48 stars 9 forks source link

Worker Processes Configuration is not affected from Number of CPU parameter #12

Open ozkankirik opened 2 years ago

ozkankirik commented 2 years ago

The configuration builder, always calculates same values as below even if you change the number of cpu input up to 64 cores.

max_worker_processes = 8 max_parallel_workers_per_gather = 2 max_parallel_workers = 2

fguiet commented 9 months ago

Hi,

I have noticed this problem too.

See this exemple (with 64cpu for instances) : https://www.pgconfig.org/#/?max_connections=100&pg_version=16&environment_name=WEB&total_ram=12&cpus=64&drive_type=SSD&arch=x86-64&os_type=linux

Thank you for the bug fix fred