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 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 a single page
  1. FAQ
  2. Updating a cluster

Updating a MySQL® cluster

Written by
Yandex Cloud
Updated at May 13, 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 for 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?

It is not possible to reduce cluster storage size.

You can create a new cluster with less storage and migrate the data to it.

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

Storage size cannot be increased for non-replicated SSD storage: follow the instructions at Updating clusters.

To increase the size of non-replicated SSD storage, restore the cluster from a backup and set the required size.

You can check the disk type in the management console. To do this, find the Storage parameter 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 a cluster 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 one in a 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 3-host configuration. Fewer hosts are not permitted.

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

In a failover cluster with multiple hosts, you can switch the master role from the current master host to the replica host. After this operation, the current master host becomes the replica host of the new master.

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

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

To switch the master:

  1. View a description of the CLI switch master command:

    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.