Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to move tables from one tablespace to another (Oracle 7.3.4)
Not sure if anyone emailed you about this yet, but:
Depending on how big the table is... there are two ways (that I know of) 1.a CREATE <table_name> AS SELECT * FROM <table_to_go_to_new_tablespace> TABLESPACE <new_tablespace_name>
1.b DROP TABLE <old_table>;
1.c RENAME TABLE <moved_table> TO <original_name>; (Not sure if that's the correct syntax.)
This methods nice 'cause you always have a backup.
2.a EXPORT your table. 2.b IMPORT show=y full=y logfile=filename 2.c edit the logfile so that the table creation script uses the differenttablespace.
2.d DROP TABLE <old_table>; 2.e Run the script you edited. 2.f IMPORT ignore=y
HTH Lyall Barbour
------Original Message------
From: ALEMU Abiy <abiy.alemu_at_criltechnology.com>
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Sent: April 28, 2000 2:08:19 AM GMT
Subject: How to move tables from one tablespace to another (Oracle 7.3.4)
What is the easiest method to move tables from one tablespace to another. I think that it's not as simple as moving indexes but I would like to have a step-by-step method . Thank you in advance friends !!!
-- Author: ALEMU Abiy INET: abiy.alemu_at_criltechnology.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). ______________________________________________ FREE Personalized Email at Mail.comReceived on Sun Apr 30 2000 - 23:16:50 CDT
![]() |
![]() |