Distributed database non-shard field querying method, system and device

The invention discloses a distributed database non-shard field querying method, system and device, and relates to the technical field of distributed databases. The querying method includes that a client queries index information of a non-shard field from a global index database; the client queries i...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HU YINGMAO, XING YU, TIAN XIQING, ZHU HAIYUN, ZHU MINGYING, WANG HAIXIA
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 discloses a distributed database non-shard field querying method, system and device, and relates to the technical field of distributed databases. The querying method includes that a client queries index information of a non-shard field from a global index database; the client queries information of the non-shard field from a distributed database where the non-shard field is located if the index information is information of the distributed database where the non-shard field is located; or the client determines a distributed database where the non-shard field is located according to a shard primary key corresponding to the non-shard field if the index information is the shard primary key corresponding to the non-shard field, and queries information of the non-shard field from the distributed database where the non-shard field is located. In this way, the non-shard field can be rapidly and effectively queried. 本发明公开了种分布式数据库非分片字段的查询方法、系统和设备,涉及分布式数据库技术领域。客户端向全局索引库查询到非分片字段的索引信息;如果索引信息为非分片字段所在的分布式数据库的