Enabling Partitioning

To enable partitioning on the HDR FHIR server, uncomment and enable the properties in the hdr_fhir.yaml file as shown below.

partitioning:

allow_references_across_partitions: true

When this flag is not set (as is the default), when a search requests a specific partition, an additional SQL WHERE predicate is added to the query to explicitly request the given partition ID. When this flag is set, this additional WHERE predicate is not necessary since the partition is factored into the hash value being searched on. Setting this flag avoids the need to manually adjust indexes against the HFJ_SPIDX tables.

partitioning_include_in_search_hashes: true

This setting controls whether resources in one partition should be allowed to create references to resources in other partitions.