473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

db2 on raid5, striped disks, SAN

I don't know much about db2 but I need to move a filesystem from a
striped logical volume to raid5? And are there any implications moving
the filesystems which hold db2 tables to sharks? Is there anything I
have to do within db2? This is an aix environment.

Thanks a lot.

Aug 16 '07 #1
3 3212
On Aug 16, 8:15 pm, "peanutbuttercravi...@gmail.com"
<peanutbuttercravi...@gmail.comwrote:
I don't know much about db2 but I need to move a filesystem from a
striped logical volume to raid5? And are there any implications moving
the filesystems which hold db2 tables to sharks? Is there anything I
have to do within db2? This is an aix environment.

Thanks a lot.
You should mention things like DB2 version, OS version, type of
workload etc.

Generally with RAID 5 you have write penalty and reduced reliability
comparing to RAID 1+0. You may want to look at www.baarf.com. I
haven't ever dealt with Sharks so far, but generally there are some
recommendations to set the extent size to be equal or small multiple
of physical stripe size set for LUN on storage, and prefetch size a
small multiple of extent size. For start, number of ioservers may be
set to 1 or 2 above the number of active physical disks (in RAID 5 it
is the number of disks in array on wich LUN is created, minus 1).

It is advisable to have at least logs out of RAID 5, and table spaces
with intensive write activity, especially if you have an OLTP system.
You may consider using CIO if you have AIX 5.3 or 5.2 with certain ML.
I believe that there are some good materials about environments
similar to your at IBM's Developerworks site.

Darko Krstic

Aug 16 '07 #2
On Aug 17, 5:05 am, darko <darko.krs...@gmail.comwrote:
On Aug 16, 8:15 pm, "peanutbuttercravi...@gmail.com"

<peanutbuttercravi...@gmail.comwrote:
I don't know much about db2 but I need to move a filesystem from a
striped logical volume to raid5? And are there any implications moving
the filesystems which hold db2 tables to sharks? Is there anything I
have to do within db2? This is an aix environment.
Thanks a lot.

You should mention things like DB2 version, OS version, type of
workload etc.

Generally with RAID 5 you have write penalty and reduced reliability
comparing to RAID 1+0. You may want to look atwww.baarf.com. I
haven't ever dealt with Sharks so far, but generally there are some
recommendations to set the extent size to be equal or small multiple
of physical stripe size set for LUN on storage, and prefetch size a
small multiple of extent size. For start, number of ioservers may be
set to 1 or 2 above the number of active physical disks (in RAID 5 it
is the number of disks in array on wich LUN is created, minus 1).

It is advisable to have at least logs out of RAID 5, and table spaces
with intensive write activity, especially if you have an OLTP system.
You may consider using CIO if you have AIX 5.3 or 5.2 with certain ML.
I believe that there are some good materials about environments
similar to your at IBM's Developerworks site.

Darko Krstic


Putting logs on raid 5 is not a problem so long as the SAN system
handles caching of writes. In fact, if it does you will see no
difference between raid 5 or raid 1+0. As you are talking shark, it
does this so you should see a performance boost. Similar the shark
has prefetch logic so you should see a performance gains. On the
question of raid 5 versus raid 1+0, if we are talking about the same
number of physical disks you can actually get better performance out
of raid 5 than raid 1+0 in many scenarios depending upon how you
configure matter and your work profile (more so with intelligent
SANs). The main consideration is when a failure occurs on a disk as
raid 5 leaves you exposed to total loss of data if a second disk
failure occurs before the parity volume is reconstructed.

Aug 17 '07 #3
On Aug 18, 1:31 am, peter <peter.p...@gmail.comwrote:
On Aug 17, 5:05 am, darko <darko.krs...@gmail.comwrote:
On Aug 16, 8:15 pm, "peanutbuttercravi...@gmail.com"
<peanutbuttercravi...@gmail.comwrote:
I don't know much about db2 but I need to move a filesystem from a
striped logical volume to raid5? And are there any implications moving
the filesystems which hold db2 tables to sharks? Is there anything I
have to do within db2? This is an aix environment.
Thanks a lot.
You should mention things like DB2 version, OS version, type of
workload etc.
Generally with RAID 5 you have write penalty and reduced reliability
comparing to RAID 1+0. You may want to look atwww.baarf.com. I
haven't ever dealt with Sharks so far, but generally there are some
recommendations to set the extent size to be equal or small multiple
of physical stripe size set for LUN on storage, and prefetch size a
small multiple of extent size. For start, number of ioservers may be
set to 1 or 2 above the number of active physical disks (in RAID 5 it
is the number of disks in array on wich LUN is created, minus 1).
It is advisable to have at least logs out of RAID 5, and table spaces
with intensive write activity, especially if you have an OLTP system.
You may consider using CIO if you have AIX 5.3 or 5.2 with certain ML.
I believe that there are some good materials about environments
similar to your at IBM's Developerworks site.
Darko Krstic

