Re: Stats collector eats my CPU

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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wojciech Strzałka 2008-10-08 18:42:03 Re: Stats collector eats my CPU
Previous Message Wojciech Strzałka 2008-10-08 16:21:41 Re: Stats collector eats my CPU