Re: Stats collector eats my CPU

From: Wojciech Strzałka <wstrzalka(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Simon Riggs" <simon(at)2ndquadrant(dot)com>, "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Subject: Re: Stats collector eats my CPU
Date: 2008-10-08 18:42:03
Message-ID: 1799633146.20081008204203@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


No. The only side effects is constant CPU load on this level (15%)
regardless if there is DB activity or no. The machine is 2*quad so 15
of 800 isn't really much - but I afraid what will be, if I'll get more
significant traffic there.

As you mentioned the total time summary is the effect of uptime which
is about half a year now.

> 2008/10/8 Wojciech Strzałka <wstrzalka(at)gmail(dot)com>:
>>
>> For clarification 250k is total relation count.
>> There is 85k plain tables + 45k toasts.
>>
>> Except stats collector overload, the cluster works fine ( no really
>> surprising, while we are using world best database :D )

> Couple of other points here:
> *) stats collector process is very long lived and does things, so will
> accumulate cpu time according to top over the shorter lived backend
> connections
> *) most servers are multi core these days...stats will eat at most one core

> maybe this is a non-problem? are you seeing other issues outside of
> high cpu time according to top?

> merlin

--
Pozdrowienia,
Wojciech Strzałka

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Anton Andreev 2008-10-08 20:08:14 problem with check constraints
Previous Message Merlin Moncure 2008-10-08 16:57:12 Re: Stats collector eats my CPU