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: Import INDEXFILE option doesn't work.

Re: Import INDEXFILE option doesn't work.

From: Anatoly Moskovsky <avm_at_trais.com.ua>
Date: Mon, 22 Oct 2001 18:29:49 +0300
Message-ID: <TRS24828419D@trais.com.ua>


Hi!

 CJF> Because my import was running so slow, I took some advice here and  CJF> specified INDEXES=n, and got the data into the system faster.

 CJF> Now, I would like to recreate the indexes.

 CJF> I decided to try the INDEXFILE option, using the method outlined by
 CJF> Jason 
 CJF> Couchman in his 8i OCP book on page 800.

 CJF> The problem is that the SQL file generated by the INDEXFILE option  CJF> is just a bunch of REMed CREATE/ALTER TABLE statements.

 CJF> I read in an Oracle 7 book on exp/imp that interspersed in these
 CJF> REMed  directives should be uncommented INDEX directives; why don't
 CJF> I see them?

Make sure you do it this way:

1) exp indexes=y
2) imp indexes=n
3) imp indexes=y indexfile=indfile.sql
4) preprocess  and run indfile.sql

Bye


[SQL Batch: Oracle automation] http://sqlbatch.com/sb/ Received on Mon Oct 22 2001 - 10:29:49 CDT

Original text of this message

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