apache / apache/iotdb

A lighter InsertPlan for single data point insertion scenario

Open
#2,742 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

It is very common to insert data point by point into a single time series. For this scenario, IoTDB's InsertPlan is very unfriendly: a large number of array objects need to be constructed.

I suggest adding a separate InsertPlan (and corresponding execution logic) for this scenario to improve performance.

![image](https://user-images.githubusercontent.com/30497621/109296070-bd233600-786a-11eb-9ac7-1910089ff66f.png)

Contributor guide

Open the contributing guide

Research direction

The issue concerns IoTDB's InsertPlan for inserting one data point at a time into a single time series. Start by tracing the current InsertPlan construction and its execution logic, then compare the proposed path with the existing one. Done means a separate, lighter insertion path that reduces array-object construction and improves performance for this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.