发明名称 REQUEST ROUTING AND QUERY PROCESSING IN A SHARDED DATABASE
摘要 Techniques are provided for creating, organizing, and maintaining a sharded database. A sharded database can be created using user-defined sharding, system-managed sharding, or composite sharding. The sharded database is implemented with relational database techniques. The techniques described can be used to route database requests and process queries in a sharded database.
申请公布号 US2017103094(A1) 申请公布日期 2017.04.13
申请号 US201615268108 申请日期 2016.09.16
申请人 Oracle International Corporation 发明人 Hu Wei-Ming;Dilman Mark;Novak Leonid;Taranov Ilya;Zeng Zheng;de Lavarene Jean;Hegde Vidya
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method, comprising: storing, by a shard coordinator, a plurality of map entries; wherein each map entry, of the plurality of map entries, maps a distinct sharding key value set to a shard of a plurality of shards of a sharded database; wherein each shard of the plurality of shards comprises one or more database servers; receiving, at the shard coordinator, a first query from a client application, wherein the first query comprises a first sharding key value; in response to receiving the first query, performing: identifying a particular map entry, of the plurality of map entries, that corresponds to the sharding key value set that includes the first sharding key value;using the particular map entry to identify a target shard from the plurality of shards;generating a first result for the first query by using the target shard that corresponds to the sharding key value set that includes the first sharding key value; andsending, to the client application, a response to the first query that is based on the first result.
地址 Redwood Shores CA US