Skip to content

[IOTDB-1131] Improve wal by using differential logging#3975

Closed
HTHou wants to merge 30 commits intomasterfrom
improve_wal
Closed

[IOTDB-1131] Improve wal by using differential logging#3975
HTHou wants to merge 30 commits intomasterfrom
improve_wal

Conversation

@HTHou
Copy link
Contributor

@HTHou HTHou commented Sep 16, 2021

Description

Original author: jt2594838
(Resubmit the PR #1869)

WALs may contain duplicated fields like deviceIds, measurementsId and data types. This PR aims to eliminate them to improve WAL performance when using small batchSize and without damaging the performance when using large batchSize.

Design:
Differential Logging.docx

Evaluation:
differentiation_logging.xlsx

jt2594838 and others added 30 commits October 12, 2020 15:04
# Conflicts:
#	server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
#	server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
#	server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
#	server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertTabletPlan.java
#	server/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java
#	server/src/main/java/org/apache/iotdb/db/writelog/recover/TsFileRecoverPerformer.java
fix log selection in log window
# Conflicts:
#	server/src/main/java/org/apache/iotdb/db/engine/flush/MemTableFlushTask.java
#	server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
#	server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
#	server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertTabletPlan.java
#	server/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java
#	server/src/main/java/org/apache/iotdb/db/utils/SerializeUtils.java
#	server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
# Conflicts:
#	server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
#	server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 33 Code Smells

46.3% 46.3% Coverage
2.8% 2.8% Duplication

@coveralls
Copy link

Coverage Status

Coverage remained the same at 67.479% when pulling faa8699 on improve_wal into e5d86c9 on master.

@HTHou HTHou closed this Apr 2, 2022
@HTHou HTHou deleted the improve_wal branch April 26, 2022 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants