Invention Grant
- Patent Title: Optimizing queries using predicate mappers
- Patent Title (中): 使用谓词映射器优化查询
-
Application No.: US13892156Application Date: 2013-05-10
-
Publication No.: US08812491B2Publication Date: 2014-08-19
- Inventor: Sweta Singh , Renu P. Sumam
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Konrad, Raynes, Davda & Victor LLP
- Agent Janaki K. Davda
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
Provided are a computer implemented method, computer program product, and system for re-writing a query. A query including a query predicate is received. It is determined that the query predicate includes one column with an associated predicate mapper. An equivalent predicate is generated for the query predicate using the predicate mapper that provides a mapping from the one column to another column. A cost of the query with the equivalent predicate is evaluated. In response to determining that the cost of the query is optimal, the query is rewritten to replace the query predicate with the equivalent predicate.
Public/Granted literature
- US20130297587A1 OPTIMIZING QUERIES USING PREDICATE MAPPERS Public/Granted day:2013-11-07
Information query