集群参数列表
更新时间:2026-02-10
集群参数列表
接口描述
本接口用于获取集群参数列表。
请求结构
Plain Text
1GET /v{version}/ddc/ob/instance/{instanceId}/parameters HTTP/1.1
2Host: ddc.bj.baidubce.com
3Authorization: authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
| 参数名称 | 类型 | 是否必选 | 参数位置 | 描述 |
|---|---|---|---|---|
| version | String | 是 | URL参数 | API版本号。 |
| instanceId | String | 是 | URL参数 | 集群ID。 |
响应头域
除公共头域外,无其它特殊头域。
响应参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| result | List<Parameter> | 参数列表。 |
Parameter
| 参数名称 | 类型 | 描述 |
|---|---|---|
| name | String | 参数名称。 |
| currentValue | String | 当前参数值。 |
| needReboot | Boolean | 是否需要重启生效。 |
| defaultValue | String | 默认参数值。 |
| valueType | String | 参数值类型。取值参考:ObParameterValueType |
| acceptableValue | List<String> | 参数取值合法范围。 |
| rejectedValue | List<String> | 参数取值非法范围。排除参数取值合法范围内的部分参数。 |
| description | String | 参数描述。 |
请求示例
Plain Text
1GET http://ddc.bj.baidubce.com/v1/ddc/ob/instance/ob7eyqcco3ya4g/parameters
2Host: ddc.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
响应示例
Plain Text
1HTTP/1.1 200 OK
2Content-Type: application/json;charset=UTF-8
3Date: Wed, 08 Jul 2015 03:28:11 GMT
4x-bce-request-id: d8752367-38e8-45e4-b4c7-e53be3137ce5
5Server: BWS
6{
7 "result": [
8 {
9 "name": "location_refresh_thread_count",
10 "currentValue": "3",
11 "needReboot": false,
12 "defaultValue": "4",
13 "valueType": "RANGE",
14 "acceptableValue": [
15 "2",
16 "64"
17 ],
18 "rejectedValue": [],
19 "description": "The number of threads used for refreshing the location cache."
20 },
21 {
22 "name": "user_row_cache_priority",
23 "currentValue": "1",
24 "needReboot": false,
25 "defaultValue": "1",
26 "valueType": "RANGE",
27 "acceptableValue": [
28 "1",
29 "99"
30 ],
31 "rejectedValue": [],
32 "description": "The priority of baseline data row cache in the cache system."
33 },
34 {
35 "name": "schema_history_expire_time",
36 "currentValue": "7d",
37 "needReboot": false,
38 "defaultValue": "7d",
39 "valueType": "TIME",
40 "acceptableValue": [
41 "1h",
42 "30d"
43 ],
44 "rejectedValue": [],
45 "description": "The object retention time in the recycle bin."
46 },
47 {
48 "name": "fuse_row_cache_priority",
49 "currentValue": "1",
50 "needReboot": false,
51 "defaultValue": "1",
52 "valueType": "RANGE",
53 "acceptableValue": [
54 "1",
55 "99"
56 ],
57 "rejectedValue": [],
58 "description": "The priority for row cache fusion in the cache system."
59 },
60 {
61 "name": "sys_bkgd_net_percentage",
62 "currentValue": "60",
63 "needReboot": false,
64 "defaultValue": "60",
65 "valueType": "RANGE",
66 "acceptableValue": [
67 "0",
68 "100"
69 ],
70 "rejectedValue": [],
71 "description": "The percentage of network bandwidth that can be used by background system tasks."
72 },
73 {
74 "name": "large_query_threshold",
75 "currentValue": "5s",
76 "needReboot": false,
77 "defaultValue": "100ms",
78 "valueType": "TIME",
79 "acceptableValue": [
80 "1ms",
81 "10s"
82 ],
83 "rejectedValue": [],
84 "description": "Specifies the execution time threshold at which a query is classified as a large query. When this threshold is reached, large query scheduling strategies are implemented."
85 },
86 {
87 "name": "micro_block_merge_verify_level",
88 "currentValue": "2",
89 "needReboot": false,
90 "defaultValue": "2",
91 "valueType": "RANGE",
92 "acceptableValue": [
93 "0",
94 "3"
95 ],
96 "rejectedValue": [],
97 "description": "Specifies the verification level of macroblocks in a major compaction."
98 },
99 {
100 "name": "bf_cache_priority",
101 "currentValue": "1",
102 "needReboot": false,
103 "defaultValue": "1",
104 "valueType": "RANGE",
105 "acceptableValue": [
106 "1",
107 "99"
108 ],
109 "rejectedValue": [],
110 "description": "Specifies the priority of the Bloom filter cache."
111 },
112 {
113 "name": "bf_cache_miss_count_threshold",
114 "currentValue": "100",
115 "needReboot": false,
116 "defaultValue": "100",
117 "valueType": "RANGE",
118 "acceptableValue": [
119 "1",
120 "65535"
121 ],
122 "rejectedValue": [],
123 "description": "Used to control the trigger count for bloom filter cache. When the macro block miss count reaches this value, a bloom filter cache is created. 0 means disabled."
124 },
125 {
126 "name": "user_block_cache_priority",
127 "currentValue": "1",
128 "needReboot": false,
129 "defaultValue": "1",
130 "valueType": "RANGE",
131 "acceptableValue": [
132 "1",
133 "99"
134 ],
135 "rejectedValue": [],
136 "description": "The priority of block index in the cache system."
137 },
138 {
139 "name": "memory_reserved",
140 "currentValue": "500M",
141 "needReboot": false,
142 "defaultValue": "500M",
143 "valueType": "CAPACITY",
144 "acceptableValue": [
145 "10M",
146 "2G"
147 ],
148 "rejectedValue": [],
149 "description": "The size of memory reserved."
150 },
151 {
152 "name": "builtin_db_data_verify_cycle",
153 "currentValue": "20",
154 "needReboot": false,
155 "defaultValue": "20",
156 "valueType": "RANGE",
157 "acceptableValue": [
158 "0",
159 "360"
160 ],
161 "rejectedValue": [],
162 "description": "The self-check cycle for corrupted blocks, in days. The value 0 means no checking."
163 },
164 {
165 "name": "location_fetch_concurrency",
166 "currentValue": "20",
167 "needReboot": false,
168 "defaultValue": "20",
169 "valueType": "RANGE",
170 "acceptableValue": [
171 "1",
172 "1000"
173 ],
174 "rejectedValue": [],
175 "description": "The maximum level of concurrency for refreshing location cache information."
176 },
177 {
178 "name": "virtual_table_location_cache_expire_time",
179 "currentValue": "8s",
180 "needReboot": false,
181 "defaultValue": "8s",
182 "valueType": "TIME",
183 "acceptableValue": [
184 "1s",
185 "3600s"
186 ],
187 "rejectedValue": [],
188 "description": "The expiration time for cached location information of virtual tables."
189 },
190 {
191 "name": "location_cache_refresh_min_interval",
192 "currentValue": "100ms",
193 "needReboot": false,
194 "defaultValue": "100ms",
195 "valueType": "TIME",
196 "acceptableValue": [
197 "0ms",
198 "10s"
199 ],
200 "rejectedValue": [],
201 "description": "The minimum interval for sending location cache refresh requests, which prevents excessive refresh requests from overloading the system."
202 },
203 {
204 "name": "recyclebin_object_expire_time",
205 "currentValue": "1m",
206 "needReboot": false,
207 "defaultValue": "7d",
208 "valueType": "TIME",
209 "acceptableValue": [
210 "0s",
211 "1000d"
212 ],
213 "rejectedValue": [],
214 "description": "Expiration time for objects in the recycle bin. A value of 0s indicates that the automatic purge feature of the recycle bin is disabled. A non-zero value means that the schema objects that have remained in recycle bin for the specified time will be purged."
215 }
216 ]
217}
评价此篇文章
