How Milvus Implements Dynamic Data Update And Query
Apr 13, 2020milvus

Summary
This post details Milvus's internal mechanism for handling dynamic data updates and near real-time queries. It introduces the MemTable and MemTableFile architecture for managing data in memory, dividing MemTableFiles into mutable and immutable states. Data is inserted into a mutable MemTableFile, which transitions to an immutable state and is then serialized to disk by a background thread. This process ensures data is available for searching shortly after insertion, with a maximum latency of one second. The post also touches upon merging serialized files and asynchronous index building.
More from the AI Data Storage Engine trail
- Milvus Snapshots: Point-in-Time Collection Views Without Copying Data
- Announcing Milvus 3.0: Lake-Native Vector Search and a More Powerful Retrieval Engine
- How to Recover Milvus Data After etcd Corruption Without a Backup
- Open Tag: An Open-Source Claude Tag for Claude Code and Codex
- How Force Merge Compaction Nearly Doubled Milvus Search QPS