Add concurrent refresh policies
You can add concurrent refresh policies on each continuous aggregate, as long as their start and end offsets don't overlap. For example, to backfill data into older chunks you set up one policy that refreshes recent data, and another that refreshes backfilled data.
The first policy in this example is keeps the continuous aggregate up to date with data that was inserted in the past day. Any data that was inserted or updated for previous days is refreshed by the second policy.
- Connect to your Tiger Cloud service.
In [Tiger Cloud Console][services-portal] open an [SQL editor][in-console-editors]. You can also connect to your service using [psql][connect-using-psql].
Create a new policy on
conditions_summary_dailyto refresh the continuous aggregate with recently inserted data which runs hourly:At the
psqlprompt, create a concurrent policy onconditions_summary_dailyto refresh the continuous aggregate with backfilled data: