Edit

Query frequency for query data sources

Activator query data sources work by running regular queries against the underlying data store. This article explains how to set the query frequency for a query data source, and how to choose the right frequency for your rule.

The following query data sources have a configurable query frequency:

Set the query frequency

To set the query frequency for a query data source:

  1. Open your rule's Activator item.
  2. Select the query data source in the Explorer pane.
  3. Go to the Manage Source tab.
  4. Set the value of Run query every to your desired query frequency.

Screenshot of the query frequency value in the data source for an Activator rule.

Determine the right query frequency

To determine the right query frequency for your query data source, consider the following factors:

  • How often your data source changes: the more often your data changes, the more often you should query it.
  • How quickly you need your rules to activate: the more often you query your data, the sooner Activator activates your rule after the rule's condition is met.
  • Capacity usage: querying your data consumes Fabric capacity. The more often you query your data, the more capacity you use.