Unix Technical Forum

PG block sizes

This is a discussion on PG block sizes within the Pgsql Performance forums, part of the PostgreSQL category; --> Hi, All I'm trying to tune a software RAID 0 (striped) on a solaris 9, sparc box. Currently I'm ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 11:11 AM
Tom Arthurs
 
Posts: n/a
Default PG block sizes

Hi, All

I'm trying to tune a software RAID 0 (striped) on a solaris 9, sparc box. Currently I'm using a raid 1 (mirrored) array on two discs for the data area,
and I put in 4 new drives last night (all are f-cal). On the new array I have a width of 4, and used the default interleave factor of 32k. I believe
a smaller interleave factor may get me better read performance (I'm seeing a bulk load performance increase of about 35% but a 7-8x worse read performance
between the two RAID setups.)

Conventional wisdom is using an interleave factor < = db default block size gives the best read performance. I would like to try that (though this testing
is burning a lot of daylight, since I'll have to reload the db every time I remake the RAID.)

Question: what't the best block size to use for postgresql on solaris? (I'm using 7.4.5)

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com