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

Home -> Community -> Usenet -> c.d.o.server -> Re: wrong tablespace

Re: wrong tablespace

From: Byron Pearce <bpearce_at_csac.com>
Date: 1997/08/02
Message-ID: <33E3EB9E.698C51C9@csac.com>#1/1

Sunil Jayasinghe wrote:

> How can I move some tables and indexes from system tablespace ( where
> they
> should't be) to some other (users) tablespace?
> I tried to export the user, then edit the export file and replace all
> the
> "create table .... tablespace 'SYSTEM' "
> with "tablespace 'USERS' " and then import the user. That works O.K.
> but
> I would like to find out a better way to deal with it.
> Thanx
> sunil.jayasinghe_at_probanka.si

Export all of the tables, etc. from the SYSTEM tablespace that you want to move. Then recreate the objects in USERS and perform an import with the ignore=y option. This will load the data into the newly created objects.

--
====================================================================
Byron Pearce                         mailto:bpearce_at_csac.com
Systems Consultant                   http://www.csac.com
Computer Systems Authority (CSA)     Dallas, Texas

"It's hard to be a ninja when you wear a beeper."
Received on Sat Aug 02 1997 - 00:00:00 CDT

Original text of this message

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