Partition change method and device for medical data storage

Embodiments of the invention provide a partition change method and device for medical data storage. The method comprises the steps: obtaining newly added medical data at a current moment; if historical index information which is the same as the primary key value of the newly-added medical data is qu...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QIN XIAOHONG, HUANG ZHUBIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Embodiments of the invention provide a partition change method and device for medical data storage. The method comprises the steps: obtaining newly added medical data at a current moment; if historical index information which is the same as the primary key value of the newly-added medical data is queried in a preset index database, and the partition key value of the newly-added medical data is different from the partition key value in the historical index information, deleting the historical medical data corresponding to the historical index information from a distributed file system, writing the newly-added medical data into a first target file and then storing the newly-added medical data into a first target partition of the distributed file system; and on the basis of the partition key value of the newly-added medical data, the identification information of the first target file and the partition path of the first target partition, updating historical index information of the newly-added medical data in th