OMOP/ddl/5.3/hive/OMOPCDM_hive_5.3_indices.sql

99 lines
3.4 KiB
SQL

/*hive OMOP CDM Indices
There are no unique indices created because it is assumed that the primary key constraints have been run prior to
implementing indices.
*/
/************************
Standardized clinical data
************************/
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
/************************
Standardized health system data
************************/
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
/************************
Standardized health economics
************************/
-- hive does not support indexes
-- hive does not support indexes
/************************
Standardized derived elements
************************/
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
/**************************
Standardized meta-data
***************************/
-- hive does not support indexes
/**************************
Standardized vocabularies
***************************/
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
-- hive does not support indexes
--Additional v6.0 indices
--CREATE CLUSTERED INDEX idx_survey_person_id_1 ON @cdmDatabaseSchema.survey_conduct (person_id ASC);
--CREATE CLUSTERED INDEX idx_episode_person_id_1 ON @cdmDatabaseSchema.episode (person_id ASC);
--CREATE INDEX idx_episode_concept_id_1 ON @cdmDatabaseSchema.episode (episode_concept_id ASC);
--CREATE CLUSTERED INDEX idx_episode_event_id_1 ON @cdmDatabaseSchema.episode_event (episode_id ASC);
--CREATE INDEX idx_ee_field_concept_id_1 ON @cdmDatabaseSchema.episode_event (event_field_concept_id ASC);