数据查询方法、装置、存储介质及处理器

本发明公开了一种数据查询方法、装置、存储介质及处理器。包括:获取查询指令,查询指令用于查询第一类数据中的第一数据,以及第一数据在至少一个第二类数据中所对应的第二数据;根据查询指令确定第一对应关系和至少一个第二对应关系,并在第一类数据中查询第一数据,第一对应关系用于表示第一类数据中的数据与第一标识的对应关系,第二对应关系用于表示第二类数据中的数据与第二标识的对应关系,第二标识是根据第一标识确定的;在第一标识中根据第一对应关系查询与第一数据对应的指定标识;根据指定标识和至少一个第二对应关系,在至少一个第二类数据中查询指定标识对应的第二数据。本发明解决了查询有倾斜性特点的数据效率低的技术问题。 Th...

Full description

Saved in:
Bibliographic Details
Format Patent
LanguageChinese
Published 12.04.2022
Subjects
Online AccessGet full text

Cover

More Information
Summary:本发明公开了一种数据查询方法、装置、存储介质及处理器。包括:获取查询指令,查询指令用于查询第一类数据中的第一数据,以及第一数据在至少一个第二类数据中所对应的第二数据;根据查询指令确定第一对应关系和至少一个第二对应关系,并在第一类数据中查询第一数据,第一对应关系用于表示第一类数据中的数据与第一标识的对应关系,第二对应关系用于表示第二类数据中的数据与第二标识的对应关系,第二标识是根据第一标识确定的;在第一标识中根据第一对应关系查询与第一数据对应的指定标识;根据指定标识和至少一个第二对应关系,在至少一个第二类数据中查询指定标识对应的第二数据。本发明解决了查询有倾斜性特点的数据效率低的技术问题。 The invention discloses a data query method and device, a storage medium and a processor. The method comprises the steps of acquiring a query instruction, wherein the query instruction is used for querying first data in first type of data, and second data corresponding to the first data in at least one piece of second type of data; determining a first corresponding relation and at least one secondcorresponding relation according to the query instruction, and querying the first data in the first type of data, wherein the first corresponding relation is used for representing a corresponding relation between the data in the first type of data and a first identifier, the second corresponding relation is used for represen
Bibliography:Application Number: CN201810387774