Solved

Uniform Size in Local Extent Management

Posted on 2001-08-12
2
2,259 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
database upgrade 8 118
Component is listed with a Protocol more than once 3 42
upgrading Oracle 10g/ 11g / 11g R2 to Oracle 12c 25 74
ER Diagram 3 21
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

808 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