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

survey of table blocksize changes

From: Mark Wong <markwkm(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: survey of table blocksize changes
Date: 2009-06-01 00:08:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hi all,

I ran a few more tests changing the table blocksizes, similar to:

I did make one change, specifically enable autovacuum, which I had
disabled for the previous thread.  The WAL blocksize here is using

Here's the data:

BS notpm % Change from default
-- ----- ---------------------
 1  3122 -80.1%
 2  8719 -44.3%
 4 16481   5.3%
 8 15659 (default)
16 13896 -11.3%
32 10279 -34.4%

Pointers to raw data:

BS url
-- ---

It seems like for DBT2, there might be some benefit to setting the
table blocksize to 4KB, but some of this could be noise.  But anything
smaller than 4GB and larger than 8KB looks like a fairly significant
performance drop for DBT2.  I wonder if there's any coincidence that
the blocksize of the ext2 filesystem is also 4KB.

Mark Wong

pgsql-hackers by date

Next:From: Joe ConwayDate: 2009-06-01 00:27:32
Subject: Re: dblink patches for comment
Previous:From: Tom LaneDate: 2009-06-01 00:05:31
Subject: Re: [GENERAL] INTERVAL data type and libpq - what format?

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