You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Cpaulyz (via GitHub)" <gi...@apache.org> on 2023/11/22 03:45:17 UTC

[PR] Optimize memory usage of fetchSchema when inserting data [iotdb]

Cpaulyz opened a new pull request, #11591:
URL: https://github.com/apache/iotdb/pull/11591

   ## Description
   
   Use HashMap instead of 2D arrays to avoid space occupation in sparse matrices. Experiments with `testFetchSchemaPerfomance` demonstrate that performance is not affected, but there is a significant reduction in memory usage.
   
   Before:
   <img width="1227" alt="image" src="https://github.com/apache/iotdb/assets/43774645/e1d4d396-392c-4181-8fa3-dddeb612e318">
   
   
   After:
   <img width="1175" alt="image" src="https://github.com/apache/iotdb/assets/43774645/ec2e2741-9f0b-4306-9ffe-3ff2160e37c6">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Optimize memory usage of fetchSchema when inserting data [iotdb]

Posted by "MarcosZyk (via GitHub)" <gi...@apache.org>.
MarcosZyk merged PR #11591:
URL: https://github.com/apache/iotdb/pull/11591


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org