niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Server
Transporting Dictionary Managed Tablespace to 10g
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
thtsang_yh@yahoo.com.hk
*nix forums beginner


Joined: 02 Jun 2005
Posts: 7

PostPosted: Fri Jul 21, 2006 4:24 am    Post subject: Transporting Dictionary Managed Tablespace to 10g Reply with quote

I am migrating some 8i data to 10g R2. The tablespaces in 8i database
are dictionary managed. For the 10g, everything is locally managed.

I used transportable tablespace export / import and was able to plug
the tablespace from 8i to 10g. The problem is that the tablespaces are
read only after TTS import. When I try to turn it read write:

SQL> alter tablespace traind read write;
alter tablespace traind read write
*
ERROR at line 1:
ORA-12915: Cannot alter dictionary managed tablespace to read write


Trying to turn it to LMT:

SQL> exec dbms_space_admin.tablespace_migrate_to_local('TRAIND');
BEGIN dbms_space_admin.tablespace_migrate_to_local('TRAIND'); END;

*
ERROR at line 1:
ORA-03245: Tablespace has to be dictionary managed, online and
permanent to be
able to migrate
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1

So it needs to be locally managed to make it read write, but to make it
read write, it must be locally managed.

Any solution? I dare not touch the 8i database.
Back to top
Sybrand Bakker
*nix forums Guru


Joined: 03 Apr 2005
Posts: 1766

PostPosted: Fri Jul 21, 2006 5:19 am    Post subject: Re: Transporting Dictionary Managed Tablespace to 10g Reply with quote

On 20 Jul 2006 21:24:58 -0700, thtsang_yh@yahoo.com.hk wrote:

Quote:
I am migrating some 8i data to 10g R2. The tablespaces in 8i database
are dictionary managed. For the 10g, everything is locally managed.

I used transportable tablespace export / import and was able to plug
the tablespace from 8i to 10g. The problem is that the tablespaces are
read only after TTS import. When I try to turn it read write:

SQL> alter tablespace traind read write;
alter tablespace traind read write
*
ERROR at line 1:
ORA-12915: Cannot alter dictionary managed tablespace to read write


Trying to turn it to LMT:

SQL> exec dbms_space_admin.tablespace_migrate_to_local('TRAIND');
BEGIN dbms_space_admin.tablespace_migrate_to_local('TRAIND'); END;

*
ERROR at line 1:
ORA-03245: Tablespace has to be dictionary managed, online and
permanent to be
able to migrate
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1

So it needs to be locally managed to make it read write, but to make it
read write, it must be locally managed.

Any solution? I dare not touch the 8i database.

create a new locally managed tablespace in the 8i database.
Set up a new user, with the locally managed tablespace as default
tablespace
exp/imp fromuser= touser the old tables.
Now plug in the locally managed tablespace in 10g.

--
Sybrand Bakker, Senior Oracle DBA
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 1:48 pm | All times are GMT
navigation Forum index » Databases » Oracle » Server
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Anyone managed to install policyd on x86_64 and mySQL 5.0x? SupaDucta Postfix 5 Mon Nov 13, 2006 3:18 am
No new posts Dictionary question Brian Elmegaard python 7 Tue Jul 18, 2006 11:33 am
No new posts Persistant dictionary with lockable elements Will McGugan python 1 Wed Jul 12, 2006 2:47 pm
No new posts Tablespace - mysteriously lost pages. Konstantin Andreev IBM DB2 6 Mon Jul 10, 2006 7:26 pm
No new posts Urgent call, user managed recovery Lanying & Manfred Server 2 Mon Jul 10, 2006 6:30 pm

Mortgages | Buy Anything On eBay | Personal Finance | Remortgages | Bad Credit Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1160s ][ Queries: 16 (0.0352s) ][ GZIP on - Debug on ]