Skip site navigation (1) Skip section navigation (2)

Re: CPU bound

From: Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com>
To: James Cloos <cloos(at)jhcloos(dot)com>
Cc: Royce Ausburn <royce(at)inomial(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: CPU bound
Date: 2010-12-20 06:47:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On 12/19/2010 7:57 PM, James Cloos wrote:
>>>>>> "RA" == Royce Ausburn<royce(at)inomial(dot)com>  writes:
> RA>  I notice that when restoring a DB on a laptop with an SDD,
> RA>  typically postgres is maxing out a CPU - even during a COPY.
> The time the CPUs spend waiting on system RAM shows up as CPU
> time, not as Wait time.  It could be just that the SSD is fast
> enough that the RAM is now the bottleneck, although parsing
> and text<=>binary conversions (especially for integers, reals
> and anything stored as an integer) also can be CPU-intensive.
> -JimC

Good time accounting is the most compelling reason for having a wait 
event interface, like Oracle. Without the wait event interface, one 
cannot really tell where the time is spent, at least not without 
profiling the database code, which is not an option for a production 

Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251

In response to


pgsql-performance by date

Next:From: tuanhoanganhDate: 2010-12-20 14:10:58
Subject: Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?
Previous:From: James CloosDate: 2010-12-20 00:57:48
Subject: Re: CPU bound

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group