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
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Questions about ClickHouse®
    • Connection
    • Updating a cluster
    • Cluster configuration
    • Moving and restoring a cluster
    • Monitoring and logs
    • All questions on a single page
  1. FAQ
  2. Updating a cluster

Updating a ClickHouse® cluster

Written by
Yandex Cloud
Updated at September 6, 2024
  • How do I add a host to a cluster?

  • Can I set join_use_nulls to 1 using the CLI?

  • Will my cluster be available during an update?

  • How do I change the time zone?

  • Will my cluster be unavailable when adding replicas?

  • How do I grant read-only permissions to a user?

  • How do I increase the memory limit?

  • Can I change the disk type?

  • Can I change a network and subnets?

  • How to change the distribution of data across shards in a cluster?

How do I add a host to a cluster?How do I add a host to a cluster?

To add a host, follow this guide. You can also add new hosts to a cluster when creating a shard.

Can I set join_use_nulls to 1 using the CLI?Can I set join_use_nulls to 1 using the CLI?

Yes. To do this, when creating a user or updating user settings, pass the desired join_use_nulls setting value in the --settings parameter. For example:

yc managed-clickhouse user update <username> \
  --cluster-name=<cluster_name> \
  --settings="join_use_nulls=1"

For more information, see the documentation.

Is a cluster available when being updated?Is a cluster available when being updated?

If it is a multi-host cluster, there is no downtime while updating it, since the hosts are updated one by one. Only individual hosts are unavailable when the cluster is being restarted.

How do I change the time zone?How do I change the time zone?

Change the timezone or session_timezone setting for ClickHouse® by following this guide.

Is a cluster unavailable when adding replicas?Is a cluster unavailable when adding replicas?

Yes, there is a short downtime when restarting a cluster.

How do I grant a user read-only permissions?How do I grant a user read-only permissions?

To do this, when creating or editing a user via the CLI, pass readonly=1 in the --settings parameter. For example:

yc managed-clickhouse user update <username> \
  --cluster-name=<cluster_name> \
  --settings="readonly=1"

For more information, see the documentation.

How do I increase the memory limit?How do I increase the memory limit?

Update the user settings and set the desired Max memory usage parameter value.

Can I change the disk type?Can I change the disk type?

No, you can only select the disk type when creating a cluster or restoring it from a backup.

Can I change a network and subnets?Can I change a network and subnets?

No, you can only select a network and subnets for hosts when creating a cluster or restoring it from a backup.

How to change the distribution of data across shards in a cluster?How to change the distribution of data across shards in a cluster?

In an existing cluster, you cannot change the location of data in shards. To make the change, transfer data to a new cluster with shard redistribution using Yandex Data Transfer.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Connection
Next
Cluster configuration
© 2025 Direct Cursus Technology L.L.C.