473,782 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Restoring to Different RAID Stripe / Extent Size

Hi folks,

I've tried reading just about every post I can on raid stiping / extent
size etc and I'm just getting myself more confused than ever. Here's my
situation.

On a Windows Server 2000 standard edition system with only 1gb ram
using UDB 8.2.3 Enterprise, I have an existing database that uses two
[2] raid arrays striped with 8kb. Presently the tablespaces have a
default extent of 24, default prefetch of 48 [however all are set to
automatic which a snapshot reveals is using something like prefetch
144].

Array 1 = raid 1 and has 2 physical discs sized 36GB OS
Array 2 = raid 5 and has 4 physical discs sized 109GB

Array 1 presently stores index tablespace and logs
Array 2 presently stores the data tablespace and catalogs etc DB2 is
also installed here.

Now, I need to copy this across to another server with the following
config:

Windows Advanced Server 6GB Ram.

Two raid arrays striped with 32k [not 8 as in above].

Array 1 = raid 1, 2 discs size 9GB
Array 2 = raid 5, 4 discs size 109GB

Now I'm thinking because of space I am going to have to move the index
tablespace back to array 2 and maybe leave the logs on array 1. This
would mean Array 2 now holds data and index tablespaces.

My main concern is the change in stripe size from 8kb to 32kb,
unfortunately I am stuck with this and cannot change it. I was hoping
to perform a redirected restore from a backup but I am concerned now
about the stripe size and the impact this will have on performance.

I've managed to figure out how to use AWE and PAE extentions to get the
benefit of larger bufferpools, and could use some serious assistance in
a suggested configuration of the new server.

Would it be better now with 6GB of ram to only have a single bufferpool
for both index and data tablespaces or split the two remembering
DB2_AWE only supports apparently a single BP of large size. If split,
what ratio index BP to data BP would be the best ? Given 6GB, what
would one set the IBMDEFAULT BP to if say a large index / data BP was
configured for say 3-4GB and what then would one set the
sortheap/sortheapthres to ?

Can I restore an extent size 24 tablespace onto an array with 32kb
striping without a reduction in performance ? I tried to figure the
math using extent 24 * 4 kb pages = 96 which is a multiple of the 3 *
stripe. Is that ok ?

Nov 12 '05 #1
2 3124
p175 wrote:
Hi folks,

I've tried reading just about every post I can on raid stiping / extent
size etc and I'm just getting myself more confused than ever. Here's my
situation.

On a Windows Server 2000 standard edition system with only 1gb ram
using UDB 8.2.3 Enterprise, I have an existing database that uses two
[2] raid arrays striped with 8kb. Presently the tablespaces have a
default extent of 24, default prefetch of 48 [however all are set to
automatic which a snapshot reveals is using something like prefetch
144].
Your RAID5 array has three disks for data (one for parity), each disk
holding two 4k pages in its 8k stripe. The 24 extent will grab four
stripes on each of the three disks every time an extent is allocated.

Array 1 = raid 1 and has 2 physical discs sized 36GB OS
Array 2 = raid 5 and has 4 physical discs sized 109GB

Array 1 presently stores index tablespace and logs
Array 2 presently stores the data tablespace and catalogs etc DB2 is
also installed here.

Now, I need to copy this across to another server with the following
config:

Windows Advanced Server 6GB Ram.

Two raid arrays striped with 32k [not 8 as in above].

Array 1 = raid 1, 2 discs size 9GB
Array 2 = raid 5, 4 discs size 109GB

Now I'm thinking because of space I am going to have to move the index
tablespace back to array 2 and maybe leave the logs on array 1. This
would mean Array 2 now holds data and index tablespaces.

My main concern is the change in stripe size from 8kb to 32kb,
unfortunately I am stuck with this and cannot change it. I was hoping
to perform a redirected restore from a backup but I am concerned now
about the stripe size and the impact this will have on performance.

I've managed to figure out how to use AWE and PAE extentions to get the
benefit of larger bufferpools, and could use some serious assistance in
a suggested configuration of the new server.

Would it be better now with 6GB of ram to only have a single bufferpool
for both index and data tablespaces or split the two remembering
DB2_AWE only supports apparently a single BP of large size. If split,
what ratio index BP to data BP would be the best ? Given 6GB, what
would one set the IBMDEFAULT BP to if say a large index / data BP was
configured for say 3-4GB and what then would one set the
sortheap/sortheapthres to ?
The data manager does a very good job of keeping appropriate data in a
single large pool. Multiple pools usually improve performance of some
tablespaces at the expense of others. This works great for applications
with special needs - ie. lookup tables that need to be kept in storage
to avoid disk I/O for performance or a very large table that needs to be
restricted to a small amount of buffer pool to prevent performance
impacts on the rest of the system. There's also many other reasons to
use multiple buffer pools.

The needs of your appication will determine what is best for you in the
buffer pools.

