forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
95 lines
10 KiB
HTML
95 lines
10 KiB
HTML
<a name="mrs_01_24159"></a><a name="mrs_01_24159"></a>
|
|
|
|
<h1 class="topictitle1">Configuring IoTDB Parameters</h1>
|
|
<div id="body0000001532790844"><div class="section" id="mrs_01_24159__section15452101742314"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_24159__p162451922112315">IoTDB uses the multi-replica deployment architecture to implement cluster high availability. Each region (DataRegion and SchemaRegion) has three replicas by default. You can also configure more replicas. If a node is faulty, replicas on other nodes of the region replica can take over services from the faulty node, ensuring service continuity and improving cluster stability.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_24159__section3535143117546"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_24159__ol97641055122317"><li id="mrs_01_24159__li67641755172310"><span>Log in to Manager, choose <strong id="mrs_01_24159__b18486132452111">Cluster</strong> > <strong id="mrs_01_24159__b1731582732112">Services</strong> > <strong id="mrs_01_24159__b119115323215">IoTDB</strong> > <strong id="mrs_01_24159__b11381143522110">Configurations</strong> > <strong id="mrs_01_24159__b122591139142110">All Configurations</strong> to go to the IoTDB configuration page, and modify the parameters.</span></li><li id="mrs_01_24159__li138971851304"><span>Modify the ConfigNode and IoTDBServer configurations.</span><p><ul id="mrs_01_24159__ul81603267716"><li id="mrs_01_24159__li139913534106">Modifying the ConfigNode configuration:<ul id="mrs_01_24159__ul9497132411315"><li id="mrs_01_24159__li549719248134">Click <strong id="mrs_01_24159__b588311186568">ConfigNode(Role)</strong>. You can modify the existing configuration according to <a href="#mrs_01_24159__table3406106165317">Table 1</a>.</li><li id="mrs_01_24159__li349722414131">Choose <strong id="mrs_01_24159__b2614444115616">ConfigNode(Role)</strong> > <strong id="mrs_01_24159__b127121447155617">Customization</strong>. You can customize ConfigNode configurations in the <strong id="mrs_01_24159__b7884142955710">confignode.customized.configs</strong> parameter according to <a href="#mrs_01_24159__table3406106165317">Table 1</a>.</li></ul>
|
|
</li><li id="mrs_01_24159__li1149802411135">Modifying the IoTDBServer configuration:<ul id="mrs_01_24159__ul1020277181410"><li id="mrs_01_24159__li1120213771411">Click <strong id="mrs_01_24159__b1883113175819">IoTDBServer(Role)</strong>. You can modify the existing configuration according to <a href="#mrs_01_24159__table3406106165317">Table 1</a>.</li><li id="mrs_01_24159__li10202137181418">Choose <strong id="mrs_01_24159__b7590151815817">IoTDBServer(Role)</strong> > <strong id="mrs_01_24159__b959651835814">Customization</strong>. You can customize IoTDBServer configurations in the <strong id="mrs_01_24159__b25993184582">engine.customized.configs</strong> parameter according to <a href="#mrs_01_24159__table3406106165317">Table 1</a>.</li></ul>
|
|
</li></ul>
|
|
|
|
<div class="tablenoborder"><a name="mrs_01_24159__table3406106165317"></a><a name="table3406106165317"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_24159__table3406106165317" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Common parameters</caption><thead align="left"><tr id="mrs_01_24159__row8404561537"><th align="left" class="cellrowborder" valign="top" width="25.58744125587441%" id="mcps1.3.2.2.2.2.2.2.5.1.1"><p id="mrs_01_24159__p340320612538">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.138886111388858%" id="mcps1.3.2.2.2.2.2.2.5.1.2"><p id="mrs_01_24159__p84031469537">Role</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="7.37926207379262%" id="mcps1.3.2.2.2.2.2.2.5.1.3"><p id="mrs_01_24159__p19403862533">Example Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.894410558944095%" id="mcps1.3.2.2.2.2.2.2.5.1.4"><p id="mrs_01_24159__p13403146165315">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_24159__row14405186125313"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p1040419615539">read_consistency_level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p13404176195312">ConfigNode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p5404126125315">strong</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p440456145318">Read consistency level of the custom parameter <strong id="mrs_01_24159__b0476914181015">confignode.customized.configs</strong>. Currently, the value can only be <strong id="mrs_01_24159__b17671853251">strong</strong> or <strong id="mrs_01_24159__b105289575519">weak</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row154051064533"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p2405106175318">flush_proportion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p11405156185318">IoTDBServer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p64052064535">0.4</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p640556125314">Write memory ratio for invoking disk flushing. If the write load is too high (for example, batch processing = 1000), you can reduce the value.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row2405106125312"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p740511615535">replica_affinity_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p84055645316">IoTDBServer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p14058665316">random</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p94052069536">When the value of <strong id="mrs_01_24159__b561130680">read_consistency_level</strong> is <strong id="mrs_01_24159__b1138519169815">weak</strong>, the strategy of the region replica node is selected for the query task.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row240576195312"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p20405126145314">coordinator_read_executor_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p15405176105319">IoTDBServer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p14052675314">20</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p17405562530">Number of read thread cores of the IoTDBServer Coordinator of the custom parameter <strong id="mrs_01_24159__b106661053115">engine.customized.configs</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row54065614539"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p154059675310">rpc_thrift_compression_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p204050695319">ALL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p1640516614532">false</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p16405666533">Whether to compress data during transmission. Data is not compressed by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row140610612538"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p840614619538">root.log.level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p440666135312">ALL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p154064645310">INFO</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p174063615539">IoTDB log level. The modification of this parameter takes effect without restarting related instances.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24159__row4406156185315"><td class="cellrowborder" valign="top" width="25.58744125587441%" headers="mcps1.3.2.2.2.2.2.2.5.1.1 "><p id="mrs_01_24159__p340610611534">SSL_ENABLE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.138886111388858%" headers="mcps1.3.2.2.2.2.2.2.5.1.2 "><p id="mrs_01_24159__p940616618531">ALL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.37926207379262%" headers="mcps1.3.2.2.2.2.2.2.5.1.3 "><p id="mrs_01_24159__p74062062532">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.894410558944095%" headers="mcps1.3.2.2.2.2.2.2.5.1.4 "><p id="mrs_01_24159__p540646135313">Whether to encrypt the channel between the client and server using SSL</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="mrs_01_24159__li961585920288"><span>Click <strong id="mrs_01_24159__b261818369322">Save</strong>.</span></li><li id="mrs_01_24159__li182501929198"><span>Click the <strong id="mrs_01_24159__b471211921310">Instance</strong> tab. Select the corresponding instance and choose <strong id="mrs_01_24159__b1130420781419">More</strong> > <strong id="mrs_01_24159__b5993411111417">Restart Instance</strong> to make the configuration take effect.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24144.html">Using IoTDB</a></div>
|
|
</div>
|
|
</div>
|
|
|