Putting logs on raid 5 is not a problem so long as the SAN system
handles caching of writes. In fact, if it does you will see no
difference between raid 5 or raid 1+0. As you are talking shark, it
does this so you should see a performance boost. Similar the shark
has prefetch logic so you should see a performance gains. On the
question of raid 5 versus raid 1+0, if we are talking about the same
number of physical disks you can actually get better performance out
of raid 5 than raid 1+0 in many scenarios depending upon how you
configure matter and your work profile (more so with intelligent
SANs). The main consideration is when a failure occurs on a disk as
raid 5 leaves you exposed to total loss of data if a second disk
failure occurs before the parity volume is reconstructed.
I was not meaning of the same number of disks, but of the same usable
capacity :-) For reliability and performance one has to pay. Like you
mentioned, when you lose one disk in RAID 5 array, until rebuilding is
finished, any further disk loss means disaster. And the risk resulting
from partial media failure is higher with RAID 5 also.

Writing to RAID 5 stresses harder caching subsystem of storage than
writing to RAID 1+0. Depending on the total configuration of SAN
(storages and hosts using LUNs in them, but among all the activity),
it may be a problem or not. If cachig subsystem is not stressed
already, then it should not be a problem, but if you have many write
activities to RAID 5 LUNs, there is a watermark for good performance
somewhere. There are RAID 5 write optimizations when a full stripe
writes are used, which helps substantially. EMC has them. I am not
sure about others, but probably they do.

I am planning a new DB2 configuration with DW type of load. Data will
be loaded in tables only nightly. Having limited number of disks
available, I've decided to use RAID 1+0 for logs and temporary table
spaces (expecting some heavy write activity to them during reports
creation), RAID 5 for dimensional and fact tables' table spaces and
RAID 3 for on-disk backup file system. If I could I would use RAID 1+0
everywhere, but some trade-offs have to be made.

Darko Krstic

Aug 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Malvin Su | last post by:
We have a Fire880 box running Solaris2.8 and Oracle8.1.7. And Use the DiskSuite to Create the RAID5 device md9, and mount it as a file system. Now When to create tablespace on the file system, the...
2
by: Jay | last post by:
Hi, I recently downloaded VS.NET Pro 2k3 from my university server and its contained within 3 zip files. I have to extract install.zip to install, msdn.zip to install MSDN, and another tools.zip...
0
by: robswin | last post by:
I'm working on a storage subsystem test solution and am looking for a way to manage disks as they appear to windows (physical disks, showing up as WMI class entries of type Win32_DiskDrive). I need...
5
by: Mark Kirkwood | last post by:
Dear all, Here is the first installment concerning ATA disks and RAID controller use in a database server. I happened to have a Solaris system to myself this week, so took the opportunity to use...
1
by: Stanley Sinclair | last post by:
(I have never been involved with storage hardware before this.) Given several tablespaces with very different table size needs, eg, one needs a 4k page, another a 32k page, and another deals with...
3
by: Stanley Sinclair | last post by:
I have a db2 database with tablespaces of several pagesizes. It is to be placed on a new server with a RAID 5 configuration. I am told that neither striping size, nor any other configuraton...
13
by: Simprini | last post by:
I have a new box that was purchased specificaly as our dedicated db2 server. The drive setup is 1 single ide device holding the filesystem 2 8 disk RAID 5 arrays one for data, one for logging The...
8
by: vishnu | last post by:
Hi, How do we count the total physical disks assigned to a DB2 database on a RAID 5, solaris environment. Thank you.
4
by: techtonator | last post by:
Hi All, I have Vista Home Premium 64 bit installed on my HP dv6000 laptop. The laptop has a recovery drive from which I created the recovery disks. Since this drive was provided, MS didn't provide...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.