Import via Dump File - Intergraph Smart Materials - Version 2020 (10.0) - Installation & Upgrade - Hexagon

Intergraph Smart Materials Installation (2020)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Installation & Upgrade
Smart Materials/Smart Reference Data Version
2020 (10.0)
  1. Login with the local administrator account.

  2. On the source database (Oracle 12c/Smart Materials 8.0.0 to 8.3.0, or Oracle 18c/Materials 8.4.0), grant the EXPORT FULL DATABASE role to the SYSTEM user, with this command:

    grant exp_full_database to system;

  3. On the target database (Oracle 18c, Smart Materials 10.0.0), grant the IMPORT FULL DATABASE role to the SYSTEM user, with this command:

    grant imp_full_database to system;

  4. On the source database (Oracle 12c/Smart Materials 8.0.0 to 8.3.0, or Oracle 18c/Materials 8.4.0), create a dump file as described under Back Up the 8.x.x.x Database.

  5. Open a SQL Plus session against the target (Oracle 18c, Smart Materials 8.0.0) database into which the dump should be imported.

  6. Connect with sys as sysdba.

  7. Create a directory into the database with this command:

    Example:

    create directory dpump as ‘D:\tmp‘;

    This directory must exist on the file system, and the Smart Materials 8 dump file must be placed in this folder.

  8. Now set the rights with this command:

    Grant read,write on directory dpump to system;

  9. Open a Command Prompt window as an administrator.

  10. Set the oracle home of your database, for example:

    set ORACLE_HOME=C:\oracle\18c_Sta\db

  11. Perform the import with the Oracle impdp tool (replace <system_pw> with the password of system user, and SID with the name (sid) of your database):

    impdp system/<system_pw>@SID full=y directory=dpump dumpfile=SID.DMP logfile=impSID.log

  12. After the import successfully completes, check the logfiles for errors.

  13. Now, run the following post import script:

    %SMAT_DB_InstallFolder%\samples\post_import\import_<your SMat Version>\post_import.sql

    The post_import script recompiles and analyzes your database after the import.

    Ensure you use the latest version of the post_import.sql script, which is provided with the latest Service Pack. The script is available in above mentioned sub-directory after database setup installation of the Service Pack.