|
|
|
|
|
|
| Author |
Message |
thtsang_yh@yahoo.com.hk *nix forums beginner
Joined: 02 Jun 2005
Posts: 7
|
Posted: Fri Jul 21, 2006 4:24 am Post subject:
Transporting Dictionary Managed Tablespace to 10g
|
|
|
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
|
Posted: Fri Jul 21, 2006 5:19 am Post subject:
Re: Transporting Dictionary Managed Tablespace to 10g
|
|
|
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 |
|
 |
|
|
The time now is Sun Nov 23, 2008 1:48 pm | All times are GMT
|
|
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
|
|