Title: RE: Move table to another tablespace

Various options available
) If using 8.1.7 then ALTER TABLE X MOVE TABLESPACE NEW should do it. Remember to rebuild any indexes afterwards

2)Export table rows =y grants=y indexes=y etc then drop the table. Create table in new tablespace (get syntax from
imp file=x.dmp full=y indexfile=newtab.ind). Then run an import with the ignore existing objects set to Y.

3)create temp table in new tablespace by using create table new as select * from old;. Drop old table (or rename it) then rename the new table to the same name as the original one. Will need to check grants synonynms and recreate indexes.

John
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 25 October 01 12:00
To: Multiple recipients of list ORACLE-L
Subject: Move table to another tablespace


Hallo,

Can you please tell how to move one table from one tablespace to another? I have data inthistable.

Thanks in advance

Roland Sköldblom





--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



**********************************************************************
This email and any attachments may be confidential and the subject of
legal professional privilege. Any disclosure, use, storage or copying
of this email without the consent of the sender is strictly prohibited.
Please notify the sender immediately if you are not the intended
recipient and then delete the email from your inbox and do not
disclose the contents to another person, use, copy or store the
information in any medium.
**********************************************************************

Reply via email to