Scale a 1C database
During 1C database scaling, all information databases connected to it may be temporarily unavailable.
We recommend scheduling maintenance during periods of low 1C database load and using session locking for information databases.
During scaling, you can:
- change the configuration;
- change the line — Standard to HighFreq and vice versa;
- change the number of resources in the current fixed or custom configuration — vCPU, RAM, local disk size. The number of vCPU and RAM can be increased or decreased; the disk size cannot be decreased.
The database configuration change process depends on whether a replica exists:
- no replica — the master node will be stopped while changes are applied, and the database will be temporarily unavailable for reading and writing;
- replica exists — the database will be available for reading and writing while changes are applied. The replica configuration will be changed first; then, the master node will switch to the replica, and its configuration will also be changed.
The configuration change time depends on the volume of data in the database.
-
In the Control panel, on the top menu, click Products and select 1C Cloud.
-
Go to the Databases section.
-
Open the database page.
-
Click Scale database.
-
Select a configuration.
-
Specify the required number of resources. The number of vCPU and RAM can be increased or decreased; the disk size cannot be decreased.
-
Optional: configure replication. A database can have only one replica.
- To disable an existing replica, clear the Add replica checkbox;
- if the database does not yet have a replica and you want to create one, select the Add replica checkbox.
-
Click Save.