- 专利标题: Index maintenance based on a comparison of rebuild vs. update
-
申请号: US16737250申请日: 2020-01-08
-
公开(公告)号: US11226948B2公开(公告)日: 2022-01-18
- 发明人: Yuan-chi Chang , Jason Crawford , Liana L. Fong , Wei Tan
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Scully, Scott, Murphy & Presser, PC
- 代理商 Anthony Curro, Esq.
- 主分类号: G06F16/22
- IPC分类号: G06F16/22
摘要:
A method, system and computer program product for index maintenance in a computer system comprising a plurality of nodes, a database, and an index to the database. In one embodiment, the method comprises, for a defined period of time, building a snapshot of selected change requests received by the nodes to change the database. After this defined period of time, a selection is made, based on specified criteria, whether to rebuild a new index to the database, or to add entries to a current index. When the selection is to rebuild a new index, the new index is rebuilt based on data in the database and in the change requests in the snapshot. When the selection is to add entries to a current index, entries are added to the current index based on data in the database and in the change requests in the snapshot.
信息查询