Data management method, corresponding device and system
The invention discloses a data management method which can be applied to a database system, such as a vector database system. According to the method, the data in the disk can be recorded through the index map in the memory, so that when the variable data (newly added data, data to be updated or dat...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data management method which can be applied to a database system, such as a vector database system. According to the method, the data in the disk can be recorded through the index map in the memory, so that when the variable data (newly added data, data to be updated or data to be deleted) exists, only the index information associated with the variable data needs to be determined according to the index map, and the index information associated with the variable data is serialized into the disk from the memory. According to the method, merging from the memory index to the disk index in the serialization process is not needed, so that the serialization speed can be increased, the memory can be quickly unlocked, and the performance of a database system is improved.
本申请公开了一种数据管理方法,可以应用于数据库系统,例如:向量数据库系统。该方法可以通过内存中的索引图来记录磁盘中的数据,这样,当有变量数据(新增数据、待更新数据或有待删除数据)时,只需要根据索引图确定变量数据关联的索引信息,将该变量数据关联的索引信息从内存序列化到磁盘中即可。不需要在序列化的过程中做从内存索引到磁盘索引的合并,可以提高序列化的速度,进而可以快速解锁内存,提高了数据库系统的性能。 |
---|