Re: I/O on select count(*)

From: PFC <lists(at)peufeu(dot)com>
To: "Greg Smith" <gsmith(at)gregsmith(dot)com>, "Matthew Wakeling" <matthew(at)flymine(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: I/O on select count(*)
Date: 2008-05-19 17:14:48
Message-ID: op.ubeviyrgcigqcu@apollo13.peufeu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> The real question in my mind is why this turns into a bottleneck before
> the similar task of cleaning the 16MB XLOG segment does. I expected
> that one would need to be cracked before the CLOG switch time could
> possibly be an issue, but reports from the field seem to suggest
> otherwise.

Hm, on current CPUs zeroing 8kB of RAM should take less than 2 us... now
if it has to be written to disk, that's another story !

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message kevin kempter 2008-05-20 05:56:27 slow update
Previous Message Tom Lane 2008-05-19 15:53:49 Re: I/O on select count(*)