pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: david@lang.hm, Vitalii Tymchyshyn <tivv00@gmail.com>
Cc: Kenneth Marshall <ktm@rice.edu>
Cc: Jon Nelson <jnelson+pgsql@jamponi.net>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: [HACKERS] Slow count(*) again...
Date: Sat, 5 Feb 2011 01:38:40 -0700
Message-ID: <AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=EkCUkQs9VTtW4aOBNNNV0gi8jYZhNgdHuFTKM@mail.gmail.com>
References: <AANLkTiknZi97dDwm7sHqy0EL7tpNEP9sY5uPV6AN+q=u@mail.gmail.com>
	<4D499E55.4020107@vmsinfo.com>
	<AANLkTimo2J-BagObs_V1bGaHOO9qL+kTF6s6-wZ=M3KW@mail.gmail.com>
	<AANLkTin7A_Q=Yc9Wf_5=POp2mVqmaiwqUDsFMLG68H45@mail.gmail.com>
	<4D4A7B69.2020704@gmail.com>
	<alpine.DEB.2.00.1102030208440.8162@asgard.lang.hm>
	<AANLkTi=Thet0VZ-X6b7tek+iSLVkE27JjiKrB5D8U0Jd@mail.gmail.com>
	<alpine.DEB.2.00.1102031243190.10088@asgard.lang.hm>
	<AANLkTikmChsPODbUD4V-gQ8k2yYvvjJY6b9K_29+k7nu@mail.gmail.com>
	<alpine.DEB.2.00.1102031637480.30983@asgard.lang.hm>
	<20110204143315.GA1261@aart.is.rice.edu>
	<4D4C0F66.1080507@gmail.com>
	<alpine.DEB.2.00.1102042142571.8162@asgard.lang.hm>
	<AANLkTi=EkCUkQs9VTtW4aOBNNNV0gi8jYZhNgdHuFTKM@mail.gmail.com>

On Fri, Feb 4, 2011 at 11:37 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Sat, Feb 5, 2011 at 12:46 AM,  <david@lang.hm> wrote:
>>> Actually for me the main "con" with streaming analyze is that it adds
>>> significant CPU burden to already not too fast load process. Especially if
>>> it's automatically done for any load operation performed (and I can't see
>>> how it can be enabled on some threshold).
>>
>> two thoughts
>>
>> 1. if it's a large enough load, itsn't it I/O bound?
>
> Sometimes.  Our COPY is not as cheap as we'd like it to be.

With a 24 drive RAID-10 array that can read at ~1GB/s I am almost
always CPU bound during copies.  This isn't wholly bad as it leaves
spare IO for the rest of the machine so regular work carries on just
fine.



view thread (246+ messages)  latest in thread

Message-ID: <AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com>
Permalink:  ../AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@gmail.com, robertmhaas@gmail.com, tivv00@gmail.com, ktm@rice.edu, jnelson+pgsql@jamponi.net, andrew@dunslane.net, bruce@momjian.us, tgl@sss.pgh.pa.us, craig@postnewspapers.com.au
  Subject: Re: [HACKERS] Slow count(*) again...
  In-Reply-To: <AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com>
  References: <AANLkTiknZi97dDwm7sHqy0EL7tpNEP9sY5uPV6AN+q=u@mail.gmail.com> <4D499E55.4020107@vmsinfo.com> <AANLkTimo2J-BagObs_V1bGaHOO9qL+kTF6s6-wZ=M3KW@mail.gmail.com> <AANLkTin7A_Q=Yc9Wf_5=POp2mVqmaiwqUDsFMLG68H45@mail.gmail.com> <4D4A7B69.2020704@gmail.com> <alpine.DEB.2.00.1102030208440.8162@asgard.lang.hm> <AANLkTi=Thet0VZ-X6b7tek+iSLVkE27JjiKrB5D8U0Jd@mail.gmail.com> <alpine.DEB.2.00.1102031243190.10088@asgard.lang.hm> <AANLkTikmChsPODbUD4V-gQ8k2yYvvjJY6b9K_29+k7nu@mail.gmail.com> <alpine.DEB.2.00.1102031637480.30983@asgard.lang.hm> <20110204143315.GA1261@aart.is.rice.edu> <4D4C0F66.1080507@gmail.com> <alpine.DEB.2.00.1102042142571.8162@asgard.lang.hm> <AANLkTi=EkCUkQs9VTtW4aOBNNNV0gi8jYZhNgdHuFTKM@mail.gmail.com> <AANLkTikKTc2GPm87Liztk3UTdRY+_THquaaW3qoMe2+d@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox