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

how many tablespaces

Hi ,

We will have about 50 tables. Some tables will be huge (severel
million rows) and some are small but most of them will have about a
million rows. For best performance of the database, how many
tablespace should I have. I was thinking of using Locally Managed
tablespaces (uniform extents) for both data and indexes.

Can anyone share some experiences? Any other tips on layout of the
database will be appreciated. Thanks

Vissu
Jul 19 '05 #1
3 2688

"Vissu" <vi*****@yahoo.com> wrote in message
news:2b**************************@posting.google.c om...
Hi ,

We will have about 50 tables. Some tables will be huge (severel
million rows) and some are small but most of them will have about a
million rows. For best performance of the database, how many
tablespace should I have. I was thinking of using Locally Managed
tablespaces (uniform extents) for both data and indexes.

Can anyone share some experiences? Any other tips on layout of the
database will be appreciated. Thanks

Vissu

What version? Use locally managed with auto managed extents and put the
data all in one tablespace.
Jim
Jul 19 '05 #2
"Jim Kennedy" <ke****************************@attbi.net> wrote in message news:<Tly1c.112729$4o.138921@attbi_s52>...
"Vissu" <vi*****@yahoo.com> wrote in message
news:2b**************************@posting.google.c om...
Hi ,

We will have about 50 tables. Some tables will be huge (severel
million rows) and some are small but most of them will have about a
million rows. For best performance of the database, how many
tablespace should I have. I was thinking of using Locally Managed
tablespaces (uniform extents) for both data and indexes.

Can anyone share some experiences? Any other tips on layout of the
database will be appreciated. Thanks

Vissu

What version? Use locally managed with auto managed extents and put the
data all in one tablespace.
Jim


How many tablespaces you should use to support your database depends
on the expected size and number of your objects and the organization
of your disk farm.

I greatly favor organizing most applications into large and small
object tablespaces. Generally two sizes will work for everything.
The best sizes depend on the objects involved.

I do not like autoallocate because it still can suffer from the free
space fragmentation problem while a properly sized uniform extent
tablespace will never suffer this problem. The only time I think
autoallocate is useful is where you install a canned package and the
vendor places everything into a single tablespace (usually the
application owner default tablespace).

It all comes down to judgment on which arrangement will provide the
most effective managment options.

IMHO -- Mark D Powell --
Jul 19 '05 #3

"Mark D Powell" <Ma*********@eds.com> wrote in message
news:26**************************@posting.google.c om...
| "Jim Kennedy" <ke****************************@attbi.net> wrote in message
news:<Tly1c.112729$4o.138921@attbi_s52>...
| > "Vissu" <vi*****@yahoo.com> wrote in message
| > news:2b**************************@posting.google.c om...
| > > Hi ,
| > >
| > > We will have about 50 tables. Some tables will be huge (severel
| > > million rows) and some are small but most of them will have about a
| > > million rows. For best performance of the database, how many
| > > tablespace should I have. I was thinking of using Locally Managed
| > > tablespaces (uniform extents) for both data and indexes.
| > >
| > > Can anyone share some experiences? Any other tips on layout of the
| > > database will be appreciated. Thanks
| > >
| > > Vissu
| > What version? Use locally managed with auto managed extents and put the
| > data all in one tablespace.
| > Jim
|
| How many tablespaces you should use to support your database depends
| on the expected size and number of your objects and the organization
| of your disk farm.
|
| I greatly favor organizing most applications into large and small
| object tablespaces. Generally two sizes will work for everything.
| The best sizes depend on the objects involved.
|
| I do not like autoallocate because it still can suffer from the free
| space fragmentation problem while a properly sized uniform extent
| tablespace will never suffer this problem. The only time I think
| autoallocate is useful is where you install a canned package and the
| vendor places everything into a single tablespace (usually the
| application owner default tablespace).
|
| It all comes down to judgment on which arrangement will provide the
| most effective managment options.
|
| IMHO -- Mark D Powell --

also should take into consideration grouping segments for similar
availability / back-up schedules / transportability / read-only and similar
tablespace-specific operations

;-{ mcs
Jul 19 '05 #4

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

Similar topics

1
by: CK | last post by:
Need a piece of advice on allocation of tablespaces for partitioning We are using a day level range-based approach as our parititiong scheme given that we have data inflows running into 15...
8
by: Joachim Mueller | last post by:
Have written a litte sql for showing the utilization of the tablespace. (found it within the newsgroup from Paul Vernon). Looks fine for an one Partition System only. But how i can I see on which...
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...
6
by: mike_dba | last post by:
Can anyone tell me why a EEE system might be created to have two separate tablespaces with the same 4k pagesize ? They both appear to be in use as I can see the underlying files being modified. ...
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...
1
by: rAinDeEr | last post by:
Hi, Am trying to create the DDL statements of a database using $ db2look -d TESTDB -e -z db2tar -i testiii -w test123 -m -o db2look.sql I get all the useful information except that of the...
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 ...
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.