473,413 Members | 1,875 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,413 software developers and data experts.

multiple tablespaces containers on SAN

Hi,
i want to know if this is better to split a tablespace into several
containers while the database are on san disk.
And how can i configure optimally the values for prefetch and extend ?

thx
Oct 27 '06 #1
5 2385
Lew
I would say the answer is almost always yes. How you set it up exactly
depends on the way your logical disk volumes and file systems are
mapped to the backend storage packs. The values for prefetch and
extentsize are somewhat (but not entirely) related to how the data will
be accessed.

Lew

paul wrote:
Hi,
i want to know if this is better to split a tablespace into several
containers while the database are on san disk.
And how can i configure optimally the values for prefetch and extend ?

thx
Oct 27 '06 #2
Ian
paul wrote:
Hi,
i want to know if this is better to split a tablespace into several
containers while the database are on san disk.
Assuming you have DB2_PARALLEL_IO set properly (to enable DB2 to issue
multiple I/O requests to each container) then the answer is no.
Spreading your tablespace across multiple containers in the same
file system will result in I/O contention at the disk level.

Use 1 container per RAID array in the SAN device (note, multiple LUNs
may exist on a single RAID array, so make sure you understand the
mapping from file system -LUN -RAID array).
And how can i configure optimally the values for prefetch and extend ?
Extent size should be set to the strip size (or a multiple thereof) of
the RAID arrays in your SAN device. Prefetch should be set to ensure
that all disks are serving data for a prefetch request.

Oct 27 '06 #3
hi
thanks for your comment, i'll check this with the san administrator

paul

"Ian" <ia*****@mobileaudio.comwrote in message
news:zG***************@newsfe08.phx...
paul wrote:
Hi,
i want to know if this is better to split a tablespace into several
containers while the database are on san disk.

Assuming you have DB2_PARALLEL_IO set properly (to enable DB2 to issue
multiple I/O requests to each container) then the answer is no.
Spreading your tablespace across multiple containers in the same
file system will result in I/O contention at the disk level.

Use 1 container per RAID array in the SAN device (note, multiple LUNs
may exist on a single RAID array, so make sure you understand the
mapping from file system -LUN -RAID array).
And how can i configure optimally the values for prefetch and extend ?

Extent size should be set to the strip size (or a multiple thereof) of
the RAID arrays in your SAN device. Prefetch should be set to ensure
that all disks are serving data for a prefetch request.

Oct 30 '06 #4


Use 1 container per RAID array in the SAN device (note, multiple LUNs
may exist on a single RAID array, so make sure you understand the
mapping from file system -LUN -RAID array).
The DB2 publications continue to advise to use one container per
tablespace when using RAID devices.

Is that always the best advice ?

Oct 31 '06 #5
"mike" <_l*****@yahoo.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
>Use 1 container per RAID array in the SAN device (note, multiple LUNs
may exist on a single RAID array, so make sure you understand the
mapping from file system -LUN -RAID array).

The DB2 publications continue to advise to use one container per
tablespace when using RAID devices.

Is that always the best advice ?

Probably is the correct advise for most systems, depending on the throughout
of you RAID controller.

However, unless you have a data warehouse and are doing a lot of table
scans, it doesn't matter much, one way or the other. Check your buffer pool
hit ratio, and if it is above 95%, don't even worry about it.
Oct 31 '06 #6

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

Similar topics

3
by: Lew | last post by:
Hi, I was wondering if there is a way to determine the tablespace id of each tablespace on a backup image. I want to perform a redirected restore pointing the tablespace containers to...
1
by: Christos Kalantzis | last post by:
Hi Everyone, I have a question about tablespaces.... Does having Multiple tablespaces (ie..one for indexes, one for large tables and one for smaller tables) realy help out performance...
0
by: sethwai | last post by:
Hi, A friend of mine inheritted a system that had 2 4k temp tablespaces each assigned to a different bufferpool. This brought up a number of questions for me. 1) Does anyone know in general...
10
by: rAinDeEr | last post by:
Hi, I am trying to create around 70 tablespaces for around 100 tables.. Am using DB2 UDB 8.2 in Linux environment... This is one i generated through Control centre.... CREATE REGULAR...
3
by: dcruncher4 | last post by:
DB2 8.2.3 the task I have is to write a script to restore a database from a backup on to another machine. the backup can be as old as seven years. The container layout on the machine to be...
4
by: beena | last post by:
All, I'm new to the concept of automatic storage... I'm looking at the database setup by a vendor. I see few tablespaces showing up with automatic storage - Yes. Tablespace ID ...
8
by: alexhguerra | last post by:
Hello If im not missing something, when looking into directories that are SMS containers i can see multiple files, one for table data, one for indexes and other for lobs. Is there any special...
2
by: daiesy.ember | last post by:
So I have a good-sized db (~500GB) that's on only SMS tablespaces(ugh, I know). I'm tight on space and keeping an eye using the get_dbsize_info function - but the DATABASECAPACITY value keeps...
6
by: Troels Arvin | last post by:
Hello, I have recently run a rather large data import where the imported data i pumped through some updatable views equipped with INSTEAD OF triggers. For various reasons, the exact same data...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...

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.