Re: idle transactions vs memory

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: idle transactions vs memory
Дата
Msg-id b97c85269fd11ca29d06f50a2d51757b9e9b85d7.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: idle transactions vs memory  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-admin
On Mon, 2020-12-07 at 11:04 +0530, Atul Kumar wrote:
> The transactions state is 'idle' from more than 15 minutes, so my
> question is that are they occupying any amount of RAM?
> 
> are these 'idle' transactions are using CPU ?

They are not using any CPU, and they are using very little RAM.

They make starting a query (taking a snapshot) a little slower,
but you probably won't notice that.

Their biggest danger is that there is no guarantee that they
remain idle, and if you have too many active sessions, your database
might have more work than it can handle.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: idle transactions vs memory
Следующее
От: Yambu
Дата:
Сообщение: multi Master environments