Re: Postgresql background writer and checkpointer memory utilization in Linux server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mohammed Afsar <mohammed(dot)afsar7799(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Postgresql background writer and checkpointer memory utilization in Linux server
Date: 2020-08-11 15:40:21
Message-ID: 3398631.1597160421@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mohammed Afsar <mohammed(dot)afsar7799(at)gmail(dot)com> writes:
> Thanks for response,the exact issue which am facing is when there is no
> transaction queries are happening in database checkpointer and background
> writer is continuously utilizing memory from server.

That sounds like complete nonsense. Those processes don't execute
queries. It's true that they'll continue to do I/O work for some
time after queries have executed in other processes, but that's normal.

I say again that you haven't offered any evidence of having a problem
to solve. If you don't want the database to be consuming any cycles
at all, then you should shut it down. But if you want it to do useful
work, it's designed to spread out that work, not necessarily to do it
all before a query returns results to the client.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mohammed Afsar 2020-08-11 15:46:27 Re: Postgresql background writer and checkpointer memory utilization in Linux server
Previous Message Mohammed Afsar 2020-08-11 15:35:11 Re: Postgresql background writer and checkpointer memory utilization in Linux server