发明授权
US09031934B2 Estimation of a filter factor used for access path optimization in a database
有权
用于数据库中访问路径优化的过滤因子的估计
- 专利标题: Estimation of a filter factor used for access path optimization in a database
- 专利标题(中): 用于数据库中访问路径优化的过滤因子的估计
-
申请号: US13686030申请日: 2012-11-27
-
公开(公告)号: US09031934B2公开(公告)日: 2015-05-12
- 发明人: Xin Ying Yang , Chun Guang Zeng , Xiang Zhou , Ke Wei Wei
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Cantor Colburn LLP
- 代理商 Jeanine Ray-Yartletts
- 优先权: CN201110391219 20111130
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A computer program product and method for estimating a filter factor for access path optimization in a database are provided. The method includes extracting from a statement segment for database query a relation condition which defines the relationship between a variable and a first table. The method includes obtaining first statistics information according to the relation condition and the statistics information of the first table. The method includes extracting from the statement segment a filter condition which defines the relationship between the variable and a second table. The method includes obtaining second statistics information according to the filter condition and the statistics information of the second table, and according to the first statistics information and the second statistics information, estimating the filter factor of the filter condition. The method and computer program product according to the embodiments of the disclosure may more accurately estimate filter factor of the filter condition.
公开/授权文献
信息查询