...
Additional indexes are required to support rapid access to interrelated data (for example the descriptions and relationships associated with an identified concept). outlines
Caption reference |
---|
CapRefId | add-index |
---|
CapRefType | Table |
---|
|
outlines the rationale for each of the additional indexes used to improve performance of specific tables in the SNOMED CT example database
...
. Further indexes or revisions of these indexes may also be useful to further enhance performance. is
Caption reference |
---|
CapRefId | add-index |
---|
CapRefType | Table |
---|
|
is also intended as a starting point for the developing SNOMED CT solutions in other database environments. However, the benefits of adding particular indexes will depend on the characteristics of the database server. Therefore, some of these indexes may not be required and other indexing strategies may be more effective at improving performance.
Caption label |
---|
CapId | add-index |
---|
CapType | Table |
---|
|
Additional Indexes for Specific Tables |
Database Table | Index Name | Index Columns | Rationale for this Index |
(full or snap)_description | description_concept | conceptId | Find descriptions for concept. |
description_lang | conceptId,languageCode | Find descriptions with specific language code for concept. |
description_term | term (fulltext) Footnote Macro |
---|
Full text indexes for terms allow effective searching. However, unless the database is correctly configured, short words, abbreviations and stop words may prevent effective indexing of common clinical terms. For further details refer to A.7.1 Required MySQL Configuration Settings. |
| Search for terms. |
(full or snap)_relationship | relationship_dest | destinationId,typeId,sourceId | Find concepts with relationships of a specified type of which a specified concept is the destinationId (value or supertype) or find relationships with a specific combination of destination, type and source. |
relationship_source | sourceId,typeId,destinationId | Find concepts with relationships of a specified type of which a specified concept is the destinationId (defined concept or subtype) or find relationships with a specific combination of source, type and destination. |
(full or snap)_statedRelationship | statedRelationship_dest | destinationId,typeId,sourceId | Find concepts with stated relationships of a specified type of which a specified concept is the destinationId (value or supertype) or find relationships with a specific combination of destination, type and source. |
statedRelationship_source | sourceId,typeId,destinationId | Find concepts with relationships of a specified type of which a specified concept is the destinationId (defined concept or subtype) or find relationships with a specific combination of source, type and destination. |
(full or snap)_textDefinition | textDefinition_concept | conceptId | Find text definitions for concept. |
textDefinition_lang | conceptId,languageCode | Find text definitions with specific language code for concept. |
textDefinition_term | term (fulltext) | Search for terms in text definitions. |
(full or snap)_refset_[REFSETTYPE] These indexes are applied to all refset tables | [REFSETTYPE]_c | referencedComponentId | Find rows in any reference set of type [REFSETTYPE] that refer to a specified referenced component. |
[REFSETTYPE]_rc | refsetId,referencedComponentId | Find rows in an identified reference set of type [REFSETTYPE] that refer to a specified referenced component. |
(full or snap)_refset_ExtendedMap | ExtendedMap_map | refsetId,mapTarget | Find map records in a specified mapping reference set for a particular mapTarget. Find all concepts that have a map to a particular mapTarget in a specified mapping reference set. |
(full or snap)_refset_SimpleMap | SimpleMap_map | refsetId,mapTarget | Find map records in a specified mapping reference set for a particular mapTarget. Find all concepts that have a map to a particular mapTarget in a specified mapping reference set. |
(full or snap)_refset_MRCMAttributeDomain | MRCMAttributeDomain_dom | domainId | Find attribute domain information for a specified domain. |
...