Re: Replication causing publisher node to use excessive cpu over time - Mailing list pgsql-general

From Michael Paquier
Subject Re: Replication causing publisher node to use excessive cpu over time
Date
Msg-id CAB7nPqRWPmA+xs2FPc5Jpy4ZX3iAzirWznA69F_ZcROEoGa9rA@mail.gmail.com
Whole thread Raw
In response to Replication causing publisher node to use excessive cpu over time  (Martin Moore <martin.moore@avbrief.com>)
Responses Re: Replication causing publisher node to use excessive cpu over time
List pgsql-general
On Mon, Dec 4, 2017 at 9:03 PM, Martin Moore <martin.moore@avbrief.com> wrote:
> After a few days, it’s noticeable that the Postgres on the publisher node is constantly using a lot of cpu (26%
today)and having a big impact on the system performance even when doing very little. Logging on to the subscriber and
removingthe subscription sees this value drop to an expect small value. 

When debugging such issues, it is critical to know where the resources
are spent, and you are giving no information that can help in
understanding where CPU cycles are spent. You can do such measurements
by using perf for example.
--
Michael


pgsql-general by date:

Previous
From: Jakub Glapa
Date:
Subject: Re: ERROR: too many dynamic shared memory segments
Next
From: Martin Moore
Date:
Subject: Re: Replication causing publisher node to use excessive cpu over time