Solved

Changing Tablespace initial extent

Posted on 2008-10-28
2
1,090 Views
Last Modified: 2013-12-19
Hi
I have created a tablespace as follows:
create tablespace MD_DATA
datafile'/opt/app/oradata01/HMPROD/jmd_data_01.dbf' size 30000m
blocksize 32k
extent management local autoallocate;

The tablesapce has about 48 datafiles total 1.5 Terabytes

How can I change the  initial_extent to 32 M and allocation_type to uniform without dropping and recreate
the tablespace with all of the datatypes?

0
Comment
Question by:ablakios
2 Comments
 
LVL 23

Expert Comment

by:David
ID: 22825215
I may have to try this, ablakios -- but I'm reasonably certain an initial check and allocation cannot be modified in 10g or earlier.  Here's the syntax:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3002.htm#SQLRF01002
 
0
 
LVL 11

Accepted Solution

by:
mohammadzahid earned 250 total points
ID: 22825992
It is not possible to alter initial extent after tablespace is created and data allocation on a tablespace is greater than 32MB in your case.

Why do you want to create an initial extent of 32MB? When datafile count = 48. what type of performance gain you have in mind by creating an initial extent of 32MB?

I suggest, create a new tablespace with initial extent size of 32MB and use transportable tablespace to move datafiles to a new tablespace.


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

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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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 how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

762 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

19 Experts available now in Live!

Get 1:1 Help Now