-
公开(公告)号:US10289710B2
公开(公告)日:2019-05-14
申请号:US15198273
申请日:2016-06-30
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yuansheng Liang , Li Yao , Jixuan Wang
IPC: G06F17/30
Abstract: Embodiments of the present invention provide a method for modifying a root node, and a modification apparatus. The method for modifying a root node of the present invention includes: receiving a root node modification request; modifying a root node in a data area of a database according to the modification information; replicating the modified root node to the general area of the database; finding, in the general area of the database, that an identifier of an active mapping page is the identifier of the first mapping page, and determining that the first mapping page is the active mapping page; and replacing the second mapping page with the modified root node according to the modified root node that is replicated to the general area, and modifying the identifier of the active mapping page to the identifier of the second mapping page. The present invention improves concurrent processing efficiency of indexing.
-
2.
公开(公告)号:US20160314159A1
公开(公告)日:2016-10-27
申请号:US15198273
申请日:2016-06-30
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Yuansheng Liang , Li Yao , Jixuan Wang
IPC: G06F17/30
CPC classification number: G06F17/30345 , G06F17/30289 , G06F17/30327 , G06F17/30557 , G06F17/30575
Abstract: Embodiments of the present invention provide a method for modifying a root node, and a modification apparatus. The method for modifying a root node of the present invention includes: receiving a root node modification request; modifying a root node in a data area of a database according to the modification information; replicating the modified root node to the general area of the database; finding, in the general area of the database, that an identifier of an active mapping page is the identifier of the first mapping page, and determining that the first mapping page is the active mapping page; and replacing the second mapping page with the modified root node according to the modified root node that is replicated to the general area, and modifying the identifier of the active mapping page to the identifier of the second mapping page. The present invention improves concurrent processing efficiency of indexing.
Abstract translation: 本发明的实施例提供了修改根节点的方法和修改装置。 本发明的根节点的修改方法包括:接收根节点修改请求; 根据修改信息修改数据库的数据区域中的根节点; 将修改的根节点复制到数据库的一般区域; 在数据库的一般区域中,发现活动映射页面的标识符是第一映射页面的标识符,并且确定第一映射页面是活动映射页面; 以及根据修改后的根节点将所修改的根节点替换为所述修改的根节点,并将所述活动映射页面的标识符修改为所述第二映射页面的标识符。 本发明提高了索引的并发处理效率。
-