You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2021/03/23 03:08:00 UTC

[jira] [Created] (IOTDB-1251) optimization route intervals

Chao Wang created IOTDB-1251:
--------------------------------

             Summary: optimization route intervals
                 Key: IOTDB-1251
                 URL: https://issues.apache.org/jira/browse/IOTDB-1251
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Cluster
            Reporter: Chao Wang
            Assignee: Chao Wang
             Fix For: 0.12.0


When data is not partitioned, all data of a sequence is stored in partition 0. Therefore, during the query, we only need to route to partition 0 regardless of the interval. Therefore, partition calculation is not performed.
This reduces the time spent on partition calculation and routing to other partitions.
Current problems:
1. When
firstLB == Long.MIN_VALUE || lastUB == Long.MAX_VALUE
route all partiongroup.
2. For other time conditions, partition calculation is performed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)