BladePipe 1.6.0 supports Snowflake, Hologres and CloudBerry.
跳到主要内容

Modify Memory Oversell Ratio

Interface Overview

Modify the memory oversell ratio of a specified worker node to control the number of tasks that can be created on the node.

Interface Address

/cloudcanal/console/api/v1/openapi/worker/modifyMemOverSoldPercent

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
workerIdWorker node IDbodyTruelong
memOverSoldPercentMemory oversell ratio, range 50–400. 100 means no overselling; values greater than 100 indicate overselling.bodyTrueint

Public Response Results

ParameterNameParameter DescriptionType(Java)NotNull
code1: Success, 0: FailurestringTrue
dataobjectFalse
msgstringFalse
requestIdstringTrue

Response Example

{
"requestId": "ebd0b7dc-54ed-11ed-b820-5bd47d77dc8c",
"code": "1",
"msg": "request success",
"data": null
}

memOverSoldPercent Value Description

Value RangeDescription
50Use only 50% of physical memory
100No overselling; use 100% of physical memory
200Oversell by 1×; logically allocate up to 200% of physical memory
400Oversell by 3×; logically allocate up to 400% of physical memory

Notes

  • An excessively high memory oversell ratio may cause OOM (Out of Memory) on the node.
  • It is recommended to set the oversell ratio based on actual task load.
  • Changes take effect immediately but do not affect memory already allocated to existing tasks.