Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for SQL Server™
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to databases
    • Stopping and starting clusters
    • Changing cluster and database settings
    • Managing SQL Server hosts
    • Database management
    • Managing users
    • Assigning privileges and roles
    • Managing backups
    • Deleting clusters
  • Concepts
    • Relationship between service resources
    • Host classes
    • Network in Managed Service for SQL Server
    • Quotas and limits
    • Storage types
    • Backups
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • BackupService
      • ClusterService
      • DatabaseService
      • ResourcePresetService
      • UserService
      • OperationService
    • REST
      • Overview
      • Backup
        • Overview
        • get
        • list
      • Cluster
        • Overview
        • backup
        • create
        • delete
        • get
        • list
        • listBackups
        • listHosts
        • listLogs
        • listOperations
        • move
        • restore
        • start
        • stop
        • update
      • Database
        • Overview
        • create
        • delete
        • get
        • list
      • ResourcePreset
        • Overview
        • get
        • list
      • User
        • Overview
        • create
        • delete
        • get
        • grantPermission
        • list
        • revokePermission
        • update
      • Operation
        • Overview
        • get
  • Questions and answers
    • General questions
  1. Step-by-step instructions
  2. Changing cluster and database settings

Changing cluster settings

  • Change the host class
  • Increasing storage size
  • Changing SQL Server settings
  • Moving a cluster

After creating a cluster, you can:

  • Change the host class.
  • Increase the storage size (available only for network storage, network-hdd, and network-ssd).
  • Change SQL Server settings according to the SQL Server documentation.
  • Move the cluster to another folder.

Change the host class

Management console
API
  1. Go to the folder page and select Managed Service for SQL Server.
  2. Select the cluster and click Edit cluster in the top panel.
  3. Select a new host class. When you change the host class for the cluster, the characteristics of all existing hosts change, too.
  4. Click Save changes.

To change the host class for the cluster, use the update method and pass the following in the request:

  • The cluster ID, in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • New host class, in the configSpec.resources.resourcePresetId parameter. To find out the list of supported values, use the list method for ResourcePreset.
  • List of cluster configuration fields to be changed (in this case, configSpec.resources.resourcePresetId), in the updateMask parameter.

Warning

This API method resets any cluster settings that aren't passed explicitly in the request to their defaults. To avoid this, in the updateMask parameter, list the settings you want to change (in a single line, separated by commas).

Increasing storage size

Management console
API
  1. Go to the folder page and select Managed Service for SQL Server.
  2. Select the cluster and click Edit cluster in the top panel.
  3. Under Storage size, specify the required value.
  4. Click Save changes.

To change the storage size for a cluster, use the update API method and pass the following in the request:

  • The cluster ID, in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • Required storage size (in bytes), in the configSpec.resources.diskSize parameter.
  • List of user configuration fields to be changed (in this case, configSpec.resources.diskSize), in the updateMask parameter.

Warning

This API method resets any cluster settings that aren't passed explicitly in the request to their defaults. To avoid this, in the updateMask parameter, list the settings you want to change (in a single line, separated by commas).

Changing SQL Server settings

Management console
API
  1. Go to the folder page and select Managed Service for SQL Server.
  2. Select the cluster and click Edit cluster in the top panel.
  3. Under DBMS settings, click Settings.
  4. Edit the settings and click Save.
  5. Click Save changes.

Use the update API method and pass the following in the request:

  • The cluster ID, in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • The relevant values in the configSpec.sqlserverConfig_2016sp2 parameter.
  • List of user configuration fields to be changed (in this case, configSpec.sqlserverConfig_2016sp2), in the updateMask parameter.

Warning

This API method resets any cluster settings that aren't passed explicitly in the request to their defaults. To avoid this, in the updateMask parameter, list the settings you want to change (in a single line, separated by commas).

Moving a cluster

Management console
API

To move a cluster to another folder:

  1. Go to the folder page and select Managed Service for SQL Server.
  2. Click to the right of the row of the cluster that you want to move.
  3. Click Move.
  4. Select the folder you want to move the cluster to.
  5. Click Move.

To move a cluster from the current folder to a different one, use the move API method and pass the following in the request:

  • The cluster ID, in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • The ID of the destination folder in the destinationFolderId parameter.
In this article:
  • Change the host class
  • Increasing storage size
  • Changing SQL Server settings
  • Moving a cluster
Language / Region
Careers
Privacy policy
Terms of use
Brandbook
© 2021 Yandex.Cloud LLC