/v1/organizations/{organizationId}/services/{serviceId}/scalingUpdates minimum and maximum total memory limits and idle mode scaling behavior for the service. The memory settings are available only for "production" services and must be a multiple of 12 starting from 24GB. Please contact support to enable adjustment of numReplicas.
Path parameters
Request bodyJSON
- minTotalMemoryGbdeprecatednumber
DEPRECATED - inaccurate for services with non-default numbers of replicas. Use
minReplicaMemoryGbinstead. Minimum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than or equal to 24. Always absent for horizontal-autoscaling services (replica count is variable).maximum: 1068, minimum: 24Example: 48 - maxTotalMemoryGbdeprecatednumber
DEPRECATED - inaccurate for services with non-default numbers of replicas. Use
maxReplicaMemoryGbinstead. Maximum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than or equal to 360 for non paid services or 1068 for paid services. Always absent for horizontal-autoscaling services (replica count is variable).maximum: 1068, minimum: 24Example: 360 - numReplicasoptionalinteger
Number of replicas for the service. The number of replicas must be between 2 and 50 for the first service in a warehouse. Services that are created in an existing warehouse can have a number of replicas as low as 1. Further restrictions may apply based on your organization's tier and its per-warehouse replica limit. It defaults to 1 for the BASIC tier and 3 for the SCALE and ENTERPRISE tiers.
maximum: 50, minimum: 1Example: 3
Response
200
Successful response
400
The request cannot be processed due to a client error. Please verify your request parameters and try again.
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.