Previous Topic

Next Topic

Book Contents

Exporting source data and making the data files accessible

Perform the following steps only if you plan to import data using files. These steps export the data in the source database and make the files accessible to the Empirica Healthcare Analysis database.

These steps create separate export files for the data and vocabulary accounts and include directions on how to modify commands if the vocabulary account is part of the data account.

Perform these steps before you set installation and data transfer settings.

Step 1. Create the export directory in the source database.

You can use the default DATA_PUMP_DIR directory or create a new directory. Oracle recommends creating a new directory.

  1. Using SQL*Plus, log in to the source database as SYS.
  2. Create the directory, pointing to a valid and accessible location on the server:

    SQL>create or replace directory <export_directory> as '<server_path>';

    where:

    Example:

    SQL>create or replace directory ETL_SRC_DIR as '/u01/oradata/xxx';

Step 2. Give privileges to the source user accounts for the export directory.

Step 3. Export the source data, either all of the tables or the tables of your choosing.

If you export all the tables, tables that are not needed are exported. For instance, you need only one condition table.

Export the tables along with their indexes and constraints. You do not need to export other objects in the account.

Step 4. Move the export files you created in step 3 to the import directory location on the Empirica Healthcare Analysis database server.

You can move the files using a tool of your choice, such as an sFTP client.

Step 5. Create a database directory on the Empirica Healthcare Analysis database server machine.

  1. Using SQL*Plus, log in to the Empirica Healthcare Analysis database as SYS.
  2. Create a directory, pointing to a valid and accessible location on the server:

    SQL>create or replace directory <import_directory> as '<server_path>';

    where:

    Example:

    SQL>create or replace directory ETL_SRC_DIR as '/u01/oradata/xxx';

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.