Exp?imp commands
Ruth Kumar, February 28, 2019 - 6:05 am UTC
Thank you for the response.
I would like to add that while doing imp i used the below command to generate a script with the create indexes.
imp u/p file=expdat.dmp indexfile=REL.sql IGNORE=N ROWS=N COMMIT=N tables=REL
and then imported the data.
exp u/p full=y direct=y recordlength=65535 file=REL.dmp log=REL.log
and then ran the index script with no logging fashion :could you please explain how do no logging works and helps here.
Also is above correct ?
Thanks,
Ruth
March 01, 2019 - 1:09 am UTC
There is a redo cost to doing...well...anything, so you can get some benefits from using nologging when creating an index (at the cost of needing to backup the affected datafiles after the operation).
Similarly you could explore parallel options, so with your index file you can do something like:
sed 's/logging/nologging parallel/g'
or similar to convert your index file into one that is nologging and builds indexes by parallel. (Don't forget to reset them to parallel 1 after the operation)
Ruth Kumar, February 28, 2019 - 6:07 am UTC
Sorry importing the data as:
imp u/p file=REL.dmp INDEXES=N