473,756 Members | 1,808 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tablespace Design

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 contain single container, say 1 container of
500MB - same tablespace size as in (a).

Is there any trade-off?

Your help will be appreciated.

Thanks.
maricel


Nov 12 '05 #1
2 2082
"maricel" <ma*****@xtra.c o.nz> wrote in message
news:SL******** ************@ne ws.xtra.co.nz.. .
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 contain single container, say 1 container of
500MB - same tablespace size as in (a).

Is there any trade-off?

Your help will be appreciated.

Thanks.
maricel

To make the most of using multiple containers, put them on different
physical hard drives (not just partitions on the same hard drive). So if you
have 2 hard drives, use two containers per tablespace. This assumes that
your drives are not already striped with RAID.

If your database is mostly OLTP or queries that access a small number of
rows via indexes, then it will not make much difference. But if you have a
IW database with a lot of tablespace scans or index scans (with prefetch
activity), optimum configuration will probably be noticeable.

Also, having large buffer pools reduces the effect that tablespace
configuration has on performance.
Nov 12 '05 #2
With such small tablespaces, it's probably unimportant. If you have a lot of
drive arrays, partitioning the table over the drives for load balancing is
good for performance. But if you only hae a small number of drive arrays,
jsut separating tables and/or logs is normally adequate. With 500MB tables,
and 36GB / 72GB size drives being the smallest modern RAID drive sizes,
you're unlikely to have the hardware for these sorts of considerations.

"maricel" <ma*****@xtra.c o.nz> wrote in message
news:SL******** ************@ne ws.xtra.co.nz.. .
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 contain single container, say 1 container of
500MB - same tablespace size as in (a).

Is there any trade-off?

Your help will be appreciated.

Thanks.
maricel

Nov 12 '05 #3

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

Similar topics

0
7480
by: sandeep G | last post by:
I've a table which has a number & a blob column, both of which are NOT NULL type. This table is composite partitioned using range & hash on the same column. Each partition is sub partitioned into two. Now if I try to move the partitions to a different tablespace I get an oracle error sayiing that ERROR: ORA_14257 cannot move partition other than a Range or Hash partition Now is there any other way to move the partition to another
1
20352
by: Jens H. Hamann | last post by:
Hi, I am having a strange problem with the storage parameters in Oracle 9.2.0.1 database. I create a tablespace with some default storage parameters but when i am adding a table to the tablespace i can not override the NEXT statement? No matter what i set the NEXT storage parameters to, it is always the same as the tablespace default, the INITIAL is overriden just fine. I have included my script below, can someone please point out what...
6
5729
by: robert | last post by:
just got out of a "class" on EXPLAIN, from a 390/v6 maven. was told that ACCESSTYPE = 'R' in the plan_table meant a TableSpace scan. hmmmm. next step up (or down, depending on your outlook) wasn't a Table Scan. thought this might be a MainFrame thing; but a look at DB2Info on my UDB 7.2 server showed the same thing. this is truly puzzling. is there an explanation of EXPLAIN which describes how to get a Table Scan???? or are we...
4
3559
by: duoduo | last post by:
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
2
28599
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
4
4647
by: Joachim Klassen | last post by:
DB2 V8.2 FP10 on Windows I tested the following HADR scenario: - a new tablespace on a new filesytem is created on the primary System - the replay on standby fails because of lacking permissions - the tablespace is backed up on the primary system - tables are created in the new tablespace and data is inserted (and a couple of logs are archived) - Takeover is done by the standby
2
2774
by: Raghava | last post by:
hi all, i was working on DB2 and came across an issue. i.e. can a tablespace be rollforwarded to POINT-IN-TIME? the scenario is as follows: i created a data base and a tablespace in it. i have enabled archival logging (enabled userexit and logretain) and changed log path to a different location. as the log path and logging method was changed, the database was in backup pending state. so, i took a complete offline backup of the
2
5337
by: vj_dba | last post by:
Hi Group, I have a problem in restoring my tablespace, my database is running in ARCHIVAL logging, I created a tablespace, did some transaction, then took the ONLINE BACKUP of the tablespace. Then I dropped the tablespace and tried to restore from the tablespace backup image, when I do this it's throwing error SQL2549N The database was not restored because either all of the table spaces
1
1400
by: Michel Esber | last post by:
Hi all, DB2 LUW v8 FP15 Is there any performance overhead if a table is created on data and index tablespaces with different page sizes ? What kind of penalty is expected ? Sample Layout:
0
9456
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
9275
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
10034
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...
1
9843
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,...
0
9713
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
8713
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
7248
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
5142
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
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.