You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "JiaXin Zhang (Jira)" <ji...@apache.org> on 2022/03/21 09:24:00 UTC
[jira] [Created] (IOTDB-2776) Improve the TsFileWriter's method: write(Tablet tablet)
JiaXin Zhang created IOTDB-2776:
-----------------------------------
Summary: Improve the TsFileWriter's method: write(Tablet tablet)
Key: IOTDB-2776
URL: https://issues.apache.org/jira/browse/IOTDB-2776
Project: Apache IoTDB
Issue Type: Improvement
Components: Core/TsFile
Reporter: JiaXin Zhang
Assignee: JiaXin Zhang
Fix For: master branch
By changing the method from the original write by row to write by column, the write performance of the method can be improved.The following is the test result:
*Test Configuration:*
The writing medium is HDD.
Scheme for writing data: <long(time), double(value)>
The written data is divided into two groups: A and B.
A:One device has 100 measuring points, and each measuring point inserts 100W lines.
B:One device has 1000 measuring points, and each measuring point inserts 100W lines.
write batchSize = 5000
*A:*
|| ||TsFile||TsFile(update)||
|Total file size(M):|172.48751544952393|172.48751544952393|
|time(ms)|1292.0548 ms|985.80145 ms|
*B:*
|| ||TsFile||TsFile(update)||
|Total file size(M):|1726.471918106079|1726.471918106079|
|time(ms)|20822.018 ms|10056.04|
--
This message was sent by Atlassian Jira
(v8.20.1#820001)