Getting a unflushed vector by ID and explicitly not flushing it #35434
Replies: 2 comments
-
As we know, Milvus cluster includes a Pulsar(or Kafka) as a message queue which is like a WAL component. In Milvus standalone, the Pulsar/Kafka is replaced by a built-in RocksDB. In milvus, search() is for ANN similarity search, query() is for data retrieval such as get vector by id. When you call collection.insert(data=[V1]) from client side:
The mutable memory buffer can be indexed, the configuration in milvus.yaml, it is a IVF_FLAT index: https://milvus.io/docs/configure_querynode.md#queryNodesegcoreInterimIndex
We don't recommend users to call flush() manually because frequent flush action will generate lots of tiny segments and bring heavy impact to compaction machinery. |
Beta Was this translation helpful? Give feedback.
-
I want to insert a vector into a collection. Lets call is V1. is this a scalar filtering requirement? |
Beta Was this translation helpful? Give feedback.
-
Hi folks, not sure if its repeated, couldn't find any so far. I will keep looking.
My use case:
I am solving this by application logic. We do the recommended auto flush vs flush based on data ingestion rates. Flushing takes time and I want to see if I can eliminate that.
Here's my understanding of flush-
My question:
Beta Was this translation helpful? Give feedback.
All reactions