dbTalk Databases Forums  

Single large RAID array with a single DB2 container vs. multiplesmaller RAID arrays and multiple DB2 containers

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Single large RAID array with a single DB2 container vs. multiplesmaller RAID arrays and multiple DB2 containers in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Desmodromic
 
Posts: n/a

Default Single large RAID array with a single DB2 container vs. multiplesmaller RAID arrays and multiple DB2 containers - 05-17-2012 , 03:31 AM






I am in the process of designing the migration of an existing DB2 production database to new storage.

Most likely we will be using RAID 10. By way of example let's say my two choices are:

1. Single RAID 10 array with 8 primary disks. DB2 tablespaces consisting of a single container each.

2. Two RAID 10 arrays with 4 primary disks each. DB2 tablespaces consisting of two containers each, one on each array.

From a DB2 performance perspective, is there any difference between these two approaches?

It's unlikely I will have time to benchmark these two options and so any advice to get me going on the right track would be much appreciated.

Thanks in advance.

Reply With Quote
  #2  
Old   
Helmut Tessarek
 
Posts: n/a

Default Re: Single large RAID array with a single DB2 container vs. multiplesmaller RAID arrays and multiple DB2 containers - 05-17-2012 , 02:50 PM






Hello,

On 17.05.12 4:31 , Desmodromic wrote:
Quote:
1. Single RAID 10 array with 8 primary disks. DB2 tablespaces consisting of
a single container each.

2. Two RAID 10 arrays with 4 primary disks each. DB2 tablespaces consisting
of two containers each, one on each array.

From a DB2 performance perspective, is there any difference between these
two approaches?
Hmmm, as with most theoretical questions, the answer is: it depends.

There are several levels and forms of striping:

1) storage subsystem
2) OS - LVM
3) DB2

The best for performance is to use only 2 out of the 3 options. I usually tend
to go with 1 and 3 (that is, if you are the storage admin as well).

It also depends on the workload and how many IOPS your workload requires.

The best is to use as many disks as possible in an array. You can still create
2 LVs per tablespace on the storage.

It also depends on the connectivity to the storage. How many fibre channel
adapters, how many GB cache per adapter, ...

--
Helmut K. C. Tessarek
DB2 Performance and Development
IBM Toronto Lab

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.