发明授权
- 专利标题: Disappearing index for more efficient processing of a database query
- 专利标题(中): 消除索引以更有效地处理数据库查询
-
申请号: US12944505申请日: 2010-11-11
-
公开(公告)号: US08977601B2公开(公告)日: 2015-03-10
- 发明人: Randy L. Egan , Roger A. Mittelstadt , Brian R. Muras
- 申请人: Randy L. Egan , Roger A. Mittelstadt , Brian R. Muras
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Martin & Associates, LLC
- 代理商 Bret J. Petersen
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A disappearing index allows faster processing of a database query without the startup time of a prior art sparse index. The disappearing index starts as a full index but is trimmed of index values that point to a row in the table that is not selected by the query. Thus the traditional index disappears as it becomes a sparse index tailored to the query. The query is able to execute faster using the now sparse index since the target database table is not accessed for duplicate values in the base table of the query. The query optimizer may determine to use a disappearing index based on estimates of the number of duplicate values in the base table. When the query is complete, the created disappearing table may be discarded or used for other queries that match the selection of the query that created the disappearing index.
公开/授权文献
信息查询