常用相关配置
common.defaultPartitionName
| 说明 | 默认值 |
|---|---|
| 创建 Collection 时的默认 Partition 名称 | 默认 |
common.defaultIndexName
| 默认值 | 默认值 |
|---|---|
| 创建未指定名称的索引时的索引名称 | _default_idx |
common.entityExpiration
| 说明 | 默认值 |
|---|---|
| 实体过期时间,以秒为单位,注意 -1 表示永不过期 | -1 |
common.indexSliceSize
| 说明 | 默认值 |
|---|---|
| 索引片大小(MB | 16 |
common.threadCoreCoefficient.highPriority
| 说明 | 默认值 |
|---|---|
| 该参数指定线程数是高优先级池中内核数的多少倍 | 10 |
common.threadCoreCoefficient.middlePriority
| 说明 | 默认值 |
|---|---|
| 该参数指定线程数是中优先级池核心数的多少倍 | 5 |
common.threadCoreCoefficient.lowPriority
| 说明 | 默认值 |
|---|---|
| 该参数用于指定线程数是低优先级池核心数的多少倍 | 1 |
common.gracefulTime
| 说明 | 默认值 |
|---|---|
| 毫秒,表示在有界一致性情况下需要减去请求到达时间的间隔(毫秒)。 | 5000 |
common.gracefulStopTimeout
| 描述 | 默认值 |
|---|---|
| 秒,如果在这段时间内未完成优雅停止过程,它将强制退出服务器。 | 1800 |
common.storageType
| 说明 | 默认值 |
|---|---|
| 请在嵌入式 Milvus 中调整:本地,可用值为 [本地、远程、opendal],minio 值已被弃用,请使用远程代替 | 远程 |
common.simdType
| 说明 | 默认值 |
|---|---|
| - 默认值:自动 |
- 有效值:[自动、AVX512、AVX2、AVX、SSE4_2]
- 该配置仅用于 querynode 和 indexnode,它为搜索和建立索引选择 CPU 指令集。 | 自动 |
common.security.superUsers
| 说明 | 默认值 |
|---|---|
| - 超级用户将忽略某些系统检查进程、 |
- 如更新证书时的旧密码验证。 | |
common.security.defaultRootPassword
| 说明 | 默认值 |
|---|---|
| 根用户的默认密码 | Milvus |
common.session.ttl
| 说明 | 默认值 |
|---|---|
| 会话授予注册服务租期时的 ttl 值 | 30 |
common.session.retryTimes
| 说明 | 默认值 |
|---|---|
| 会话发送 etcd 请求时的重试次数 | 30 |
common.locks.metrics.enable
| 描述 | 默认值 |
|---|---|
| 是否为度量锁收集统计数据 | 假 |
common.locks.threshold.info
| 说明 | 默认值 |
|---|---|
| 信息级打印持续时间的最小毫秒数 | 500 |
common.locks.threshold.warn
| 说明 | 默认值 |
|---|---|
| 警告级别中打印持续时间的最小毫秒数 | 1000 |
common.ttMsgEnabled
| 说明 | 默认值 |
|---|---|
| - 是否禁用系统内部时间消息机制。 |
- 如果禁用(设置为 false),系统将不允许 DML 操作,包括插入、删除、查询和搜索。
- 这有助于 Milvus-CDC 同步增量数据 | 真 |
common.traceLogMode
| 说明 | 默认值 |
|---|---|
| 跟踪请求信息 | 0 |
common.bloomFilterSize
| 描述 | 默认值 |
|---|---|
| bloom 过滤器初始大小 | 100000 |
common.maxBloomFalsePositive
| 说明 | 默认值 |
|---|---|
| bloom 过滤器的最大误报率 | 0.001 |
common.bloomFilterType
| 说明 | 默认值 |
|---|---|
| bloom 过滤器类型,支持 BasicBloomFilter 和 BlockedBloomFilter | 基本开花过滤器 |
common.bloomFilterApplyBatchSize
| 描述 | 默认值 |
|---|---|
| 将 pk 应用于 BloomFilter 时的批量大小 | 1000 |
common.usePartitionKeyAsClusteringKey
| 说明 | 默认值 |
|---|---|
| 如果为 true,则对 Partition 关键字段进行聚类压缩和分段剪切 | 假 |
common.useVectorAsClusteringKey
| 说明 | 默认值 |
|---|---|
| 如果为 true,则对向量字段进行聚类压缩和分段剪裁 | 假 |
common.enableVectorClusteringKey
| 描述 | 默认值 |
|---|---|
| 如果为 true,则启用向量聚类键和向量聚类压缩 | 假 |