[ 
https://issues.apache.org/jira/browse/IOTDB-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195335#comment-17195335
 ] 

wangyanhong commented on IOTDB-840:
-----------------------------------

hi,I tested the memory used by the measurement schema of 1000000 test points

before 

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A37%3A0.png?version=1&modificationDate=1600072620824&api=v2!

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A37%3A24.png?version=1&modificationDate=1600072645167&api=v2!

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A37%3A10.png?version=1&modificationDate=1600072631347&api=v2!

 

after

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A38%3A2.png?version=1&modificationDate=1600072682590&api=v2!

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A38%3A27.png?version=1&modificationDate=1600072708230&api=v2!

!https://code.bonc.com.cn/confluence/download/attachments/59959438/image2020-9-14%2016%3A38%3A12.png?version=1&modificationDate=1600072693248&api=v2!

Save memory:(133.6-125.9)/133.6=5.76%

 

> Encode the three enum fields in MeasurementSchema to save memory
> ----------------------------------------------------------------
>
>                 Key: IOTDB-840
>                 URL: https://issues.apache.org/jira/browse/IOTDB-840
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: Jialin Qiao
>            Assignee: wangyanhong
>            Priority: Major
>              Labels: easy-fix, pull-request-available
>




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

Reply via email to