Performance: Slowdown When Increasing Search Limit #47345
-
|
Hello everyone! I need some help with a performance issue I'm encountering, please. I have a collection with the following structure: When performing vector searches using pymilvus's search() method, I'm observing significant performance degradation as I increase the limit parameter: Performance measurements: My question: I would greatly appreciate any insights, explanations, or optimization suggestions you might have! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Possible reason: the search() request returns vector field in the "output_fields" By default, vector field is not loaded into memory(only the index is loaded into querynode's memory). If a search request retrieves a vector field by "output_fields", it lazily reads the vectors from disk cache and search latency increases. |
Beta Was this translation helpful? Give feedback.
Possible reason: the search() request returns vector field in the "output_fields"
By default, vector field is not loaded into memory(only the index is loaded into querynode's memory). If a search request retrieves a vector field by "output_fields", it lazily reads the vectors from disk cache and search latency increases.
This behavior is configured in the milvus.yaml.
In v2.6.x, the queryNode.tieredStorage.warmup.vectorField is "disable":