Re: CPU bound - Mailing list pgsql-performance

From James Cloos
Subject Re: CPU bound
Date
Msg-id m38vzl6z17.fsf@jhcloos.com
Whole thread Raw
In response to CPU bound  (Royce Ausburn <royce@inomial.com>)
Responses Re: CPU bound
List pgsql-performance
>>>>> "RA" == Royce Ausburn <royce@inomial.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
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

pgsql-performance by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Strange optimization - xmin,xmax compression :)
Next
From: Mladen Gogala
Date:
Subject: Re: CPU bound