473,397 Members | 2,033 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,397 software developers and data experts.

tablespace container design

I want to know one thing, what is best design for tablespace
containers, of course, it is DB2 EE 7.2 on AIX 4.3.3.

For example, I have RAID 0+1 storage (8 disks) on EMC Symmetrix. Now I
need to create a 64GB tablespace on this EMC RAID. Which of the
following is the best way from performance perspective?

(1) 1 64GB container

(2) 4 * 16GB containers

(3) 8 * 8GB containers
Nov 12 '05 #1
4 3535
Your RAID architecture (0+1) presents these disks to the system as a
single disk drive containing four physical drives using striping to
spread the data on them.

Which do you think is better - a single container on a drive or eight
small containers on a drive? I'd go with a single large container to
avoid seeks switching between containers. If read access is your primary
concern; then the +1 RAID should facilitate using two containers. In
this case; you would be able to read from both copies concurrently.
Other considerations would be a future need to expand the tablespace and
potential operating system buffering effects of having large files enabled.

The best answer I know of for your question is: it depends on the
workload and performance objectives.
Phil Sherman

duoduo wrote:
I want to know one thing, what is best design for tablespace
containers, of course, it is DB2 EE 7.2 on AIX 4.3.3.

For example, I have RAID 0+1 storage (8 disks) on EMC Symmetrix. Now I
need to create a 64GB tablespace on this EMC RAID. Which of the
following is the best way from performance perspective?

(1) 1 64GB container

(2) 4 * 16GB containers

(3) 8 * 8GB containers


Nov 12 '05 #2
Thanks, Philip, I really appreciate your comments.
Philip Sherman <ps******@ameritech.net> wrote in message news:<Ff****************@newssvr15.news.prodigy.co m>...
Your RAID architecture (0+1) presents these disks to the system as a
single disk drive containing four physical drives using striping to
spread the data on them.

Which do you think is better - a single container on a drive or eight
small containers on a drive? I'd go with a single large container to
avoid seeks switching between containers. If read access is your primary
concern; then the +1 RAID should facilitate using two containers. In
this case; you would be able to read from both copies concurrently.
Other considerations would be a future need to expand the tablespace and
potential operating system buffering effects of having large files enabled.

The best answer I know of for your question is: it depends on the
workload and performance objectives.
Phil Sherman

duoduo wrote:
I want to know one thing, what is best design for tablespace
containers, of course, it is DB2 EE 7.2 on AIX 4.3.3.

For example, I have RAID 0+1 storage (8 disks) on EMC Symmetrix. Now I
need to create a 64GB tablespace on this EMC RAID. Which of the
following is the best way from performance perspective?

(1) 1 64GB container

(2) 4 * 16GB containers

(3) 8 * 8GB containers

Nov 12 '05 #3

Since you will be using Aix 4 I would only go with your option "(1) 1 64GB
container " if your are certain that it will never be bigger since 64GB file
on Aix 4 would be a "physical" limitation.

"duoduo" <du*********@gmail.com> wrote in message
news:d3**************************@posting.google.c om...
Thanks, Philip, I really appreciate your comments.
Philip Sherman <ps******@ameritech.net> wrote in message
news:<Ff****************@newssvr15.news.prodigy.co m>...
Your RAID architecture (0+1) presents these disks to the system as a
single disk drive containing four physical drives using striping to
spread the data on them.

Which do you think is better - a single container on a drive or eight
small containers on a drive? I'd go with a single large container to
avoid seeks switching between containers. If read access is your primary
concern; then the +1 RAID should facilitate using two containers. In
this case; you would be able to read from both copies concurrently.
Other considerations would be a future need to expand the tablespace and
potential operating system buffering effects of having large files
enabled.

The best answer I know of for your question is: it depends on the
workload and performance objectives.
Phil Sherman

duoduo wrote:
> I want to know one thing, what is best design for tablespace
> containers, of course, it is DB2 EE 7.2 on AIX 4.3.3.
>
> For example, I have RAID 0+1 storage (8 disks) on EMC Symmetrix. Now I
> need to create a 64GB tablespace on this EMC RAID. Which of the
> following is the best way from performance perspective?
>
> (1) 1 64GB container
>
> (2) 4 * 16GB containers
>
> (3) 8 * 8GB containers

