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 "LOBINDEX" etc from "DATA" tablespace to "SYSTEM" tables

RE: Move "LOBINDEX" etc from "DATA" tablespace to "SYSTEM" tables

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Thu, 22 Mar 2001 17:48:19 -0800
Message-ID: <F001.002D592A.20010322173529@fatcity.com>

see answer below

> -----Original Message-----
> From: Guang Mei [mailto:zlmei_at_hotmail.com]
>
> System: Sun Solaris 2.7
> Oracle : 8.1.6 Enterprise Edition
>
> I just installed the oracle server software and created an instance
> manually.
>
> Everything seems to be fine except there is one problem. The
> problem is that
> there are some objects owned by user "SYSTEM" end up in
> tablespace "DATA"
> (see the query result below). I think this is due to the fact
> that I changed
> SYSTEM's default tablespace to "DATA" before I run
> "pupbld.sql".  After I
> found out this problem after finishing all the instance
> creation, I even
> re-run all the scripts:
>
> catalog.sql, catproc.sql, catrep.sql and dbmspool.sql   by
> user "internal"
> pupbld.sql by user  "SYSTEM"
>
> but it did not help. So my question is :
>
> How could I "move" these objects out of "DATA" tablespace and
> into "SYSTEM"
> tablespace without re-creating the instance?

The thing is that some of the scripts in $ORACLE_HOME/rdbms/admin don't do a 'drop/create' for objects, only a 'create' so if the object is already there it won't be recreated.

I suppose you could look in DBA_LOBS to find the corresponding tables for the LOBs you see in the DATA tablespace. Then look in $ORACLE_HOME/rdbms/admin for the script that creates those tables. Try to drop the tables manually and rerun the scripts to recreate them under SYS in tablespace SYSTEM.

But first, you may want to ask yourself - is it really a concern that the objects are not in the SYSTEM tablespace?



Jacques R. Kilchoer
(949) 754-8816
Quest Software, Inc.
8001 Irvine Center Drive
Irvine, California 92618
U.S.A.
http://www.quest.com Received on Thu Mar 22 2001 - 19:48:19 CST

Original text of this message

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