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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David G. Johnston" <david.g.johnston@xxxxxxxxx> writes:
> On Wed, Jan 19, 2022 at 2:57 PM Wells Oliver <wells.oliver@xxxxxxxxx> wrote:
>> It does. In a cruel twist of fate, RDS parameter groups do not allow
>> "48GB" and want integer values.

> The system operates and calculates memory in binary per the referenced
> documentation so 6,291,456 (I double-checked this).

If you don't trust hand arithmetic, try

regression=# set effective_cache_size to '48GB';
SET
regression=# select setting from pg_settings where name = 'effective_cache_size';
 setting 
---------
 6291456
(1 row)

			regards, tom lane






[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux