Re: Setting effective_cache_size in integer form with the 8kb block units

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Setting effective_cache_size in integer form with the 8kb block units
Date: 2022-01-19 21:56:43
Message-ID: CAOC+FBXgR2d3sy5EJPKwU2Dvp6ZD9vby1LEXWY=tkCW69KOxow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

It does. In a cruel twist of fate, RDS parameter groups do not allow "48GB"
and want integer values.

On Wed, Jan 19, 2022 at 1:46 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Wed, Jan 19, 2022 at 2:39 PM Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
> wrote:
>
>> Sorry to be daft, but if I want 48GB for effective_cache size, should I
>> put the integer value of 6291456 or 6000000?
>>
>> Not quite sure how to spell out the 8kb units, decimal or binary...
>>
>>
> Seems easier to just specify the units (which the docs for
> effective_cache_size says are accepted).
>
>
> https://www.postgresql.org/docs/current/config-setting.html#CONFIG-SETTING-NAMES-VALUES
>
> David J.
>

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2022-01-19 22:15:06 Re: Setting effective_cache_size in integer form with the 8kb block units
Previous Message David G. Johnston 2022-01-19 21:46:12 Re: Setting effective_cache_size in integer form with the 8kb block units