Re: Overusing 1 CPU

From: "J(dot) Roeleveld" <joost(at)antarean(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Overusing 1 CPU
Date: 2010-06-02 11:48:21
Message-ID: 201006021348.21572.joost@antarean.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wednesday 02 June 2010 13:37:37 Mozzi wrote:
> Hi
>
> Thanx mate Create Index seems to be the culprit.
> Is it normal to just use 1 cpu tho?

If it is a single-threaded process, then yes.
And a "Create index" on a single table will probably be single-threaded.

If you now start a "create index" on a different table, a different CPU should
be used for that.

>
> Mozzi
>
> On Wed, 2010-06-02 at 12:24 +0100, Matthew Wakeling wrote:
> > On Wed, 2 Jun 2010, Mozzi wrote:
> > > This box is basically adle @ the moment as it is still in testing yet
> > > top shows high usage on just 1 of the cores.
> >
> > First port of call: What process is using the CPU? Run top on a fairly
> > wide terminal and use the "c" button to show the full command line.
> >
> > Matthew
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message A. Kretschmer 2010-06-02 11:58:59 Re: Overusing 1 CPU
Previous Message Mozzi 2010-06-02 11:37:37 Re: Overusing 1 CPU