发明名称 Database query optimization
摘要 In some embodiments, a method includes detecting a structured query language (SQL) query. The method can also include determining that the SQL query includes a first sub-query and a second sub-query, wherein the first sub-query and second sub-query are operands for a Union operation, wherein a first result of the first sub-query is associated with a first Group By operation, wherein a second result of the second sub-query is associated with a second Group By operation, and wherein a result of the Union operation is associated with a third Group By operation. The method can also include determining that partitioning columns are the same for the first and second Group By operations; determining that the first and second sub-queries include identical algebraic functions; determining that the first Group By operation and first sub-query are not referenced elsewhere in the SQL query; and transforming the SQL query into an optimized query.
申请公布号 US8635206(B2) 申请公布日期 2014.01.21
申请号 US201113173878 申请日期 2011.06.30
申请人 BARBAS PEDRO M.;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BARBAS PEDRO M.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址