Auto-suspension
Available on Starter and above plans.
Auto-suspension is not avaiable for production multi-clusters.
Effects on experience
If auto-suspension is enabled, the behavior of your Cube Cloud deployment will experience some notable changes. When a deployment is auto-suspended:- Data model compilation artifacts are discarded since the API instances are de-provisioned.
- Refresh worker is suspended, which stops pre-aggregation builds and prevents the pre-aggregations from being kept up-to-date.
- Semantic Layer Sync is suspended, which prevents scheduled syncs from running.
- Monitoring integrations are also suspended, which prevents the export of metrics and logs.
- Data model compilation would need to be done from scratch. It applies to all tenants in case multitenancy is set up. Consequently, one or more requests served after a deployment is resumed from auto-suspension are likely to have suboptimal performance.
- Refresh worker would need to refresh all pre-aggregations that became stale during the suspension, competing for the query queue with API instances and compromising the end-user experience.
- Until the deployment is fully resumed, the requests will be served by transient, on-demand API instances with limited performance. There are no guarantees for the version of Cube these API instances will be running.
Configuration
To enable auto-suspension, navigate to Settings → Configuration of your Cube Cloud deployment and ensure that Enable auto-suspend is turned on:Resuming a suspended deployment
To resume a suspended deployment, send a query to Cube using the API or by navigating to the deployment in Cube Cloud. Deployments typically resume in under 30 seconds, but can take significantly longer in certain situations depending on two major factors:- Data model: How many cubes and views are defined.
- Query complexity: How complicated the queries being sent to the API are