Scheduling forecast
Scheduling forecasts enable you to view the upcoming execution load for recurring requests and for requests that only run once. You can create multiple scheduling forecast to view the run load over time periods of different lengths, for time periods that are divided or sliced in different ways for recurring or non-recurring requests.
Once a forecast is built, charts are available showing the forecast by slice. A vertical bar chart is the default. A horizontal bar chart and a line chart are also available.
When creating and viewing scheduling forecasts, consider these details:
- Specifying too small slice time with too large duration results in both long forecast build times and charts that are not readable.
- A recurring request can end up in a slice more than once and exist in more than one slice. If a request runs every 15 minutes and you have a one-hour slice time with a two-hour forecast window, the request appears in both slices and occurs four times in each slice.
- Slices are always rounded down. For example, if you specify a quarter-hour slice and the forecast starts building at 9:10, the first slice is from 9 am to 9:14:59 but only includes any that are scheduled to run from 9:10 to 9:14:59 because your start time was mid slice. The same goes for the last slice. If the ending time is mid slice, the last slice only include schedules up to that time.
There is a delivered purge request to clean up expired forecasts. The default frequency of the purge is once a month, and the default limits are to purge any forecasts where the end time is less than 30 days. This action does not delete the forecast record itself, only the slices and members of generated forecasts.