Data query method and device, electronic device and storage medium

The invention relates to a data query method and device, an electronic device and a storage medium, and is applied to an HBase database, the method comprises the steps that a first data record is acquired from the HBase database, the first data record comprises a primary key and data corresponding t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAO YUHONG, YUAN XUHUAI, TAO CHENGXIAO, LI LIANGMIN, HUANG QI
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:The invention relates to a data query method and device, an electronic device and a storage medium, and is applied to an HBase database, the method comprises the steps that a first data record is acquired from the HBase database, the first data record comprises a primary key and data corresponding to the primary key, and the data corresponding to the primary key comprises a plurality of columns; the first data record is converted into a second data record of the relational database, and the second data record takes a primary key and a column name of at least one column as fields; generating an index of a field corresponding to each column name on the relational database; performing data query in the relational database based on the index to obtain a third data record hitting a preset query condition in the second data record; and acquiring a data record corresponding to the primary key of the third data record from the HBase database. Through the method and the device, the problem of low efficiency when multi