SORTHEAP/SORTHEAPTHRESH - You need to look at snapshots (or other
sources) to see how your sorts are performing. Look at the number and
percentage of sorts that are "overflow" sorts to determine that you need
to increase sortheap. Determine average and maximum number of concurrent
sorts and use these numbers and SORTHEAP size to determine a value for
SORTHEAPTHRESH.

Can I restore an extent size 24 tablespace onto an array with 32kb
striping without a reduction in performance ? I tried to figure the
math using extent 24 * 4 kb pages = 96 which is a multiple of the 3 *
stripe. Is that ok ?


The new RAID5 array will allocate one stripe on each of the three data
disks for the extent. This is a better performance match to the hardware
than the old disk subsystem.

Writes to RAID devices can cause performance problems. Writing one byte
to your RAID5 array could require reading all four disks and will
require writing two (data and parity). You also need to check the
specifications on the RAID1 array to determine when the controller
returns with a "write successful" signal. It may be after one drive has
completed or may require that both drives complete first. In both cases,
a battery backed write cache can make a big performance difference.
Uncached disk writes can easily take 10ms or longer while cached writes
should be well under 500us.
I'd also look at the following article about DB2 memory use:
http://www-128.ibm.com/developerwork...cle/dm-0406qi/
Phil Sherman

Nov 12 '05 #2
Hi Phil, thanks for the response.

The Raid Arrays are on an IBM ServeRaid 4M card with 64 battery backed
up cache set to write-back so the delays should be minimal as far as
the 'write successful' signals are concerned.

Most of the processing done in the database is index querying or
updating as a result of the index query, thus the large index BP. There
are no online users and processing is done via batch for the most part
so I do not need to worry about concurrency etc. A daily process takes
daily transactions and updates a heap of existing statistics regarding
todays activity. reports are then generated once daily with adhoc
reporting during the day.

I'll run the snapshots on it tonight during processing to see how the
changes have impacted the overall performance.

Many thanks,

Tim

Nov 12 '05 #3

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

Similar topics

6
5629
by: Bernie | last post by:
I will be doing some performance testing on financial application next month. Without going into a lot of details, I suspect I will have a potential bottleneck when writing to the log file. My hardware setup is a quad 2.8 Xeon Dell server direct attached to a DELL/EMC CX200 (Fibre channel array with 10 X 30something GB, 15,000 rpm drives, with about 1GB of memory on the array for caching. This is a benchmark environment, so I am not...
4
1923
by: wriggs | last post by:
Hi, Any suggestions on the following as I've kind of run out of ideas. I have 2 servers which are the same spec ie box, processor etc. The only difference I can tell is that the production box has raid setup but the test box hasn't (I think). I have created a stored procedure to insert 10k rows into a dummy table with two columns.
8
4788
by: Joseph | last post by:
I've been thinking about the benefits or lack thereof of deploying DMS tablespaces for RAID, say RAID 5. The point of DMS is to get reasonable size extents of contiguous disk space so that minimal seeking is done with sequential scans of data and sequential prefetching can pipeline the reading of data with its processing etc. RAID generally defeats this model of sequential scans across contiguous placed data because they stripe data...
4
4702
by: esmith2112 | last post by:
We replaced an aging system with a newer (faster 4-way) and presumably better system. Perfomance for most queries has improved as one would expect. However, we're getting slaughtered on performance for summary-style queries. What took 2 minutes now takes 2-3 hours to complete. We backed up DB and restored it on a borrowed (somewhat inferior class) box to see if we could do some diagnostics to determine why we had such horrid...
1
4096
by: Erik Hendrix | last post by:
Hi, I have some questions related to stripe sets that I'm hoping someone here can answer. 1) What happens to stripe sets when doing a database restore? Do they stay as is? 2) What happens to stripe sets when doing a redirect database restore? Will a new tablespace map be created by this and thus override the existing
35
2839
by: sacha.prins | last post by:
Hi, I read a lot about DB2 INSERT performance here. I have a nice story as well. The thing is, I work on 2 installations of DB2 (on completely different locations) which run on different (but same generation) hardware. Benchmarking the disk throughput and CPU basically amounts to the same figures (+/- 10%).
8
2225
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.
7
1947
by: Scav | last post by:
Helpful folks, I am trying to find any doc or research or studies comparing the pros and cons of architecting a DB2 disk subsystem to physically segragate index access and data access on separate spindles, as opposed to putting both index and data on one RAID group and assuming the striping will provide adequate segregation. Can anyone point me in a good direction for finding such info? Thanks in advance
5
4155
by: Mark A | last post by:
I have an OLTP database that has a tablespace that will start out at about 1 TB, but may grow to 75 TB's in size over the next 5 years. When I add new containers (on a new mount point), I want to use the BEGIN NEW STRIPE SET command to avoid rebalancing. Anyone know the maximum number of STRIPE SET's that can be created for a tablespace.
0
9641
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
10146
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...
0
9944
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
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
5378
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.