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

From Martin Moore
Subject Re: Replication causing publisher node to use excessive cpu over time
Date
Msg-id F74C375B-5FC4-4243-9272-E60B245C9784@avbrief.com
Whole thread Raw
In response to Re: Replication causing publisher node to use excessive cpu over time  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-general
OK, have installed perf and will report back when the problem gets noticeable.

Martin.


On 04/12/2017, 12:40, "Michael Paquier" <michael.paquier@gmail.com> wrote:

    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: Michael Paquier
Date:
Subject: Re: Replication causing publisher node to use excessive cpu over time
Next
From: Nicola Contu
Date:
Subject: Centos 6.9 and centos 7