Re: PostgreSQL performance issues

From: Willo van der Merwe <willo(at)studentvillage(dot)co(dot)za>
To: Dave Dutcher <dave(at)tridecap(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL performance issues
Date: 2006-08-30 14:48:57
Message-ID: 44F5A559.9050701@studentvillage.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dave Dutcher wrote:
> That's an interesting situation. Your CPU's are pegged, and you're
> hardly doing any IO. I wonder if there is some ineficient query, or
> if its just very high query volume. Maybe you could try setting
> log_min_duration_statement to try to track down the slowest of the
> queries. Then post the slow queries with an explain analyze to the list.
>
> Here is some info on setting up logging:
> http://www.postgresql.org/docs/8.1/interactive/runtime-config-logging.html
>
> Are your queries standard SQL or do you call functions you wrote in
> PL/pgSQl or PL/Python or anything?
>
>
It might be a combo of queries and load. My queries use almost
exclusively functions, but on an unloaded dev machine performs its
queries in aprox 10ms. When is it appropriate to start clustering
database servers?

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2006-08-30 15:08:07 Re: PostgreSQL performance issues
Previous Message Vivek Khera 2006-08-30 14:10:28 Re: performance problems.