# Transferring data to the Empirica Healthcare Analysis database

If you have data for millions of patients, this process can take several hours or longer.

The destination account, which you specified in the etl.properties file and which was created during the installation of the ETL utility, pulls data from one of the following locations:

- For imports that use a database link, the destination account pulls data from the source database using the database link that the installation created.
- For imports that use exported files, the destination account pulls data from the export files you created.

The tables from the source account(s) are imported into the destination account with the same names and structure used in the source tables. The tables are then transformed, and the configurations required by the Empirica Healthcare Analysis application are created. For details, see Transformation details and Configuration details.

1. In a command shell, set your current directory to the location where you unpacked the installation ZIP file, Healthcare-CDM4_ETL_xxx.zip, where xxx refers to the build number.

   For example:

   $ cd /u01/stage/cdm4etl

2. In the command shell, log in to the Empirica Healthcare Analysis database using the destination account, which was created during installation of the ETL utility. You provided the name of the account in the etl.properties file and supplied the password during installation.

   For example:

   $ sqlplus <account_name>@<connect_string>

   You are prompted to type a password for the destination account.

3. Type a password, and press Enter.
4. In SQL*Plus, execute the ETL script:

   SQL>@start_etl

   The ETL utility begins the data transfer process. A log file, start_etl.log, is written to the current directory.

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