Re: 9.3 feature proposal: vacuumdb -j # - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: 9.3 feature proposal: vacuumdb -j #
Date
Msg-id CAJKUy5hJLSsJBAii1YaWa7jvGqZY2m78cWOc05xsQuTj0ypUYA@mail.gmail.com
Whole thread Raw
In response to Re: 9.3 feature proposal: vacuumdb -j #  (Andres Freund <andres@anarazel.de>)
Responses Re: 9.3 feature proposal: vacuumdb -j #  (Andrew Dunstan <andrew@dunslane.net>)
Re: 9.3 feature proposal: vacuumdb -j #  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Jan 17, 2012 at 7:23 AM, Andres Freund <andres@anarazel.de> wrote:
> On Tuesday, January 17, 2012 01:18:53 PM Susanne Ebrecht wrote:
>> I would prefer to have an option that the user is able to tell on how much
>> cores it should be shared. Something like --share-cores=N.
> Uhm. -j # does exactly that or am I missing your point?
>

not really.

if you have 12 cores and you say -j 12 you would have 1 process per
core, with Susanne's suggestion, AFAIUI, you can say -j 12
--shared-cores=6... so you would only use 6 cores of the 12 and have 2
processes per core

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: 9.3 feature proposal: vacuumdb -j #
Next
From: Peter Geoghegan
Date:
Subject: Re: BGWriter latch, power saving