发明名称 DATA STORAGE METHOD AND APPARATUS
摘要 The present invention discloses 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, in the KeyValue type distributed database, of each data object in the at least two data objects, where the row identifier format includes the same column attribute and a data object identifier, and data object identifiers of different data objects in the at least two data objects are at a same location in the row identifier format and located after the same column attribute; 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 the row identifier value of each data record and each data record in the KeyValue type distributed database, where the row identifier value of each data record is used as a primary index, in the KeyValue type distributed database, of each data record. The data storage method and apparatus in embodiments of the present invention can improve data query efficiency.
申请公布号 CA2921616(C) 申请公布日期 2017.03.07
申请号 CA20132921616 申请日期 2013.08.29
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 BI, JIESHAN;ZHI, WEI
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址