Re: Postmaster hogs CPU

From: Chris Gamache <cgg007(at)yahoo(dot)com>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postmaster hogs CPU
Date: 2004-05-06 16:01:33
Message-ID: 20040506160133.54511.qmail@web13808.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

--- "scott.marlowe" <scott(dot)marlowe(at)ihs(dot)com> wrote:
> On Wed, 5 May 2004, Chris Gamache wrote:

> Have you read:
>
> http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
>
> yet? It may just be that you don't have enough shared_buffers or whatnot.

Absolutely. I have a copy on my desk, and one under my pillow at night. :)
PostgreSQL profiling is a bit of an art. I've been a settings-tweaker since I
can remember. I feel like my config is pretty well balanced. Its that giant,
oddball-query that throws the proverbial wrench in the gears. The guide is
quick to warn that "too much" in any particular setting can be as bad as "not
enough" ... That's not to say that someone else, with more expertise than I,
couldn't look at what I have as far as settings and choose some better ones.

The query_priority idea sounds like a promising idea. For queries that you
/know/ will be expensive (or that you know you want to have run lickety-split),
it'd do the trick. The next logical step would be an "intelligent" query
priority engine. However, that might require some ESP (the X-Files kind) ...
How do the other big RDBMS's do it?

CG



__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-05-06 23:37:29 cast not IMMUTABLE?
Previous Message scott.marlowe 2004-05-06 15:40:53 Re: Postmaster hogs CPU