Smile CDR v2023.05.PRE
On this page:
   41.53    MegaScale 41.55    FHIR Validation Services   

41.54FHIR Storage Module Scheduled Tasks

 

The FHIR Storage Module Scheduled Tasks configuration category includes the following configurable options:

  • Batch job retention days.

  • Scheduler Thread Count

  • Batch Job Executor: Maximum Thread Count

  • Bulk Export Task Enabled

  • Bulk Import Task Enabled

  • Delete Stale Searches Task Enabled

  • Pre-Expand ValueSets Task Enabled

  • Resource Reindexing Task Enabled

41.54.1Property: Batch job retention days.

 
Property Name Batch job retention days.
Property Key
Property Type POSITIVE_INTEGER
Description Jobs will be removed after this many days after they have stopped receiving regular updates. Note that if a step has the 'STARTED' status, it will never be removed.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value 30
Example Property
module.[MODULE_ID].config.batch.stale_job_retention_days = 30

41.54.2Property: Scheduler Thread Count

 
Property Name Scheduler Thread Count
Property Key
Property Type POSITIVE_INTEGER
Description The number of threads allocated to processing cluster-wide scheduled background tasks. All nodes share the same pool of clustered tasks.
Applies to Modules
  • Cluster Manager
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • Subscription Matcher (All FHIR Versions)
Default Value 4
Example Property
module.[MODULE_ID].config.schedule.thread_count = 4

41.54.3Property: Batch Job Executor: Maximum Thread Count

 
Property Name Batch Job Executor: Maximum Thread Count
Property Key
Property Type POSITIVE_INTEGER
Description This setting specifies the maximum number of threads that will be dedicated to executing batch job processing.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value 8
Example Property
module.[MODULE_ID].config.scheduled_tasks.batch_job_max_threads = 8

41.54.4Property: Bulk Export Task Enabled

 
Property Name Bulk Export Task Enabled
Property Key
Property Type ENUM
Values
  • ENABLED
  • DISABLED
Description If this is enabled, Bulk Export tasks will be executed by this node. See Scheduled Tasks for more information.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.bulk_export.enabled = ENABLED

41.54.5Property: Bulk Import Task Enabled

 
Property Name Bulk Import Task Enabled
Property Key
Property Type ENUM
Values
  • ENABLED
  • DISABLED
Description If this is enabled, Bulk Import tasks will be executed by this node. See Scheduled Tasks for more information.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.bulk_import.enabled = ENABLED

41.54.6Property: Delete Stale Searches Task Enabled

 
Property Name Delete Stale Searches Task Enabled
Property Key
Property Type ENUM
Values
  • ENABLED
  • DISABLED
Description If this is enabled, stale/expired searches in the query cache tables of the database will be executed by this node. See Scheduled Tasks for more information.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.delete_stale_searches.enabled = ENABLED

41.54.7Property: Pre-Expand ValueSets Task Enabled

 
Property Name Pre-Expand ValueSets Task Enabled
Property Key
Property Type ENUM
Values
  • ENABLED
  • DISABLED
Description If this is enabled, ValueSet pre-expansions will be executed by this node. See Scheduled Tasks for more information.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.pre_expand_valuesets.enabled = ENABLED

41.54.8Property: Resource Reindexing Task Enabled

 
Property Name Resource Reindexing Task Enabled
Property Key
Property Type ENUM
Values
  • ENABLED
  • DISABLED
Description If this is enabled, Resource Reindexing tasks will be executed by this node. See Scheduled Tasks for more information.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.resource_reindexing.enabled = ENABLED
   41.53    MegaScale 41.55    FHIR Validation Services