发明名称 SELECTIVITY-BASED OPTIMIZED-QUERY-PLAN CACHING
摘要 Embodiments of the present invention partition optimized query plans into equivalence groups, each comprising one or more equivalence classes. Each equivalence group corresponds to a particular compiled, normalized, and parameterized query plan prior to optimization. Each equivalence class within an equivalence group corresponds to a different query plan corresponding to the particular compiled, normalized, and parameterized query plan represented by the equivalence group that has been optimized with respect to the selectivity of one or more predicate clauses of the query that is compiled to produce the particular compiled, normalized, and parameterized query plan. Optimized query plans are cached according to their respective equivalence groups and equivalence classes. When a query, similar to a query already compiled, optimized, and cached, is subsequently received and compiled, a selectivity for a predicate of the compiled query is computed, allowing the database management system to retrieve a cached query plan optimized for a similar query with similar selectivity.
申请公布号 US2011029508(A1) 申请公布日期 2011.02.03
申请号 US20090533365 申请日期 2009.07.31
申请人 发明人 AL-OMARI AWNY K.;REYES TOM C.;WEHRMEISTER ROBERT M.;EZZAT AHMED K.;CHEN QIFAN
分类号 G06F12/00;G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址