Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for ClickHouse®
  • Getting started
    • Resource relationships
    • Host classes
    • Networking in Managed Service for ClickHouse®
    • Quotas and limits
    • Disk types
    • Backups
    • Replication
    • Dictionaries
    • Sharding
    • Service users
    • Maintenance
    • Supported clients
    • Memory management
    • ClickHouse® versioning policy
    • ClickHouse® settings
  • Access management
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Maintenance window
  • Maintenance procedure
  1. Concepts
  2. Maintenance

Maintenance in Managed Service for ClickHouse®

Written by
Yandex Cloud
Improved by
Dmitry A.
Updated at January 23, 2025
  • Maintenance window
  • Maintenance procedure

In Managed Service for ClickHouse®, maintenance means:

  • Automatic installation of DBMS updates and fixes for hosts (including for disabled clusters).
  • Other maintenance activities.

Changing a major DBMS version is not part of maintenance. For more information about migrating between major versions, see ClickHouse® version upgrade.

Maintenance windowMaintenance window

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

  • The arbitrary option (default) allows performing maintenance at any time.
  • The by schedule option allows setting the preferred maintenance start day and time (UTC). For example, you can choose a time when the cluster is least loaded.

Maintenance procedureMaintenance procedure

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

  • In single-host clusters, maintenance is performed on a single ClickHouse® host. This means, if a cluster needs to be restarted during maintenance, it will become unavailable.
  • If a cluster consists of multiple ClickHouse® hosts in a single shard, host replicas undergo maintenance one by one. The hosts are queued randomly. If a host needs to be restarted during maintenance, it becomes unavailable while being restarted. 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 hosts of one shard, then two shards, four, and so on, up to ten. 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 a shard.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Service users
Next
Supported clients
Yandex project
© 2025 Yandex.Cloud LLC