-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rocksdb 2台从服务器的sst文件区别很大 #2721
Comments
what's your HG version? Try to use 1.5.0+ for the community support, the previous multi-replica version has been archived and is no longer being maintained 🔢 |
i'm using 1.0.0 version of hugegraph. |
@dosu could you help the user to provide ways and methods for locating problems |
你能提供更多关于你的部署和配置的信息吗?例如,数据分片策略、复制因子、以及是否有任何自定义的配置参数。这些信息可能有助于更好地理解为什么两个从服务器的磁盘使用情况不同。 To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
2台机器都是这个配置,大部分都是1.0.0项目rocskdb默认配置 # gremlin entrance to create graph
# auth config: org.apache.hugegraph.auth.HugeFactoryAuthProxy
gremlin.graph=org.apache.hugegraph.HugeFactory
# cache config
#schema.cache_capacity=100000
# vertex-cache default is 1000w, 10min expired
vertex.cache_type=l2
vertex.cache_capacity=0
#vertex.cache_expire=600
# edge-cache default is 100w, 10min expired
edge.cache_type=l2
edge.cache_capacity=0
#edge.cache_expire=600
# schema illegal name template
#schema.illegal_name_regex=\s+|~.*
#vertex.default_label=vertex
backend=rocksdb
serializer=binary
store=octo_rocksdb
raft.mode=true
raft.path=/home/*/data1/octo-graph/raft-log
raft.safe_read=false
raft.use_replicator_pipeline=true
raft.election_timeout=10000
raft.snapshot_interval=21600
raft.backend_threads=48
raft.read_index_threads=8
raft.snapshot_threads=4
raft.snapshot_parallel_compress=true
raft.snapshot_compress_threads=16
raft.snapshot_decompress_threads=16
raft.read_strategy=ReadOnlyLeaseBased
raft.queue_size=16384
raft.queue_publish_timeout=60
raft.apply_batch=1
raft.rpc_threads=80
raft.rpc_connect_timeout=5000
raft.rpc_timeout=60
raft.install_snapshot_rpc_timeout=36000
search.text_analyzer=jieba
search.text_analyzer_mode=INDEX
# rocksdb backend config
rocksdb.data_path=/home/*/data1/octo-graph/rocksdb_data
rocksdb.wal_path=/home/*/data1/octo-graph/rocksdb_log |
@dosu based on the context that user provided, give suggestion as much as possible |
To address the discrepancy in SST file sizes and counts between your two RocksDB replica servers, consider the following suggestions:
By following these steps, you should be able to identify and resolve the discrepancies in SST file sizes and counts between your RocksDB replica servers. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Problem Type (问题类型)
None
Before submit
Environment (环境信息)
Your Question (问题描述)
第一台机器:
du -sh *
817G raft-log
1.3T rocksdb_data
0 rocksdb_log
find G -type f | wc -l
2w个sst文件
第二台机器:
732G raft-log
764G rocksdb_data
0 rocksdb_log
find G -type f | wc -l
1w个sst文件
我的是一主6从部署,为什么2个从服务器的占用磁盘大小不一致
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
The text was updated successfully, but these errors were encountered: