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: # of Indexes

RE: # of Indexes

From: Singla, Sanjeev <SSingla_at_oxhp.com>
Date: Tue, 27 Jun 2000 10:07:55 -0400
Message-Id: <10541.110534@fatcity.com>


Ikf u are in Oracle8i you can simply use Alter index indexname rebuild tablespace new_tablespacename; The beauty of this is you can do it online without disturbing the users.

Moreover , instead of exporting the objects , export the entire schema and then
run the indexfile option. You will not miss anything. Another possibility is this schema may be having some indexes on somebody's else objects , which will be missed in export but will count in dba_objects.

Hope this helps
Sanjeev

-----Original Message-----
From: Rajesh Dayal [mailto:Rajesh_at_ohitelecom.com] Sent: Tuesday, June 27, 2000 3:04 AM
To: Multiple recipients of list ORACLE-L Subject: # of Indexes

Hi All,

   I have to move all indexes of a schema from one Tablespace to another Tablespace (currently Tables as well as Indexes are in the same TS ;-((.

   But when I query DBA_OBJECTS/DBA_INDEXES for that schema the no of indexes come to be 179. When I export the objects of that schema and create the indexfile (by importing ) then no of Indexes is coming to be 89 only. Could someone point out that why is this difference? Is this because of System created indexes for unique/primery keys ? If yes then is there any way out to move those indexes to diff Tablespace ?

Thanks for help....
Rajesh

-- 
Author: Rajesh Dayal
  INET: Rajesh_at_ohitelecom.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 Jun 27 2000 - 09:07:55 CDT

Original text of this message

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