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 tables to a different tablespace

RE: moving tables to a different tablespace

From: Kevin Lange <kgel_at_ppoone.com>
Date: Thu, 26 Jul 2001 14:41:44 -0700
Message-ID: <F001.00356A12.20010726144525@fatcity.com>

I am sure someone answered already ... but

The tablespace is associated with the table create statement in the import file. If you created the structures of the tables in the tablespace that you wanted BEFORE you import the file and specify ignore errors then the tables would be loaded into the correct tablespace.

If you had a tool such as Toad you could do it easier without having to perform the import/export move. There is an option on it to rebuild tables. Just specify a different table space name.

-----Original Message-----
Sent: Thursday, July 26, 2001 12:51 PM
To: Multiple recipients of list ORACLE-L

Hi Group,
Please explain what I am doing wrong.
1) exp outln/outln_at_webprod <mailto:outln/outln_at_webprod> file=exp_file tables = 'OL$' 'OL$HINTS'

2)      Dropped the tables: 'OL$' and 'OL$HINTS' on webprod
3)      Created tablespace outln_ts on webprod
4)      Altered user outln default tablespace outln_ts
5)      imp outln/outln_at_webprod <mailto:outln/outln_at_webprod>  file=exp_file
tables = 'OL$' 'OL$HINTS'
6)      SQL> select table_name, tablespace_name
                       from dba_tables 
                       where owner = 'OUTLN';

                      TABLE_NAME                     TABLESPACE_NAME
                    ------------------------------
------------------------------
                             OL$                                    SYSTEM
                             OL$HINTS                           SYSTEM
                             XX

OUTLN_TS WHY are the tables being re-imported back into SYSTEM tablespace ????

Oracle 8.1.7 on Sun Solaris 5.7

TIA Al Rusnak
804-734-8453
rusnakga_at_hqlee.deca.mil

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Rusnak, George A.
  INET: rusnakga_at_hqlee.deca.mil

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: Kevin Lange
  INET: kgel_at_ppoone.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 Thu Jul 26 2001 - 16:41:44 CDT

Original text of this message

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