会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 1. 发明授权
    • Method and apparatus for reordering complex SQL queries containing inner
and outer join operations
    • 重新排序包含内部和外部连接操作的复杂SQL查询的方法和装置
    • US5832477A
    • 1998-11-03
    • US856198
    • 1997-05-14
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • G06F17/30
    • G06F17/30463G06F17/30466Y10S707/99932
    • A method and apparatus for reordering complex SQL queries containing joins, outer and full outer joins. The method and apparatus first translates the query into a hypergraph representation. Required sets, conflict sets and preserved sets are then generated for the query hypergraph. Using the required sets, a plurality of plans are enumerated, wherein the plans represent associative re-orderings of relations in the query. SQL operators are selectively assigned to each of the enumerated plans using the conflict sets and/or preserved sets, so that the results from the plans are identical to the original query. A novel Modified General Outer Join (MGOJ) operator may be assigned to the root of a sub-tree, wherein the MGOJ operator is a compensation operator. The operator assignment is performed recursively for the root of each sub-tree in the plan. One of the enumerated plans (generally the most optimal) is then selected for execution.
    • 一种重新排序复杂SQL查询的方法和装置,它包含连接,外部和外部连接。 该方法和装置首先将查询翻译成超图表示。 然后为查询超图生成所需的集合,冲突集和保留集。 使用所需的集合,列举了多个计划,其中计划表示查询中的关系的关联重新排序。 使用冲突集和/或保留集合将SQL运算符选择性地分配给每个枚举的计划,以便计划的结果与原始查询相同。 可以将新颖的修改后的通用外部联接(MGOJ)运算符分配给子树的根,其中,MGOJ运算符是补偿运算符。 对于计划中每个子树的根,递归地执行运算符分配。 然后选择一个列举的计划(通常是最优)。
    • 2. 发明授权
    • Method and apparatus for executing complex SQL queries using projection
operations
    • 使用投影操作执行复杂SQL查询的方法和装置
    • US5752017A
    • 1998-05-12
    • US468647
    • 1995-06-05
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • G06F17/30
    • G06F17/30463G06F17/30466Y10S707/99932
    • A method and apparatus for reordering complex SQL queries containing joins, outer and full outer joins. The method and apparatus first translates the query into a hypergraph representation. Required sets, conflict sets and preserved sets are then generated for the query hypergraph. Using the required sets, a plurality of plans are enumerated, wherein the plans represent associative reorderings of relations in the query. SQL operators are selectively assigned to each of the enumerated plans using the conflict sets and/or preserved sets, so that the results from the plans are identical to the original query. A novel Modified General Outer Join (MGOJ) operator may be assigned to the root of a sub-tree, wherein the MGOJ operator is a compensation operator. The operator assignment is performed recursively for the root of each sub-tree in the plan. One of the enumerated plans (generally the most optimal) is then selected for execution.
    • 一种重新排序复杂SQL查询的方法和装置,它包含连接,外部和外部连接。 该方法和装置首先将查询翻译成超图表示。 然后为查询超图生成所需的集合,冲突集和保留集。 使用所需的集合,列举了多个计划,其中计划表示查询中关系的关联排序。 使用冲突集和/或保留集合将SQL运算符选择性地分配给每个枚举的计划,以便计划的结果与原始查询相同。 可以将新颖的修改后的通用外部联接(MGOJ)运算符分配给子树的根,其中,MGOJ运算符是补偿运算符。 对于计划中每个子树的根,递归地执行运算符分配。 然后选择一个列举的计划(通常是最优)。
    • 3. 发明授权
    • Reordering complex SQL queries containing inner and outer join
operations using hypergraphs and required sets
    • 使用超图和所需的集合重新排序包含内部和外部连接操作的复杂SQL查询
    • US5724568A
    • 1998-03-03
    • US464268
    • 1995-06-05
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • Gautam BhargavaPiyush GoelBalakrishna Ragmavendra Iyer
    • G06F17/30
    • G06F17/30463G06F17/30466Y10S707/99932
    • A method and apparatus for reordering complex SQL queries containing joins, outer and full outer joins. The method and apparatus first translates the query into a hypergraph representation. Required sets, conflict sets and preserved sets are then generated for the query hypergraph. Using the required sets, a plurality of plans are enumerated, wherein the plans represent associative reorderings of relations in the query. SQL operators are selectively assigned to each of the enumerated plans using the conflict sets and/or preserved sets, so that the results from the plans are identical to the original query. A novel Modified General Outer Join (MGOJ) operator may be assigned to the root of a sub-tree, wherein the MGOJ operator is a compensation operator. The operator assignment is performed recursively for the root of each sub-tree in the plan. One of the enumerated plans (generally the most optimal) is then selected for execution.
    • 一种重新排序复杂SQL查询的方法和装置,它包含连接,外部和外部连接。 该方法和装置首先将查询翻译成超图表示。 然后为查询超图生成所需的集合,冲突集和保留集。 使用所需的集合,列举了多个计划,其中计划表示查询中关系的关联排序。 使用冲突集和/或保留集合将SQL运算符选择性地分配给每个枚举的计划,以便计划的结果与原始查询相同。 可以将新颖的修改后的通用外部联接(MGOJ)运算符分配给子树的根,其中,MGOJ运算符是补偿运算符。 对于计划中每个子树的根,递归地执行运算符分配。 然后选择一个列举的计划(通常是最优)。
    • 6. 发明授权
    • Enumerating projection in SQL queries containing outer and full outer
