From the course: LLM Foundations: Vector Databases for Caching and Retrieval Augmented Generation (RAG)
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Managing data in Milvus
From the course: LLM Foundations: Vector Databases for Caching and Retrieval Augmented Generation (RAG)
Managing data in Milvus
One of the key operations with the database is inserting, updating, and deleting data. Let's quickly review the capabilities provided by Milvus in this regard. We will demonstrate them with code examples in the next chapter. So what data management capabilities exist in Milvus? In Milvus, data is stored in collections. Each row or record in a collection is referred to as an entity. We will use entities and rows interchangeably in this course. In addition to inserting a single row of data, Milvus provides the ability to upload data in bulk. This is the most common pattern for data insertion, especially when loading large documents. It is also optimal to insert data in bulk rather than as individual rows. After inserts are done, a flush operation is needed before newly inserted data is indexed based on the indexes created. Milvus automatically flushes data after the pending records reach a specific size after insertion. But if immediate querying is needed, it is recommended to manually…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Introduction to Milvus DB1m 53s
-
(Locked)
Milvus architecture2m 37s
-
(Locked)
Collections in Milvus3m 35s
-
(Locked)
Partitions in Milvus1m 15s
-
(Locked)
Indexes in Milvus1m 50s
-
(Locked)
Managing data in Milvus1m 38s
-
(Locked)
Query and search in Milvus4m 5s
-
(Locked)
Set up Milvus and exercise files4m 55s
-
-
-
-
-
-
-