With single Milvus instance , Whether to support querying two collections using multiple threads at the same time #3627
-
Have two collection , One is a dynamic library using FLAT index ,where new vectors can be added at any time, The other is the static collection using HNSW index, 3million, no new data Serial query of two collections is time-consuming, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can certainly query two collections in multiple threads. First of all, you need to set |
Beta Was this translation helpful? Give feedback.
You can certainly query two collections in multiple threads.
First of all, you need to set
cache_size
to be larger than the memory required for the two collections. Alternatively, you can start multiple Milvus clients and implement multiple threads to query the two collections.