Re: checkpoint process use too much memory

Поиск
Список
Период
Сортировка
От jian xu
Тема Re: checkpoint process use too much memory
Дата
Msg-id MN2PR05MB683244F6E40897EF187E53F2A1780@MN2PR05MB6832.namprd05.prod.outlook.com
обсуждение исходный текст
Ответ на Re: checkpoint process use too much memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: checkpoint process use too much memory  (jian xu <jamesxu@outlook.com>)
Список pgsql-admin
Thanks Tom and Alvaro. I will upgrade it to 10.13 first. 
James


From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Monday, July 20, 2020 18:34
To: jian xu <jamesxu@outlook.com>
Cc: MichaelDBA <MichaelDBA@sqlexec.com>; Scott Ribe <scott_ribe@elevated-dev.com>; Laurenz Albe <laurenz.albe@cybertec.at>; pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: checkpoint process use too much memory
 
jian xu <jamesxu@outlook.com> writes:
>       we are seeing this issue again, the checkpoint process is eating up all the memory,
> based on the htop, the checkpointer process has
> VIRT: 103G
> RES: 103G
> SHR: 4099M

hmmm ...

> my pg version is 10.3 ,

Really the *first* thing you ought to do is update to current (10.13)
and see if the problem is still there.  But if it is, maybe collecting
a memory context map in that process would be informative:

https://wiki.postgresql.org/wiki/Developer_FAQ#Examining_backend_memory_use

Note you may need a debug build for that recipe to work.

                        regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DELETE not seeming to use the PK index..
Следующее
От: jian xu
Дата:
Сообщение: Re: checkpoint process use too much memory