Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)
Date: 2006-11-28 16:40:39
Message-ID: 20061128164039.GB12077@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Nov 27, 2006 at 04:47:57PM -0500, Tom Lane wrote:
> It seems at least as likely that increased block size would *decrease*
> performance by requiring even small writes to do more physical I/O.
> This applies to both data files and xlog.

FWIW, a test we performed on just this some time ago was
inconclusive, and I chalked up the inconclusiveness to exactly the
increase in physical I/O for small writes. I couldn't release the
results, just because I wasn't in a position to release the test
data, but we had a fairly eclectic mixture of big and small rows. On
certain workloads, it was in fact slower than the stock size (IIRC we
tried both 16k and 32k), which is what led me to that speculation.
But I never chased any of it down, because the preliminary results
were so unpromising.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
I remember when computers were frustrating because they *did* exactly what
you told them to. That actually seems sort of quaint now.
--J.D. Baldwin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2006-11-28 16:46:30 BLCKSZ fun facts
Previous Message Andrew Sullivan 2006-11-28 16:34:32 Re: Incrementing INET fields

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2006-11-28 16:46:30 BLCKSZ fun facts
Previous Message Zeugswetter Andreas ADI SD 2006-11-28 12:04:18 Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)