会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 64. 发明公开
    • DATA STORAGE METHOD AND DEVICE FOR DISTRIBUTED DATABASE
    • 分布式数据库的数据存储方法和装置
    • EP3018593A1
    • 2016-05-11
    • EP14835967.2
    • 2014-07-01
    • Huawei Technologies Co., Ltd.
    • ZHANG, Jun
    • G06F17/30
    • G06F16/22G06F16/2379G06F16/245G06F16/2471G06F16/27
    • Embodiments of the present invention provide a data storage method and apparatus for a distributed database. The method includes: receiving, by a first node, a record insertion request, where 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, 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 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. The method provided in the embodiments of the present invention resolves a technical problem of low data insertion efficiency and a low data update speed in the prior art.
    • 本发明的实施例提供了用于分布式数据库的数据存储方法和装置。 该方法包括:第一节点接收记录插入请求,该记录插入请求携带第一记录; 所述第一节点根据外键标识和存储节点的映射关系确定第一记录对应的第一存储节点,所述第一关联记录的主键标识 与第一条记录的外键标识符相同; 以及由所述第一节点将所述第一记录插入到所述第一存储节点中的第二节点。 本发明实施例提供的方法解决了现有技术中数据插入效率低,数据更新速度低的技术问题。