Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Moving data to tablespace with new name

RE: Moving data to tablespace with new name

From: Lex de Haan <lex.de.haan_at_naturaljoin.nl>
Date: Thu, 30 Jun 2005 16:34:07 +0200
Message-Id: <20050630142409.773183E23@node42.naturaljoin.lan>


if you make sure that the new (intended) destination tablespace is set as the default tablespace for the user performing the import, and if you make sure the importing user also has sufficient quota on that tablespace, import will create the tables in the new tablespace.

in general, if the create table command fails during import because the tablespace doesn't exist, the tables are crteated in the importing user's default tablespace. so you just have to make sure that there is no tablespace in the destination database with the original name. hope this helps,

kind regards,

Lex.  



Steve Adams Seminar http://www.naturaljoin.nl/events/seminars.html

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of J. Dex
Sent: Thursday, June 30, 2005 16:17
To: oracle-l_at_freelists.org
Subject: Moving data to tablespace with new name

We want to move application data from one database to another. However, in the new database we want to change the tablespace names so that they follow a new naming convention. What is the easiest/most efficient way of doing this?

If we initially change the tablespace names and then try and do an import, won't the import fail?
Is there an easy way to create a new tablespace and copy everything into it and then drop the old tablespace?

The original database is 8.1.7.4. We want to try and copy into one 8.1.7.4 database and one 9.2.0.6. They original database is on a seperate server than the two new databases (the OS's are all Solaris).



Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--

http://www.freelists.org/webpage/oracle-l


--

http://www.freelists.org/webpage/oracle-l Received on Thu Jun 30 2005 - 10:39:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US