You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q1:
In a situation where data is continuously streaming in and the size keeps growing, is it recommended to pre-activate mmap in advance, or is it better to monitor the situation and activate it only when needed?
Q2:
# Get existing collectioncollection=Collection("test_collection") # Replace with your collection name# Set memory mapping property to True or Flasecollection.set_properties({'mmap.enabled': True})
When executing the above code, does it apply to all raw data, including the vector field, except for pk and timestamp?
Q3:
After 2.4.10, the memory mapping settings within a collection, utilize the add_field method. Here, you can toggle mmap_enabled between True or False as needed.
The content mentioned above can be applied when creating a new collection, but is it not applicable to an already operational collection?
Q4:
# This parameter was set in configs/milvus.yaml
...
queryNode:
mmap:
vectorField: false # Enable mmap for loading vector datavectorIndex: false # Enable mmap for loading vector indexscalarField: false # Enable mmap for loading scalar datascalarIndex: false # Enable mmap for loading scalar index
....
Can scalar data be memory-mapped?
Memory mapping can be applied to scalar data, but it is not applicable to indexes built on scalar fields.
The two statements seem contradictory. Does mmap also apply to the scalar index?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Q1:
In a situation where data is continuously streaming in and the size keeps growing, is it recommended to pre-activate mmap in advance, or is it better to monitor the situation and activate it only when needed?
Q2:
When executing the above code, does it apply to all raw data, including the vector field, except for pk and timestamp?
Q3:
The content mentioned above can be applied when creating a new collection, but is it not applicable to an already operational collection?
Q4:
The two statements seem contradictory. Does mmap also apply to the scalar index?
Beta Was this translation helpful? Give feedback.
All reactions