Re: postmaster has high CPU (system) utilization

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Trevor Bylsma <tbylsma(at)atreus-systems(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: postmaster has high CPU (system) utilization
Date: 2003-03-24 18:01:01
Message-ID: Pine.LNX.4.33.0303241059420.23224-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 17 Mar 2003, Trevor Bylsma wrote:

> I'm using postgreSQL and perl DBI and have come across this issue:
>
> postmaster will use most of the CPU for an extended amount of time
> (which isn't odd) but 75% of that is system level (which seems odd)...

When was the last time you vacuum / analyzed this database? It sounds
like it may be that the system is having to look through thousands of dead
tuples to return your dataset, hence the high system load.

Could be index bloat too.

How much space does the $PGDATA directory on both those machines take up?

(i.e. 'du -s $PGDATA' as the postgres super user.)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-03-24 18:03:35 Re: Oracle to Postgresql conversion
Previous Message Mitch Vincent 2003-03-24 17:42:19 Cross Database Shared Tables?