2017-07-20 04:12:04 +00:00
|
|
|
Common-Data-Model / Redshift
|
|
|
|
=================
|
|
|
|
|
|
|
|
This folder contains the SQL scripts for Amazon Redshift.
|
|
|
|
|
|
|
|
In order to create your instantiation of the Common Data Model, we recommend following these steps:
|
|
|
|
|
|
|
|
1. Create an empty schema.
|
|
|
|
|
|
|
|
2. Set the search_path to that schema.
|
|
|
|
|
2018-01-03 19:56:42 +00:00
|
|
|
3. Execute the script `OMOP CDM redshift ddl.txt` to create the tables and fields.
|
2017-07-20 04:12:04 +00:00
|
|
|
|
2018-09-25 16:40:53 +00:00
|
|
|
4. Load your data into the schema using COPY commands from Amazon S3.
|
|
|
|
|
|
|
|
5. Repeat to create the results schema, executing the script `OMOP CDM Results redshift ddl.txt`
|