Smile CDR v2024.05.PRE
On this page:
   45.65    FHIR Storage Module Conditional Updates 45.67    FHIR Validation Services   

45.66.1FHIR Storage Module Scheduled Tasks

 

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

  • Batch job retention days.

  • Scheduler Thread Count

  • Resource Submission Interval (Millis)

  • 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

45.66.2Property: 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 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value 30
Example Property
module.[MODULE_ID].config.batch.stale_job_retention_days = 30

45.66.3Property: Scheduler Thread Count

 
Property Name Scheduler Thread Count
Property Key
Property Type POSITIVE_INTEGER
Description The number of threads allocated to processing Scheduled Jobs (both local and clustered). See Scheduler Performance for more information.
Applies to Modules
  • Cluster Manager
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • Subscription Matcher (All FHIR Versions)
Default Value 4
Example Property
module.[MODULE_ID].config.schedule.thread_count = 4

45.66.4Property: Resource Submission Interval (Millis)

 
Property Name Resource Submission Interval (Millis)
Property Key
Property Type POSITIVE_INTEGER
Description The number of milliseconds between submissions to the processing pipeline for resources modified by an operation.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value 5000
Example Property
module.[MODULE_ID].config.scheduled_tasks.async_persisted_resource_processing.processing_interval = 5000

45.66.5Property: 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 on each Smile CDR process in the same node that will be dedicated to executing batch jobs. See Optimizing Batch Job Performance for more information.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value 8
Example Property
module.[MODULE_ID].config.scheduled_tasks.batch_job_max_threads = 8

45.66.6Property: 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 RDBMS)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.bulk_export.enabled = ENABLED

45.66.7Property: 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 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.bulk_import.enabled = ENABLED

45.66.8Property: 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 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.delete_stale_searches.enabled = ENABLED

45.66.9Property: 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 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.pre_expand_valuesets.enabled = ENABLED

45.66.10Property: 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 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
Default Value ENABLED
Example Property
module.[MODULE_ID].config.scheduled_tasks.resource_reindexing.enabled = ENABLED
   45.65    FHIR Storage Module Conditional Updates 45.67    FHIR Validation Services