METHOD FOR UPDATING DATA TABLE OF KEYVALUE DATABASE AND APPARATUS FOR UPDATING TABLE DATA
    1.
    发明申请
    METHOD FOR UPDATING DATA TABLE OF KEYVALUE DATABASE AND APPARATUS FOR UPDATING TABLE DATA 审中-公开
    用于更新关键值数据库的数据表的方法和用于更新表数据的装置

    公开(公告)号:US20160179836A1

    公开(公告)日:2016-06-23

    申请号:US15054475

    申请日:2016-02-26

    CPC classification number: G06F16/162 G06F16/2282 G06F16/23

    Abstract: Embodiments of the present application provide methods 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 present application, 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.

    Abstract translation: 本申请的实施例提供了更新KeyValue数据库的数据表的方法,包括:接收完整数据更新指令,根据完整数据更新指令获取待导入数据,并根据所述数据更新指令生成完整数据更新文件 要导入的数据; 在与完整数据更新指令相对应的数据表中获取M行旧数据,并根据M行的旧数据的M RowKeys生成完整数据删除文件; 将完整的数据更新文件导入到数据表中; 并将完整数据删除文件导入数据表。 根据本申请,可以实现KeyValue数据库的数据表的全面更新,更新速度快,原子性更好。 本发明的实施例还提供了一种用于更新表数据的相关装置。

    DATA STORAGE METHOD AND APPARATUS
    2.
    发明申请
    DATA STORAGE METHOD AND APPARATUS 有权
    数据存储方法和设备

    公开(公告)号:US20160179856A1

    公开(公告)日:2016-06-23

    申请号:US15054519

    申请日:2016-02-26

    Inventor: Jieshan BI Wei ZHI

    Abstract: A data storage method and apparatus. The method includes: determining a same column attribute of at least two data objects that are to be stored in a KeyValue type distributed database; determining a format of a row identifier of each data object of the at least two data objects, where the row identifier format includes the same column attribute and a data object identifier; determining a row identifier value of each data record of each data object according to the determined row identifier format of each data object; and storing each data record and the row identifier value of each data record, where the row identifier value of each data record is used as a primary index. The data storage method and apparatus in embodiments of the present invention can improve data query efficiency.

    Abstract translation: 数据存储方法和装置。 该方法包括:确定要存储在KeyValue类型分布式数据库中的至少两个数据对象的相同列属性; 确定所述至少两个数据对象的每个数据对象的行标识符的格式,其中所述行标识符格式包括相同的列属性和数据对象标识符; 根据确定的每个数据对象的行标识符格式确定每个数据对象的每个数据记录的行标识符值; 并且存储每个数据记录的每个数据记录和行标识符值,其中每个数据记录的行标识符值被用作主索引。 本发明实施例中的数据存储方法和装置可以提高数据查询效率。

Patent Agency Ranking