Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • 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
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for MySQL®
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Questions about MySQL
    • Connection
    • Cluster read/write issues
    • Performance issues
    • Updating a cluster
    • Monitoring and logs
    • Migration/transfer
    • Configuring MySQL
    • All questions on one page
  1. FAQ
  2. Updating a cluster

Updating a MySQL® cluster

Written by
Yandex Cloud
Updated at December 10, 2025
  • Can I manage a cluster using SQL commands?

  • How do I reduce the size of a disk?

  • How do I increase the size of a disk?

  • How do I change the disk type?

  • Why cannot I add or delete a host?

  • How do I perform a manual failover?

  • How do I restart a host?

Can I manage a cluster using SQL commands?Can I manage a cluster using SQL commands?

There are some restrictions on cluster management using SQL commands. For more information, see SQL command limits.

How do I reduce the size of a disk?How do I reduce the size of a disk?

You cannot reduce the size of a cluster storage.

You can create a new cluster with smaller storage and migrate your data to it.

How do I increase the size of a disk?How do I increase the size of a disk?

You cannot directly increase the size of non-replicated SSD storage: follow the steps outlined in this guide.

If you need it increased, restore the cluster from a backup and set the appropriate size.

You can check the disk type in the management console. To do this, find the Storage setting under Resources on the cluster page.

How do I change the disk type?How do I change the disk type?

To change the disk type, restore your cluster from a backup.

Why cannot I add or delete a host?Why cannot I add or delete a host?

The number of hosts in clusters is limited by quotas. Before adding a host, check the resources currently in use: open the Quotas page and find the Managed Databases section.

You can delete a host as long as it is not the only host in the cluster. To replace the only host, first create a new host and then delete the old one.

Clusters with local disks have a fault-tolerant three-host configuration. Using fewer hosts is not allowed.

How do I perform a manual failover?How do I perform a manual failover?

In a fault-tolerant multi-host cluster, you can switch the master role from the current master host to a replica host. After the failover, the current master host becomes a replica for the new master.

Management console
CLI
  1. Go to the cluster page and select the Hosts tab.
  2. Click Switch master.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

To switch the master:

  1. See the description of the CLI command for initiating a failover:

    yc managed-mysql cluster start-failover --help
    
  2. Run the yc managed-mysql cluster start-failover command.

How do I restart a host?How do I restart a host?

You cannot restart a separate cluster host. To restart hosts, stop and restart the cluster.

Was the article helpful?

Previous
Performance issues
Next
Monitoring and logs
© 2025 Direct Cursus Technology L.L.C.