You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2021/05/12 00:59:00 UTC
[jira] [Created] (IOTDB-1373) Adjust the tsfile_size_threshold
automatically
Jialin Qiao created IOTDB-1373:
----------------------------------
Summary: Adjust the tsfile_size_threshold automatically
Key: IOTDB-1373
URL: https://issues.apache.org/jira/browse/IOTDB-1373
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Jialin Qiao
Currently, when we need to flush a memtable, we check if the size of target TsFile is larger than the tsfile_size_threshold. If the target TsFile is larger than this parameter, we close the TsFile after flushing.
If a TsFile is not close, all ChunkMetadata will cached in memory, so we set tsfile_size_threshold to 1 to restrict that only two memtables are in TsFile. This is a simple way to avoid OOM.
However, each file contains two memtable is not efficient.
We need to enlarge tsfile_size_threshold and avoid OOM.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)