473,809 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3240
On Aug 16, 8:15 pm, "peanutbuttercr avi...@gmail.co m"
<peanutbuttercr avi...@gmail.co mwrote:
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...@g mail.comwrote:
On Aug 16, 8:15 pm, "peanutbuttercr avi...@gmail.co m"

<peanutbuttercr avi...@gmail.co mwrote:
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...@gma il.comwrote:
On Aug 17, 5:05 am, darko <darko.krs...@g mail.comwrote:
On Aug 16, 8:15 pm, "peanutbuttercr avi...@gmail.co m"
<peanutbuttercr avi...@gmail.co mwrote:
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
2171
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 performance is so lower, only 10% CPU is in use. What's wrong with the system, why the io or cpu does not work hard? Any help is appreciated, thanks!
2
1571
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 for other tools. I wanted to recreate the VS disks from which these were packaged. I thought if someone who has these disks could give me the contents of their disks so that I can burn my own copy on CDs and not have to keep local HD copies that...
0
1535
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 to be able to: create partitions on the disks, format the disks, and present them to Windows as a logical disk (drive letter), unpresent them and delete partitions. Basically, everything that the Disk Management tool in the Computer Management...
5
2217
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 it as a "control". In this post I used the ATA RAID controller merely to enable UDMA 133 for an oldish x86 machine, the effect of any actual RAID level will (hopefully) be examined subsequently.
1
1279
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 BLOBs .. . . how does one assign stripe sizes, etc, in a RAID5 configuration? Stan
3
2033
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 issue of the RAID array has any effect on the database as far as pagesize is concerned. In other words, a tablespace of 4K and a tablespace of 32K will be well served simultaneously. (I realize that prefetch etc will be affected.) Is this true?
13
2014
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 problem I am having is that if the log directory is on the RAID, database performance is heavily compromised. If I switch the log directory to the single IDE drive perfomance is fine. I have read up on tablespaces and extent/prefetch sizes and...
8
2226
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
5796
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 me the Vista OS disks (even though I have paid the license fee for the OS). My question is, Can I remove vista, format my drive and REINSTALL clean copy of Vista 64 bit that I originally got with the help of recovery disks? Or the disks are...
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9602
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10639
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10383
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7661
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.