Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Uniform Size in Local Extent Management

Posted on 2001-08-12
2
Medium Priority
?
2,320 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 120 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Suggested Courses

783 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