Set maintenance windows for continuous Lakeflow pipelines
Control when Databricks applies platform updates and restarts on continuous Lakeflow pipelines.
O que mudou
Continuous pipelines run without stopping, requiring restarts to receive runtime or serverless infrastructure updates. With maintenance windows, you define the day of the week, start hour, and time zone so these pauses occur only at planned times.
Use cases
Imagine you manage a streaming pipeline that cannot experience surprise downtime during peak business hours. This configuration ensures restarts for security patches or new versions happen only overnight.
- Pick the exact day of the week and hour for maintenance.
- Prevent unexpected performance drops caused by infrastructure updates.
- Set up notifications for maintenance start and completion.
How to use
You can configure the maintenance window through the Databricks UI or via the Jobs REST API when managing a continuous job.
{
"continuous": {
"pause_status": "UNPAUSED",
"maintenance_window": {
"start_hour": 2,
"day_of_week": "TUESDAY",
"timezone_id": "America/New_York"
}
}
}
What happens in this code:
- The
continuousparameter specifies that the job runs in continuous mode. - The
maintenance_windowblock groups the update rules. - The
start_hourfield sets the starting hour in 24-hour format. - The
day_of_weekandtimezone_idfields specify the evaluated day and time zone.
Limitations and requirements
- Maintenance windows apply only to continuous jobs and pipelines and are not available for scheduled triggers.
- All three fields (
start_hour,day_of_week, andtimezone_id) are required when setting a window. - Serverless clusters have a maximum lifetime; if that limit is reached before your next window, Databricks restarts the pipeline to enforce infrastructure recycling.
- lakeflow
- pipelines
- streaming
- serverless
- jobs
Maintenance windows for continuous pipelines
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis