提交 8a89550f 编写于 作者: D dapan1121

fix: skiplist level

上级 8bf49fdb
......@@ -16,7 +16,7 @@
#include "tsdb.h"
#define MEM_MIN_HASH 1024
#define SL_MAX_LEVEL 1
#define SL_MAX_LEVEL 5
// sizeof(SMemSkipListNode) + sizeof(SMemSkipListNode *) * (l) * 2
#define SL_NODE_SIZE(l) (sizeof(SMemSkipListNode) + ((l) << 4))
......
......@@ -29,7 +29,7 @@ const SVnodeCfg vnodeCfgDefault = {.vgId = -1,
.tsdbCfg = {.precision = TSDB_TIME_PRECISION_MILLI,
.update = 1,
.compression = 2,
.slLevel = 5,
.slLevel = 1,
.days = 14400,
.minRows = 100,
.maxRows = 4096,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册