Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > DB2 > Tablespace Extent and Prefetch size calculation for RAID arrays

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-04, 14:27
db2db2 db2db2 is offline
Registered User
 
Join Date: Oct 2003
Posts: 11
Tablespace Extent and Prefetch size calculation for RAID arrays

Hello All,

Probably, following question may have already been discussed but i am not able to find a hit in this forum.

For a RAID array of 3+p drive and stripe size of 64K, what is a good starting point for extent and prefetch size for a tablespace defined on six logical database partitions with one cotainer on each database partition. Each database partition is on it own array group in SAN.

According to a redbook, "a good starting point would be to set extent size equal to 1 complete stripe of disks in the LUN and for the prefetch size, it must be a multiple of the extent size times the number of arrays underlying your table space.

Based on the above redbook recommendation, i came up with the

Extent sz=#disk drives in a RAID array excluding parity*RAID stripe size

extent size = 3 * 64K = 192K (or) 6 pages (where page size=32K)

Prefetch size = n * extent size * number of arrays underlying the tablespace

Prefetch size = 1 * 192 K * 6 = 1152 K (or) 36 pages

Am i right ? Please reply with your response.
for a LUN striped
across a 6+P array, set it to 6*32 K = 196 K.
Reply With Quote
  #2 (permalink)  
Old 02-10-04, 10:09
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
As far as I understand, extent size should be strip size and prefetch size should be the number of containers * stripe size.
Reply With Quote
  #3 (permalink)  
Old 02-10-04, 10:24
db2db2 db2db2 is offline
Registered User
 
Join Date: Oct 2003
Posts: 11
Thanks for your input on the extent & prefetch size.
I'm referring to a redbook"Partitioning for Performance in an e-Business Intelligence World" , page 61

Thanks
Reply With Quote
  #4 (permalink)  
Old 02-10-04, 11:19
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
There's a white paper written in conjunction with EMC - look on DMDD that kind of explains it in detail - however that may be specific to EMC.
Reply With Quote
  #5 (permalink)  
Old 02-10-04, 13:16
db2db2 db2db2 is offline
Registered User
 
Join Date: Oct 2003
Posts: 11
HI,

Are you referring to "Best Practices for EMC Symmetrix 8000 with IBM DB2 Universal Database ".

I will go thru it and get back to you soon.

Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On