Solved

Changing Tablespace initial extent

Posted on 2008-10-28
2
1,096 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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Export table into csv file in oracle 10 97
Can't Access My Database 57 67
Use of Exception to end a Loop 3 34
PL SQL Developer 7 37
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.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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.
Via a live example, show how to take different types of Oracle backups using RMAN.

832 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