常见相关配置
common.defaultPartitionName
| 描述 | 默认值 |
|---|---|
| 创建Collection时默认分区的名称 | _default |
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 中进行调整:local,可用值为 [local、remote、opendal],值 minio 已弃用,请改用 remote | remote |
common.storage.useLoonFFI
| 描述 | 默认值 |
|---|---|
| 是否对新写入和压缩输出使用 Storage V3。此参数可刷新。 | false |
common.simdType
| 描述 | 默认值 |
|---|---|
|
|
auto |
common.security.superUsers
| 描述 | 默认值 |
|---|---|
|
|
common.security.defaultRootPassword
| 说明 | 默认值 |
|---|---|
| root 用户的默认密码。最大长度为 72 个字符,且必须使用双引号。 | Milvus |
common.security.rootShouldBindRole
| 描述 | 默认值 |
|---|---|
| 当启用授权时,root 用户是否应绑定一个角色。 | false |
common.security.rbac.overrideBuiltInPrivilegeGroups.enabled
| 描述 | 默认值 |
|---|---|
| 是否覆盖内置权限组 | false |
common.security.rbac.cluster.readonly.privileges
| 说明 | 默认值 |
|---|---|
| 集群级只读权限 | ListDatabases、SelectOwnership、SelectUser、DescribeResourceGroup、ListResourceGroups、ListPrivilegeGroups |
common.security.rbac.cluster.readwrite.privileges
| 描述 | 默认值 |
|---|---|
| 集群级读写权限 | ListDatabases、SelectOwnership、SelectUser、DescribeResourceGroup、ListResourceGroups、ListPrivilegeGroups、FlushAll、TransferNode、TransferReplica、UpdateResourceGroups |
common.security.rbac.cluster.admin.privileges
| 描述 | 默认值 |
|---|---|
| 集群级管理权限 | ListDatabases、SelectOwnership、SelectUser、DescribeResourceGroup、ListResourceGroups、ListPrivilegeGroups、FlushAll、TransferNode、TransferReplica、更新资源组、备份 RBAC、还原 RBAC、创建数据库、删除数据库、创建所有权、删除所有权、管理所有权、创建资源组、删除资源组、更新用户、重命名集合、创建权限组、删除权限组、操作权限组 |
common.security.rbac.database.readonly.privileges
| 描述 | 默认值 |
|---|---|
| 数据库级只读权限 | 显示集合、描述数据库 |
common.security.rbac.database.readwrite.privileges
| 描述 | 默认值 |
|---|---|
| 数据库级读写权限 | ShowCollections、DescribeDatabase、AlterDatabase |
common.security.rbac.database.admin.privileges
| 描述 | 默认值 |
|---|---|
| 数据库级管理权限 | ShowCollections、DescribeDatabase、AlterDatabase、CreateCollection、DropCollection |
common.security.rbac.collection.readonly.privileges
| 描述 | 默认值 |
|---|---|
| Collection级只读权限 | Query、Search、IndexDetail、GetFlushState、GetLoadState、GetLoadingProgress、HasPartition、ShowPartitions、DescribeCollection、DescribeAlias、GetStatistics、ListAliases |
common.security.rbac.collection.readwrite.privileges
| 描述 | 默认值 |
|---|---|
| Collection级读写权限 | 查询、搜索、索引详情、获取刷新状态、获取加载状态、获取加载进度、是否存在分区、显示分区、描述集合、描述别名、获取统计信息、列出别名、加载、释放、插入、删除、Upsert、导入、刷新、压缩、负载均衡、创建索引、删除索引、创建分区、删除分区 |
common.security.rbac.collection.admin.privileges
| 描述 | 默认值 |
|---|---|
| Collection级管理权限 | 查询、搜索、索引详情、获取刷新状态、获取加载状态、获取加载进度、是否存在分区、显示分区、描述集合、描述别名、获取统计信息、列出别名、加载、释放、插入、删除、更新或插入、导入、刷新、压缩、负载均衡、创建索引、删除索引、创建分区、删除分区、创建别名、删除别名 |
common.session.ttl
| 描述 | 默认值 |
|---|---|
| 会话向注册服务授予租约时的 TTL 值 | 30 |
common.session.retryTimes
| 描述 | 默认值 |
|---|---|
| 会话发送 etcd 请求时的重试次数 | 30 |
common.locks.metrics.enable
| 描述 | 默认值 |
|---|---|
| 是否收集指标锁的统计信息 | false |
common.locks.threshold.info
| 描述 | 默认值 |
|---|---|
| 在“info”级别打印持续时间所需的最小毫秒数 | 500 |
common.locks.threshold.warn
| 描述 | 默认值 |
|---|---|
| 在“警告”级别下打印持续时间所需的最小毫秒数 | 1000 |
common.locks.maxWLockConditionalWaitTime
| 说明 | 默认值 |
|---|---|
| 等待 wlock 条件表达式的最大秒数 | 600 |
common.ttMsgEnabled
| 描述 | 默认值 |
|---|---|
|
|
true |
common.traceLogMode
| 描述 | 默认值 |
|---|---|
| 跟踪请求信息 | 0 |
common.bloomFilterSize
| 描述 | 默认值 |
|---|---|
| 布隆过滤器初始大小 | 100000 |
common.bloomFilterType
| 描述 | 默认值 |
|---|---|
| 布鲁姆过滤器类型,支持 BasicBloomFilter 和 BlockedBloomFilter | BlockedBloomFilter |
common.maxBloomFalsePositive
| 描述 | 默认值 |
|---|---|
| 布隆过滤器的最大误报率 | 0.001 |
common.bloomFilterApplyBatchSize
| 描述 | 默认值 |
|---|---|
| 将 pk 应用于布隆过滤器时的批处理大小 | 1000 |
common.collectionReplicateEnable
| 说明 | 默认值 |
|---|---|
| 是否启用Collection复制。 | false |
common.usePartitionKeyAsClusteringKey
| 描述 | 默认值 |
|---|---|
| 如果为 true,则对Partition Key字段执行聚簇压缩和分段修剪 | false |
common.useVectorAsClusteringKey
| 说明 | 默认值 |
|---|---|
| 如果为 true,则对向量字段执行聚簇压缩和分段修剪 | false |
common.enableVectorClusteringKey
| 说明 | 默认值 |
|---|---|
| 如果为 true,则启用向量聚类键和向量聚类压缩 | false |
common.localRPCEnabled
| 说明 | 默认值 |
|---|---|
| 在混合或独立模式下,启用本地 RPC 用于内部通信。 | false |
common.sync.taskPoolReleaseTimeoutSeconds
| 描述 | 默认值 |
|---|---|
| 等待任务完成并释放资源池中资源的最长时间 | 60 |
common.clusterID
| 描述 | 默认值 |
|---|---|
|
|
0 |