Solved

Changing Tablespace initial extent

Posted on 2008-10-28
2
1,114 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses

623 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