Re: Using PGTune - is it a good source for system configuration? - Mailing list pgsql-novice

From Pól Ua Laoínecháin
Subject Re: Using PGTune - is it a good source for system configuration?
Date
Msg-id CAF4RT5QJ0gAVqqiNJ2-2WMcGVsWhihBwif+zttw08pT-W0jv1w@mail.gmail.com
Whole thread Raw
In response to Re: Using PGTune - is it a good source for system configuration?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses RE: Using PGTune - is it a good source for system configuration?  (Stephen Froehlich <s.froehlich@cablelabs.com>)
List pgsql-novice
Hi, and thanks  for replying.

> Not according to its "about" page...

Yeah, sure, it's not a silver bullet, but the thrust of my question
was: do the community experts consider it reliable enough as a first
approximation?

Your remarks about "better than the generic defaults" reassures me
that this is the case.

This is just my laptop - but I've taken PGTune's recommendations
before for a data loading and it was a real help...


One other question that I forgot to include in my original!

I have a two CPU core (that's why I put 2 for the number of CPUs) but
my processor supports hyperthreading (Intel Core i5, 7th Gen), so
should I really put 4 as the no.

Changing this from 2 to 4 changes the

work_mem from 41943kB to 20971kB and the worker settings from

max_worker_processes = 2
max_parallel_workers_per_gather = 1
max_parallel_workers = 2
max_parallel_maintenance_workers = 1

to

max_worker_processes = 4
max_parallel_workers_per_gather = 2
max_parallel_workers = 4
max_parallel_maintenance_workers = 2


So, which would be the correct Number of CPUs setting given my processor?

TIA and rgs,


Pól...


> David J.



pgsql-novice by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Using PGTune - is it a good source for system configuration?
Next
From: Stephen Froehlich
Date:
Subject: RE: Using PGTune - is it a good source for system configuration?