Operating System - HP-UX
1748169 Members
3895 Online
108758 Solutions
New Discussion

Re: Locally Managed Tablespaces

 
SOLVED
Go to solution
Yogeeraj_1
Honored Contributor

Re: Locally Managed Tablespaces

hi,

question 1.
I prefer pctincrease = 0, initial=next. A locally managed tablespace with uniform extents makes that the "de-facto" rule, you cannot subvert it as you can with a dictionary managed tables. It totally avoids fragmentation -- it is impossible to have fragmentation in these tablespaces.

Also note that, Locally managed tablespaces are much faster at allocating and de-allocating extents - many order of magnitudes faster.

Remember that, Locally managed tablespaces decrease contention on the data dictionary.

question 2.
I put them in to "small", "medium" and "large" tablespaces based on my guess as to how big or small they will end up.

I use the following:
------------------------------------------------------------
Uniform Size Autoextend Striped
Extent Maxsize over disks
------------------------------------------------------------
tbs_lmt_small 64K 10M 50M all disks
tbs_lmt_medium 1024K 100M 1024M all disks
tbs_lmt_large 10M 1024M 2048M all disks

You may have many combinations of those!

hope this helps!

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)