Re: Forcing the right queryplan

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Henk van Lingen <H(dot)G(dot)K(dot)vanLingen(at)uu(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Forcing the right queryplan
Date: 2010-09-07 18:41:01
Message-ID: AANLkTin2s8bk93w65te3xwP9bbaH6eqgg2GNkp5R7GYJ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Tue, Sep 7, 2010 at 8:48 AM, Henk van Lingen <H(dot)G(dot)K(dot)vanLingen(at)uu(dot)nl> wrote:
>
> Thanks for your answer. Dropping the (pkey) index is not an option.
> iostat suggest the thing is CPU bound (%iowait remaining 11% but cpu
> rizing from 1 to 13 %)

How man cores that server have? If you've got 8 cores and one IO
bound on this query it'll hit 12%.. IOBound. rely on iostat -xd
instead.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-09-07 19:42:00 Re: On-disk size of db increased after restore
Previous Message Alban Hertroys 2010-09-07 17:26:25 Re: Forcing the right queryplan

Browse pgsql-novice by date

  From Date Subject
Next Message Turner, John J 2010-09-07 18:54:02 Re: Fwd: StackBuilder can't fetch application list?
Previous Message Craig Barnes 2010-09-07 17:32:51 Re: Fwd: StackBuilder can't fetch application list?