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: MOVE Tables from One Tablespace to Another Tablespace !!

RE: MOVE Tables from One Tablespace to Another Tablespace !!

From: Grabowy, Chris <cgrabowy_at_fcg.com>
Date: Tue, 21 Aug 2001 07:02:02 -0700
Message-ID: <F001.003721B4.20010821060610@fatcity.com>

Saroj,

And use the ALTER TABLE xxx REBUILD command to rebuild the indexes for the tables that were moved. This is because the "moved" table's records now have new rowids, which of course, do not match with what is in the indexes. You can verify this. After moving the tables, check the status of your indexes. If the index is status'ed as "UNUSABLE" then it needs to be rebuilt.

Good luck!! HTH.

Chris
"May Oracle be with you...always"

-----Original Message-----
Sent: Tuesday, August 21, 2001 5:56 AM
To: Multiple recipients of list ORACLE-L

Hi,
  in the 2nd option ,
    you have to use move instead of default.  i.e. alter table tablename move tablespace tablespacename

rukmini
----- Original Message -----
To: <ORACLE-L_at_fatcity.com>
Sent: Tuesday, August 21, 2001 1:51 PM

> Hi,
>
> 1. Export the tables in 1st tablespace
> 2. drop the tables from 1st tablespace
> 2. import the tables into 2nd tablespace
> or
> alter table tablename default tablespace tablespacename
>
> rukmini
>
> ----- Original Message -----
> From: "Dash, Saroj (CAP,CEF)" <Saroj.Dash_at_gecapital.com>
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Tuesday, August 21, 2001 1:45 PM
> Subject: MOVE Tables from One Tablespace to Another Tablespace !!
>
>
> >
> > Hello All,
> >
> >
> > Please tell me the detailed steps to move tables from one tablespace to
> > another tablespace.
> >
> > Regards,
> > Saroj.
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Dash, Saroj (CAP,CEF)
> > INET: Saroj.Dash_at_gecapital.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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rukmini Devi
  INET: rukmini_at_indbrain.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Grabowy, Chris
  INET: cgrabowy_at_fcg.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).
Received on Tue Aug 21 2001 - 09:02:02 CDT

Original text of this message

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