发明名称 |
Data Storage Method and Apparatus for Distributed Database |
摘要 |
A data storage method and apparatus for a distributed database which includes receiving, by a first node, a record insertion request, where the record insertion request carries a first record, and determining, by the first node according to a mapping relationship between a foreign key identifier and a storage node, a first storage node on which a first associated record that corresponds to the first record is located, where a primary key identifier of the first associated record is same as a foreign key identifier of the first record, and inserting, by the first node, the first record to a second node in the first storage nodes. |
申请公布号 |
US2016162520(A1) |
申请公布日期 |
2016.06.09 |
申请号 |
US201615043853 |
申请日期 |
2016.02.15 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Zhang Jun |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A data storage method for a distributed database, comprising:
receiving, by a first node, a record insertion request, wherein the record insertion request carries a first record; determining, by the first node according to a mapping relationship between a foreign key identifier and a storage node, one or more first storage nodes on which a first associated record that corresponds to the first record is located, wherein a primary key identifier of the first associated record is the same as a foreign key identifier of the first record; and inserting, by the first node, the first record to a second node in the first storage nodes. |
地址 |
Shenzhen CN |