Skip to content

Commit c265315

Browse files
committed
docs: Elaborate on scheduled_refresh: false
1 parent 0f5ca13 commit c265315

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/pages/product/data-modeling/reference/pre-aggregations.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,9 +1241,13 @@ cubes:
12411241
### `scheduled_refresh`
12421242

12431243
To always keep pre-aggregations up-to-date, you can set
1244-
`scheduled_refresh: true`. This option defaults to `true`. If set to `false`,
1245-
pre-aggregations will always be built on-demand. The
1246-
[`refresh_key`][self-refreshkey] is used to determine if there's a need to
1244+
`scheduled_refresh: true`. This option defaults to `true`.
1245+
In production mode, pre-aggregations with `scheduled_refresh: false` will not be
1246+
built automatically and require external orchestration to trigger their refresh.
1247+
Additionally, any `scheduled_refresh: false` pre-aggregations that were built manually or on-demand will be considered
1248+
stale and orphaned over time, and will be dropped by the refresh worker during
1249+
cleanup processes.
1250+
The [`refresh_key`][self-refreshkey] is used to determine if there's a need to
12471251
update specific pre-aggregations on each scheduled refresh run. For partitioned
12481252
pre-aggregations, `min` and `max` dates for
12491253
[`time_dimension`][self-timedimension] are checked to determine range for the

0 commit comments

Comments
 (0)