Re: High CPU usage of stats collector

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: komunca <komunca(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: High CPU usage of stats collector
Date: 2013-04-05 11:40:43
Message-ID: CAB7nPqSBAO5AQd39qPNdKBhffdVmdUo_+HebkB-SpD5XcvnkYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Apr 5, 2013 at 7:44 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:

> On Sun, Mar 31, 2013 at 11:44 PM, komunca <komunca(at)gmail(dot)com> wrote:
> > On my db server I have noticed a very high CPU usage of process:
> > *postgres: stats collector process*
> >
> > It is not below 50% of CPU. (Info from htop).
> >
> > What is best way to decrease CPU usage of this process?
>
> Do you by any chance have a large number of databases, and/or a large
> number of objects in your databases (tables or indexes)?
>
Could you output the result of this query?
SELECT count(*) FROM pg_class;
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message komunca 2013-04-05 12:24:18 Re: High CPU usage of stats collector
Previous Message Dmitriy Igrishin 2013-04-05 11:33:52 Bug or feature? (The constraint of the domain of extension can be dropped...)