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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Import with new table & index extent sizes

Re: Import with new table & index extent sizes

From: wegorz <wegorz_at_winuel.com.pl>
Date: Fri, 1 Sep 2000 09:52:06 +0200
Message-ID: <8onncs$495$1@news.tpi.pl>

>imp <user/pass> file=... full=y indexfile=myschema.sql

This way is a good way, but I could not find this in imp/exp manual.

There is another way: you can grep dump file just like that:

cat file.dmp | grep 'CREATE TABLE' > create_table.sql; cat file.dmp | grep 'CREATE INDEX' > create_index.sql;

All you have to do is to add semicolons at the end of each line - now you can modify INITIAL parameter in STORAGE clause. Of course constraints definitions left, but during import rest of table definitions is done.

--
Andrew Rajczakowski
DBA, Winuel SA, Poland
Received on Fri Sep 01 2000 - 02:52:06 CDT

Original text of this message

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