发明名称 Matching groupings, re-aggregation avoidance and comprehensive aggregate function derivation rules in query rewrites using materialized views
摘要 A method, apparatus, and article of manufacture for optimizing a query in a computer system, wherein the query is performed by the computer system to retrieve data from a database stored on the computer system. The optimization includes: identifying a materialized view candidate in the computer system, matching a grouping of the materialized view with a grouping of the query using column equivalence and functional dependency, in order to determine whether re-aggregation is necessary, deriving one or more aggregate functions requested by the query from the materialized view and any remaining tables in the query based on the matched groupings, and rewriting the query based on the matched groupings.
申请公布号 US2004122814(A1) 申请公布日期 2004.06.24
申请号 US20020322977 申请日期 2002.12.18
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ZHANG GUOGEN;LI RUIPING;LIU LEE-CHIN HSU;WANG YUN
分类号 G06F17/30;(IPC1-7):G06F17/30;G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利