You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Houliang Qi (Jira)" <ji...@apache.org> on 2021/02/20 03:55:00 UTC
[jira] [Created] (IOTDB-1163) Optimize the insertion speed of
insertRecords interface in Session
Houliang Qi created IOTDB-1163:
----------------------------------
Summary: Optimize the insertion speed of insertRecords interface in Session
Key: IOTDB-1163
URL: https://issues.apache.org/jira/browse/IOTDB-1163
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Houliang Qi
Fix For: 0.12.0
At present, the insertRecords interface generates an InsertRowPlan for each record of data. In this way, a raft log will be generated in the cluster version. Because every raft log will be locked, it will bring a lot of overhead.
At the same time, if some records belong to the same raft replication group, they can be sent to other nodes of this raft group as a raft log, which will reduce the transmission of RPC.
For example, 10 records belong to the same raft replication group. If the 10 records are regarded as a raft log, one node needs one RPC. If each log is regarded as a raft log, it needs 10 RPCs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)