Solved

Uniform Size in Local Extent Management

Posted on 2001-08-12
2
2,238 Views
Last Modified: 2008-10-13
I want to create two tablespaces, one for big tables (can grow upto 10G of data a year), and one small tables.

Which uniform extent sizes are appropriate for those tablespaces if I use local extent management?

Here are my two sample SQLs.

CREATE TABLESPACE SMALL_DATA
DATAFILE 'SMALL_DATA.dbf' SIZE 1024M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K;

CREATE TABLESPACE BIG_DATA
DATAFILE 'SMALL_DATA.dbf' SIZE 2056M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128M;

Thanks
0
Comment
Question by:winzaw
2 Comments
 
LVL 3

Accepted Solution

by:
p_yaroslav earned 40 total points
ID: 6378760
Hello!

Both statements appopriate,but....

If all big tables may increase in size up to 10 Gb,  extent size must be bigger (for example 1Gb). But if in this tablespace may appear tables with lower size, of course you need decrease uniform size to most small table in tablespace.

Also and for small tablespace.

AFAIK.. the best is 8-12 extents for every table.

Best regards!
Yaroslav.
0
 

Expert Comment

by:rcs2010
ID: 6379406
do you mean 1 table can grow up to 10gb a year, if so have you considered partitioning the table and using multiple tablespaces for it.

If you want a 10gb+ tablespace are you using multiple datafiles if so the extent size should fit into the datafile size as near as possilbe an even multiple of times
eg extent 128mb datafile size 2100mb. minimising the wasted space.

you may also need to consider recovery times for a tablespace this large.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to recover a database from a user managed backup
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now