Tencent / Tendis

Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
http://tendis.cn
Other
2.87k stars 317 forks source link

tendis短期大量数据入库后,触发memtable和merge 的一些现象 #201

Open MollyBa opened 1 year ago

MollyBa commented 1 year ago

Description

背景:压测工具压了大批数据,memtier_benchmark -t1 -c1 -s -p --cluster-mode --ratio=1:1 -n5000 -d 512000000 (数据量io的瓶颈),在其后,发现集群整体性能下降, 普通的测试也较之前很差的结果,是因为数据量大memtable的不停的切到固定,不停的触发合并compact所致吗? image

这是普通测试的结果 TBV6O ({V$HG75EXNV1D~{5

这种情况下对线上可能有隐患,如何防止呢?还是我的使用有误 image


感谢大佬解答

takenliu commented 1 year ago

-d 512000000,你要测试每条value512MB的性能吗?这种情况下性能会有很大影响的。

MollyBa commented 1 year ago

-d 512000000,你要测试每条value512MB的性能吗?这种情况下性能会有很大影响的。

是想看每条的大小分水岭,现在已经停了,但是这个性能迟迟不能恢复,已经持续2天了。 需要重启吗?