You can convert DMTs to LMTs using DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL. There are a few limitations relating to space allocation when using this method. It's actually better to create a new tablespace and move the contents across to it.
At the time of creating the database I did not create Undo Tablespace. Then after installation I tried below options, Can you please tell me which process is correct.
1. I update my init parameter file with
UNDO_MANAGEMENT=Auto
UNDO_TABLEPSACE= undotbs01
UNDO_RETENTION=900
and created a Undo tablespace too.
Then I startup my database. Is it fine? Will it work?
2. Else tried thru SPFILE...
alter system set UNDO_MANAGEMENT=auto
comment='Making Undo tablespace'
Scope=SPFILE;
I am getting this error ' ORA-32001: write to SPFILE requested but no SPFILE specified at startup'
If the ALTER SYSTEM SET .... SCOPE=SPFILE fails it means you are using an init.ora file. In this case the changes to the init.ora file will be picked up the next time you restart the instance.
If you want to start using an spfile you should check out:
After the completion of Oracle 9i database creation, can I make the database 'Extent Management Local' and 'define Undo tablespace' later.
Thanks
There's another option: let the Oracle Database Configuration Assistent create batch files when you design a database. Edit the scripts that are called from the create batch file and alter your 'Extent Management Local' and 'Undo tablespace'-information there. After that run the batch file...
An expert is one who knows more and more about less and less until he knows absolutely everything about nothing.
Bookmarks