MINI MINI MANI MO
perl ore_dsiimport.pl <connect-identifier> <migration-dir>
Example:
perl -I$ORACLE_HOME/R/migration/perl $ORACLE_HOME/bin/ore_dsiimport.pl inst1_local /tmp/userdsi
Arguments
==========
connect-identifier : connect string to connect to the target database
migration-dir-name: directory where dmp files for import are located.
zip file created by dsiexport.sh should be unzipped into this directory.
example: dsiimport.sh inst_local /tmp/rquser_data
IMPORTANT NOTE:
The last step is manual. The script will prompt you about the final steps.
rqdatastoremig.sql is run manually. It takes the schema name as argument
e.g. rqdatastoremig.sql RQUSER
What does this script do:
==========================
This script
a) imports a specific schema to target db if not existed.
b) the ORE datastore metadata for this schema is first staged into tables under system user. New primary keys are generated for the data. The data is validated.
c) The final step is manual:
the user needs to run rqdatastoremmig.sql script to load the datastore metadata into rqsys schema.
Then run a cleanup script to remove all thedb objects created for the migration.
This script is run as "system" user. You will be prompted for the password.
Potential issues:
=========================
Access privilege to datastore fails to be imported if the grantee does not exist in target database.
Possible solutions:
a)create all grantee schema before importing datastores
OHA YOOOO