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
Solved

Changing Tablespace initial extent

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

861 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