joins in the presence of inner joins
    • 在存在内部连接的情况下,枚举包含外部和全部外部连接的SQL查询中的预测
    • US6088691A
    • 2000-07-11
    • US198643
    • 1998-11-24
    • Gautam BhargavaPiyush GoelBalakrishna Raghavendra Iyer
    • Gautam BhargavaPiyush GoelBalakrishna Raghavendra Iyer
    • G06F17/30
    • G06F17/30463Y10S707/99932Y10S707/99939
    • The present invention discloses a method and apparatus for the enumeration of projections (i.e., "SELECT DISTINCT" operations) in SQL queries containing outer and full outer joins in the presence of inner joins without encountering any regression in performance. The present invention removes projections from a given user query by moving the projections to the top of an expression tree representation of the query, wherein the projection removal is performed using algebraic identities rather than rule-based transformations. The present invention also discloses several methods of enumerating different plans or schedules for projection operations and binary operations in the given user query. The present invention can significantly reduce the execution time of a query by selecting the optimal schedule for binary operations and projections between the binary operations. However, the present invention ensures that there is no regression in performance by comparing the cost of the query with the cost of enumerated plans or schedules, thereby ensuring that the optimizations or transformations do not introduce performance penalties.
    • 本发明公开了一种在存在内连接的情况下,在包含外连接和全外连接的SQL查询中枚举突出(即“SELECT DISTINCT”操作)的方法和装置,而不会在性能上遇到任何回归。 本发明通过将投影移动到查询的表达树表示的顶部来从给定用户查询中移除投影,其中使用代数身份而不是基于规则的变换来执行投影删除。 本发明还公开了在给定用户查询中枚举用于投影操作和二进制操作的不同计划或计划的几种方法。 本发明可以通过选择二进制操作和二进制操作之间的投影的最佳调度来显着地减少查询的执行时间。 然而,本发明通过将查询的成本与枚举的计划或计划的成本进行比较来确保性能没有回归,从而确保优化或转换不引入性能惩罚。
    • 10. 发明授权
    • System and method for generating uniqueness information for optimizing
an SQL query
    • 用于识别用于优化SQL查询的关键信息的方法
    • US5890148A
    • 1999-03-30
    • US986791
    • 1997-12-08
    • Gautam BhargavaPiyush GoelBalakrishna R. Iyer
    • Gautam BhargavaPiyush GoelBalakrishna R. Iyer
    • G06F17/30
    • G06F17/30448G06F17/30454G06F17/30463Y10S707/99932
    • A system and method of determining uniqueness properties of an expression. A root of the expression is first determined, where the root is one of a base relation, a unary operation or a binary operation. Once the root is determined, a first procedure of an augmented unique process is called to determine uniqueness properties of a child of that root. The procedure called is chosen based on the determined root. Where the root is a base relation, a first procedure of a uniqueness process is applied to determine the uniqueness properties of the base relation. Where the root is a unary or binary operation, the called procedure is suspended, a second procedure of the augmented unique process is called to determine the uniqueness properties of the child of the operation, and this process is repeated until a base relation is reached. Once a base relation is reached, the first procedure of the uniqueness process is applied to determine the uniqueness properties of the reached base relation. A next procedure of a uniqueness process is applied to determine the uniqueness properties of a parent operator of the based relation. The procedure applied is chosen based on a type of operation represented by the parent. The process then unwinds to determine the uniqueness properties for each ancestor of the base relation(s).
    • 确定表达式的唯一性属性的系统和方法。 首先确定表达式的根,其中根是基础关系之一,一元操作或二进制操作。 一旦确定了根,则调用增强的唯一过程的第一过程来确定该根的子的唯一性属性。 根据确定的根选择所谓的过程。 在根是基础关系的情况下,应用唯一性过程的第一个过程来确定基础关系的唯一性。 在根是一元或二进制操作的情况下,被调用的过程被暂停,调用增强的唯一过程的第二个过程来确定操作的子级的唯一性属性,并重复该过程,直到达到基础关系。 一旦达到基本关系,则应用唯一性过程的第一个过程来确定达到的基础关系的唯一性。 应用唯一性过程的下一个过程来确定基于关系的父操作者的唯一性。 所应用的程序是基于由父代理的操作类型来选择的。 该过程然后展开以确定基础关系的每个祖先的唯一性属性。