首页> 外国专利> Method for updating a data table in a KeyValue database and apparatus for updating table data

Method for updating a data table in a KeyValue database and apparatus for updating table data

机译:更新KeyValue数据库中的数据表的方法和更新表数据的设备

摘要

Embodiments of the present invention provide a method for updating a data table of a KeyValue database, including: receiving a full data updating instruction, acquiring to-be-imported data according to the full data updating instruction, and generating a full data updating file according to the to-be-imported data; acquiring M rows of old data in a data table corresponding to the full data updating instruction, and generating a full data deleting file according to M RowKeys of the M rows of old data; importing the full data updating file into the data table; and importing the full data deleting file into the data table. According to the method for updating a data table of a KeyValue database provided in the embodiments of the present invention, full updating of a data table of a KeyValue database can be implemented, and an updating speed is fast and atomicity is better. The embodiments of the present invention further provide a related apparatus for updating table data.
机译:本发明实施例提供了一种更新KeyValue数据库的数据表的方法,包括:接收完整数据更新指令,根据所述完整数据更新指令获取待导入数据,并根据所述完整数据更新文件生成要导入的数据;在与所述完整数据更新指令对应的数据表中获取M行旧数据,并根据所述M行旧数据中的M个RowKey,生成完整数据删除文件;将完整的数据更新文件导入数据表;并将完整的数据删除文件导入数据表。根据本发明实施例提供的密钥值数据库的数据表的更新方法,可以实现密钥值数据库的数据表的完全更新,更新速度快,原子性更好。本发明实施例还提供一种用于更新表数据的相关装置。

著录项

  • 公开/公告号JP6251388B2

    专利类型

  • 公开/公告日2017-12-20

    原文格式PDF

  • 申请/专利权人 華為技術有限公司;

    申请/专利号JP20160519954

  • 发明设计人 郭 益君;▲ビ▼ 杰山;

    申请日2015-02-17

  • 分类号G06F12;G06F17/30;

  • 国家 JP

  • 入库时间 2022-08-21 13:07:21

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号