Skip to content

question abot mmap #40282

Mar 2, 2025 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Three entries to configure mmap:

  1. milvus.yaml
queryNode:
  mmap:
    vectorField: false # Enable mmap for loading vector data
    vectorIndex: false # Enable mmap for loading vector index
    scalarField: false # Enable mmap for loading scalar data
    scalarIndex: false # Enable mmap for loading scalar index
  1. collection level
    collection.set_properties({'mmap.enabled': True})
    In this doc mentioned: "At the collection level, memory mapping is applied to all unindexed raw data within a collection, excluding primary keys, timestamps, and row IDs. "

  2. index level
    schema.add_field(field_name="embedding", datatype=DataType.FLOAT_VECTOR, dim=768, mmap_enabled=True)
    The doc mentioned: "For ind…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@rere950303
Comment options

@yhmo
Comment options

yhmo Mar 3, 2025
Collaborator

Answer selected by rere950303
@rere950303
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants