mirror of https://github.com/milvus-io/milvus.git
Change RockMQ page size to 256MB (#22432)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>pull/22479/head
parent
eefa29a5e8
commit
fa101e9751
|
@ -112,7 +112,7 @@ rocksmq:
|
|||
# please adjust in embedded Milvus: /tmp/milvus/rdb_data
|
||||
path: /var/lib/milvus/rdb_data
|
||||
lrucacheratio: 0.06 # rocksdb cache memory ratio
|
||||
rocksmqPageSize: 2147483648 # 2 GB, 2 * 1024 * 1024 * 1024 bytes, The size of each page of messages in rocksmq
|
||||
rocksmqPageSize: 268435456 # 256 MB, 256 * 1024 * 1024 bytes, The size of each page of messages in rocksmq
|
||||
retentionTimeInMinutes: 7200 # 5 days, 5 * 24 * 60 minutes, The retention time of the message in rocksmq.
|
||||
retentionSizeInMB: 8192 # 8 GB, 8 * 1024 MB, The retention size of the message in rocksmq.
|
||||
compactionInterval: 86400 # 1 day, trigger rocksdb compaction every day to remove deleted data
|
||||
|
|
|
@ -584,7 +584,7 @@ please adjust in embedded Milvus: /tmp/milvus/rdb_data`,
|
|||
Key: "rocksmq.rocksmqPageSize",
|
||||
DefaultValue: strconv.FormatInt(256<<20, 10),
|
||||
Version: "2.0.0",
|
||||
Doc: "2 GB, 2 * 1024 * 1024 * 1024 bytes, The size of each page of messages in rocksmq",
|
||||
Doc: "256 MB, 256 * 1024 * 1024 bytes, The size of each page of messages in rocksmq",
|
||||
Export: true,
|
||||
}
|
||||
r.PageSize.Init(base.mgr)
|
||||
|
|
Loading…
Reference in New Issue