Re: Performance tuning for postgres

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Yogesh Naik" <Yogesh_Naik(at)persistent(dot)co(dot)in>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Performance tuning for postgres
Date: 2010-06-04 14:00:05
Message-ID: 4C08C0970200002500031F33@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Yogesh Naik <Yogesh_Naik(at)persistent(dot)co(dot)in> wrote:

> I am performing a DB insertion and update for 3000+ records and
> while doing so i get CPU utilization to 100% with 67% of CPU used
> by postgres....
>
> I have also done optimization on queries too...
>
> Is there any way to optimized the CPU utilization for postgres....

We'd need a lot more information before we could make useful
suggestions. Knowing something about your hardware, OS, exact
PostgreSQL version, postgresql.conf contents, the table definition,
any foreign keys or other constraints, and exactly how you're doing
the inserts would all be useful. Please read this and repost:

http://wiki.postgresql.org/wiki/SlowQueryQuestions

-Kevin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Gould 2010-06-04 14:21:53 Re: Performance tuning for postgres
Previous Message Tom Lane 2010-06-04 13:59:05 Re: performance regression with Linux 2.6.33 and glibc 2.12