Nov 12 '05 #4
Dany, Thanks for your reply.

You are definitely right. JFS on AIX 4 has a 64GB file size
limitation, and I also have a 64GB 4k page size tablespace as well. I
am doing the test to migration the DB2 from 7.2 to 8.1 and AIX 4.3.3
to AIX 5L. Currently I am living on AIX 4.3.3

"Dany" <da******@videotron.ca> wrote in message news:<ci*********@news1.stadia.fi>...
Since you will be using Aix 4 I would only go with your option "(1) 1 64GB
container " if your are certain that it will never be bigger since 64GB file
on Aix 4 would be a "physical" limitation.

"duoduo" <du*********@gmail.com> wrote in message
news:d3**************************@posting.google.c om...
Thanks, Philip, I really appreciate your comments.
Philip Sherman <ps******@ameritech.net> wrote in message
news:<Ff****************@newssvr15.news.prodigy.co m>...
Your RAID architecture (0+1) presents these disks to the system as a
single disk drive containing four physical drives using striping to
spread the data on them.

Which do you think is better - a single container on a drive or eight
small containers on a drive? I'd go with a single large container to
avoid seeks switching between containers. If read access is your primary
concern; then the +1 RAID should facilitate using two containers. In
this case; you would be able to read from both copies concurrently.
Other considerations would be a future need to expand the tablespace and
potential operating system buffering effects of having large files
enabled.

The best answer I know of for your question is: it depends on the
workload and performance objectives.
Phil Sherman

duoduo wrote:
> I want to know one thing, what is best design for tablespace
> containers, of course, it is DB2 EE 7.2 on AIX 4.3.3.
>
> For example, I have RAID 0+1 storage (8 disks) on EMC Symmetrix. Now I
> need to create a 64GB tablespace on this EMC RAID. Which of the
> following is the best way from performance perspective?
>
> (1) 1 64GB container
>
> (2) 4 * 16GB containers
>
> (3) 8 * 8GB containers

Nov 12 '05 #5

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

Similar topics

4
by: Ulrich Sprick | last post by:
Hi all, (DB2 V7.1 for WinNT) I am looking for a way to determine the free space in my tablespace (containers), but I can't find out. The tablespace in question is a system managed tablespace in...
2
by: maricel | last post by:
Which one is better in terms of producing optimum performance: a) Single tablespace that contain multiple containers, say 5 containers of 100MB each container or b)Single tablespace that that...
2
by: Stanley Sinclair | last post by:
About to create a table which will "include" a BLOB. Am not sure how large to make the container and the tablespace. What I see says that BLOB is stored "separately." However, I don't know...
8
by: Amy DBA | last post by:
OK, I'm stumped now. I need help restoring a tablespace that has been marked offline. Here's a little background on the problem: 1) There was a hardware failure that caused the tablespace to...
4
by: mairhtin o'feannag | last post by:
Hello, I have a tablespace striped across three drives, call them 1,2,3, just to be clever. :) I allocated a lot more space (DMS) than I should have, since I didn't know a way to estimate the...
4
by: cbielins | last post by:
One of our tablespaces is in an offline state: Tablespace ID = 9 Name = xxx_xxxx Type = Database managed...
0
by: Lan W via DBMonster.com | last post by:
I tried to restore DB2 UDB two databases into two different instances on AIX server. the raw devices size of rShortSpace0 and rShortSpace1 on the two instances are the same. # lsvg -l datavg...
6
by: Konstantin Andreev | last post by:
Hello, all. Let the tablespace SY810T4K is almost full: --------------- db2 =list tablespaces show detail ... Name = SY810T4K Type = Database managed space Contents...
4
by: Michel Esber | last post by:
Hello, LUW V8 FP 11 running Linux RH AS4 Update 3. In regards to performance and IO parallelism, does it matter if I create a tablespace with a single big container, or is it better to create...
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: 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
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...
0
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,...

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.