OMOP/Redshift/README.md

16 lines
528 B
Markdown
Raw Normal View History

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.
3. Execute the script `OMOP CDM redshift ddl.txt` to create the tables and fields.
2017-07-20 04:12:04 +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`