共用相關組態

common.defaultPartitionName

說明 預設值
建立集合時的預設分割區名稱 _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 代替 遠端

common.simdType

說明 預設值
  • 預設值:自動
  • 有效值:[自動、avx512、avx2、avx、sse4_2]
  • 此設定僅供 querynode 和 indexnode 使用,它選擇搜尋和建立索引的 CPU 指令集。
  • 自動

    common.security.superUsers

    說明 預設值
  • 超級使用者會忽略某些系統檢查程序、
  • 如更新認證時的舊密碼驗證。
  • common.security.defaultRootPassword

    說明 預設值
    root 使用者的預設密碼。最大長度為 72 個字元,且必須使用雙引號。 密碼

    common.security.rootShouldBindRole

    說明 預設值
    啟用授權時,root 使用者是否應該綁定角色。 假

    common.security.rbac.overrideBuiltInPrivilegeGroups.enabled

    說明 預設值
    是否覆寫內建的權限群組 false

    common.security.rbac.cluster.readonly.privileges

    說明 預設值
    群集層級唯讀權限 ListDatabases,SelectOwnership,SelectUser,DescribeResourceGroup,ListResourceGroups,ListPrivilegeGroups

    common.security.rbac.cluster.readwrite.privileges

    說明 預設值
    群集層級讀寫權限 資料庫清單,選擇所有權,選擇使用者,描述資源群組,資源群組清單,權限群組清單,FlushAll,TransferNode,TransferReplica,UpdateResourceGroups...

    common.security.rbac.cluster.admin.privileges

    說明 預設值
    群集層級管理權限 ListDatabases,SelectOwnership,SelectUser,DescribeResourceGroup,ListResourceGroups,ListPrivilegeGroups,FlushAll,TransferNode,TransferReplica,UpdateResourceGroups,BackupRBAC,RestoreRBAC,CreateDatabase、DropDatabase,CreateOwnership,DropOwnership,ManageOwnership,CreateResourceGroup,DropResourceGroup,UpdateUser,RenameCollection,CreatePrivilegeGroup,DropPrivilegeGroup,OperatePrivilegeGroup

    common.security.rbac.database.readonly.privileges

    說明 預設值
    資料庫層級的唯讀權限 顯示資料集、描述資料庫

    common.security.rbac.database.readwrite.privileges

    說明 預設值
    資料庫層級讀寫權限 顯示收藏集,描述資料庫,變更資料庫

    common.security.rbac.database.admin.privileges

    說明 預設值
    資料庫層級管理權限 ShowCollections,DescribeDatabase,AlterDatabase,CreateCollection,DropCollection

    common.security.rbac.collection.readonly.privileges

    說明 預設值
    資料庫層級唯讀權限 查詢,搜尋,索引詳細資料,GetFlushState,GetLoadState,GetLoadingProgress,HasPartition,ShowPartitions,DescribeCollection,DescribeAlias,GetStatistics,ListAliases。

    common.security.rbac.collection.readwrite.privileges

    說明 預設值
    集合層級讀寫權限 查詢,搜尋,IndexDetail,GetFlushState,GetLoadState,GetLoadingProgress,HasPartition,ShowPartitions,DescribeCollection,DescribeAlias,GetStatistics,ListAliases,Load,Release,Insert,Delete,Upsert,Import,Flush,Compaction,LoadBalance,CreateIndex,DropIndex,CreatePartition,DropPartition。

    common.security.rbac.collection.admin.privileges

    說明 預設值
    集合層級管理權限 Query,Search,IndexDetail,GetFlushState,GetLoadState,GetLoadingProgress,HasPartition,ShowPartitions,DescribeCollection,DescribeAlias,GetStatistics,ListAliases,Load,Release,Insert,Delete,Upsert,Import,Flush,Compaction,LoadBalance,CreateIndex,DropIndex,CreatePartition,DropPartition,CreateAlias,DropAlias

    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.locks.maxWLockConditionalWaitTime

    說明 預設值
    等待 wlock 條件的最長秒數 600

    common.ttMsgEnabled

    說明 預設值
  • 是否停用系統的內部時間訊息機制。
  • 如果停用 (設定為 false),系統將不允許 DML 操作,包括插入、刪除、查詢和搜尋。
  • 這有助於 Milvus-CDC 同步增量資料
  • 真

    common.traceLogMode

    說明 預設值
    追蹤請求資訊 0

    common.bloomFilterSize

    說明 預設值
    bloom filter 初始大小 100000

    common.bloomFilterType

    說明 預設值
    bloom filter 類型,支援 BasicBloomFilter 和 BlockedBloomFilter 封鎖 BloomFilter

    common.maxBloomFalsePositive

    說明 預設值
    bloom 過濾器的最大誤判率 0.001

    common.bloomFilterApplyBatchSize

    說明 預設值
    將 pk 應用於 bloom filter 時的批次大小 1000

    common.collectionReplicateEnable

    說明 預設值
    是否啟用收集複製。 假

    common.usePartitionKeyAsClusteringKey

    說明 預設值
    若為 true,則在分割區鍵欄位上執行群集壓縮和分割修剪 假

    common.useVectorAsClusteringKey

    說明 預設值
    如果為 true,會對向量欄位進行聚類壓縮和分割修剪 假

    common.enableVectorClusteringKey

    說明 預設值
    如果為 true,啟用向量聚類關鍵和向量聚類壓縮 假

    common.localRPCEnabled

    說明 預設值
    當混合或獨立模式時,啟用本機 rpc 進行內部通訊。 假

    common.sync.taskPoolReleaseTimeoutSeconds

    說明 預設值
    等待任務完成並釋放池中資源的最長時間 60

    common.clusterID

    說明 預設值
  • 群集的唯一識別碼,用於自動識別碼的產生,以確保在多個 Milvus 群集中的全局唯一性。
  • 有效值:[0、1、2、3、4、5、6、7] (最多支援 8 個群集)
  • 每個群集必須有唯一的 clusterID,以防止執行多個群集時 AutoID 重疊。
  • 此 ID 嵌入在 64 位 AutoID 結構中,作為 cluster_id 段的一部分。
  • 如需詳細資訊,請參閱Primary Field & AutoID。
  • 0

    翻譯者DeepL

    免費嘗試托管的 Milvus

    Zilliz Cloud 無縫接入,由 Milvus 提供動力,速度提升 10 倍。

    開始使用
    反饋

    這個頁面有幫助嗎?