Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
    • Resource relationships
    • High availability clusters
    • Host classes
    • Networking in Managed Service for ClickHouse®
    • Quotas and limits
    • Storage
    • Backups
    • Replication
    • Coordination services
    • Dictionaries
    • Sharding
    • Maintenance
    • Managing users and access permissions
    • Supported clients
    • Memory management
    • ClickHouse® versioning policy
    • ClickHouse® settings
  • Access management
  • Pricing policy
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Maintenance window
  • Maintenance workflow
  • How maintenance impacts a cluster
  1. Concepts
  2. Maintenance

Maintenance in Managed Service for ClickHouse®

Written by
Yandex Cloud
Improved by
Dmitry A.
Updated at July 23, 2026
View in Markdown
  • Maintenance window
  • Maintenance workflow
  • How maintenance impacts a cluster

Maintenance in Managed Service for ClickHouse® includes:

  • Automatic installation of DBMS updates and patches for hosts (including for stopped clusters).
  • Scheduled automatic storage expansion.
  • Other maintenance activities.

A major DBMS version update is not part of maintenance. For more information about upgrading between major versions, see ClickHouse® version upgrade.

Maintenance windowMaintenance window

You can set the maintenance window when creating a cluster or updating its settings:

  • The At any time option (default) allows performing maintenance at any time.
  • The By schedule option allows you to select the day of the week and UTC time interval for the maintenance. For example, you can choose a time when the cluster is least loaded.

Both active and stopped clusters are subject to maintenance. Maintenance operations may include DBMS updates, applying patches, etc.

In the management console, you select the maintenance start time as an hour interval. In other interfaces, you specify this interval by its sequence number, from 1 to 24.

For example, to start maintenance in the interval from 00:00 to 01:00, put 1; from 04:00 to 05:00, 5.

Note

To view maintenance task information, you need the managed-clickhouse.maintenanceTask.viewer role or higher.

To manage maintenance tasks, you need the managed-clickhouse.maintenanceTask.editor role or higher.

Maintenance workflowMaintenance workflow

The maintenance workflow for Managed Service for ClickHouse® clusters depends on the number of shards and hosts in them:

  • In single-host clusters, maintenance is performed on a single ClickHouse® host. This means, if you restart such a cluster during maintenance, it will become unavailable.
  • If a cluster consists of multiple ClickHouse® hosts in a single shard, replica hosts undergo maintenance one by one. Such hosts are queued randomly. If you restart a host during maintenance, it will become unavailable for this time period. If you access a cluster using the FQDN of the ClickHouse® host, the cluster may become unavailable. To make your application continuously available, access the cluster using a special FQDN always pointing to the available host.
  • If a cluster consists of multiple shards, maintenance is performed shard by shard in ascending order by shard number. Maintenance is first performed on the hosts of one shard, then four shards, and further on, in batches of 16 shards. Host maintenance is the same as in single-shard clusters. If you access a cluster shard using the FQDN of the ClickHouse® host, the shard may become unavailable. To make your application continuously available, access the shard using a special FQDN, always pointing to the available host in the shard.

ClickHouse® is a registered trademark of ClickHouse, Inc.

How maintenance impacts a clusterHow maintenance impacts a cluster

Depending on its type, maintenance can impact your cluster as follows:

  • Show little to no impact on database users.
  • Break database connections in place, forcing clients to re-establish their connections.
  • Make your cluster read-only for a while.
  • Restart the master and trigger master failover to one of the replicas.
  • Cause master host failover in the cluster, making the database read-only for a while.

Maintenance tasks have an estimated duration and completion date. These time frames are calculated based on historical data from similar operations. The actual completion times may vary depending on your cluster.

Was the article helpful?

Previous
Sharding
Next
Managing users and access permissions
© 2026 Direct Cursus Technology L.L.C.