You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2021/06/15 07:05:00 UTC
[jira] [Created] (IOTDB-1440) Auto adjust the primitive_array_size
Jialin Qiao created IOTDB-1440:
----------------------------------
Summary: Auto adjust the primitive_array_size
Key: IOTDB-1440
URL: https://issues.apache.org/jira/browse/IOTDB-1440
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Jialin Qiao
We calculate the new primitive_array_size as long as the total time series changed.
If the new primitive_array_size reaches the change threshold, we start the adjust:
Store the size in TVList.
When an empty TVList applies a new array, give it the new size array.
When a non-empty TVList applies a new array, give it the origin size array.
If the put-backed array size is different from the new size, just discard it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)