Re: maintenance_work_mem is it per instance or per database??

From: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
To: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: maintenance_work_mem is it per instance or per database??
Date: 2018-11-02 07:05:10
Message-ID: CAGDYbUMcFfkZ6OGV4NjOQxDHHFCjN4PkPAaoLC5TuA3OWRY=fg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Pavan,

Go through this link. hope this will help you.
https://www.postgresql.org/docs/current/static/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY

OR

Architecture and Tuning of Memory in PostgreSQL Databases.
https://severalnines.com/blog/architecture-and-tuning-memory-postgresql-databases

On Fri, Nov 2, 2018 at 9:58 AM pavan95 <pavan(dot)postgresdba(at)gmail(dot)com> wrote:

> Hello all,
>
> Is the parameter maintenance_work_mem is per database or per instance??
>
> And while exploring the configuration parameters I'm assuming that the sum
> of values(default values) for the parameters maintenance_work_mem(64MB),
> work_mem(4MB),temp_buffers(8MB), wal_buffers(4MB) will be equal to the
> value
> of shared buffers(128MB).
>
> But the total corresponds to 80MB where is the remaining part of shared
> buffers(48MB) used?? I have read like clog buffers don't have any explicit
> parameter to be set, it is tuned automatically by database engine
>
> So will that remaining will be used by the client requests??
>
> Please clarify me. Thanks in advance!!
>
> Regards,
> Pavan
>
>
>
> --
> Sent from:
> http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2018-11-02 09:13:50 Re: Relation between parameters in postgresql.conf file!!
Previous Message pavan95 2018-11-02 06:39:25 Relation between parameters in postgresql.conf file!!