首批通过分布式安全可靠测评,为关键业务系统打造
io_category_config
更新时间:2023-07-28 10:45:58
io_category_config 用于配置各类别 I/O 请求的百分比。
说明
从 V4.0.0 版本开始引入。
| 属性 | 描述 |
|---|---|
| 参数类型 | 字符串类型 |
| 默认值 | other: 100,100,100 |
| 取值范围 | N/A |
| 是否重启 OBServer 节点生效 | 否 |
类别 I/O 规格用于表示租户的 I/O 规格比例,格式为:category_name: min_percent, max_percent, weight_percent。多个类别规格之间以分号分隔,未单独指定的类别由 other 表示。
所有类别(含 other )的 min_percent 之和为 100,weight_percent 之和为 100。
为租户配置各类别 I/O 请求的百分比的示例如下:
obclient> ALTER SYSTEM SET io_category_config = 'user: 30, 90, 50; log: 30, 90, 30; sys: 10, 10, 10; other: 30, 100, 10;';