会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 2. 发明授权
    • Star/join query optimization
    • 星号/加入查询优化
    • US5960428A
    • 1999-09-28
    • US919739
    • 1997-08-28
    • Bruce Gilbert LindsayGuy Maring LohmanMir Hamid PiraheshEugene Jon ShekitaDavid Everett SimmenMonica Sachiye Urata
    • Bruce Gilbert LindsayGuy Maring LohmanMir Hamid PiraheshEugene Jon ShekitaDavid Everett SimmenMonica Sachiye Urata
    • G06F17/30
    • G06F17/30466Y10S707/99932Y10S707/99933Y10S707/99934
    • Unwieldy star/join queries are performed more efficiently using a filtered fact table. Suitable queries include star/join queries with a large fact table joined with multiple subsidiary dimension tables, where indices exist over fact table join columns. The query is analyzed to prepare a query plan for the dimension table accesses. This plan is supplemented by adding nested loop join operations, where the inner table is a dimension table plan and the outer table is an index scan performed over a fact table index of the join column with the dimension table. The plan is also supplemented by filtering records resulting from the nested loop joins using a sequence of dynamic bit vectors, ultimately yielding a list of probable fact table records. The plan is further supplemented by fetching these records to construct a distilled fact which is used, instead of the large original table, to execute the query in considerably less time. If desired, the supplemented query plan and other competing approaches may studied to provide cost estimates, with the least costly approach being actually implemented.
    • 使用已过滤的事实表,更有效地执行无故障的星号/连接查询。 合适的查询包括带有多个附属维度表的大型事实表的星号/连接查询,其中索引存在于事实表连接列上。 分析查询以准备维度表访问的查询计划。 此计划通过添加嵌套循环连接操作来补充,其中内部表是维度表计划,外部表是在具有维度表的连接列的事实表索引上执行的索引扫描。 该计划还补充了使用一系列动态位向量的嵌套循环连接过滤记录,最终产生可能的事实表记录的列表。 该计划进一步补充了通过获取这些记录来构建一个使用的蒸馏事实,而不是大的原始表,在相当短的时间内执行查询。 如果需要,可以研究补充的查询计划和其他竞争方法,以提供成本估算,最低成本的方法正在实际实施。
    • 3. 发明授权
    • Synchronization of SQL actions in a relational database system
    • 在关系数据库系统中同步SQL操作
    • US5873075A
    • 1999-02-16
    • US884832
    • 1997-06-30
    • Roberta Jo CochraneGeorge LapisMir Hamid PiraheshRichard Sefton SidleDavid Everett SimmenTuong Chanh TruongMonica Sachiye Urata
    • Roberta Jo CochraneGeorge LapisMir Hamid PiraheshRichard Sefton SidleDavid Everett SimmenTuong Chanh TruongMonica Sachiye Urata
    • G06F17/30
    • G06F17/30427G06F17/30371G06F17/30436G06F17/30471G06F17/3051Y10S707/99932
    • An automated system for detecting and preventing mutating table violations of database integrity in a SQL query before generation and selection of an optimal query execution plan (QEP). This system modifies the query graph model (QGM) to restrict the choice of execution plans to those that avoid mutating table integrity (MTI) violations, thereby forcing database integrity during table mutation when executing the optimal QEP. Mutating table integrity violations are detected by evaluating the position in the QGM of each write-node referencing a particular base table with respect to each of the positions of all other read- and write-nodes referencing of the same base table. Every common-referencing node pair is tested for sequencing conflicts and a data-flow dam is inserted in the QGM where necessary or a poke query is inserted between the nodes to force the completion of the execution of one node before initiating execution of the other common-referencing node. The system of this invention allows processing of all non-cyclic and most cyclic SQL queries known to cause mutating table integrity violations, such as queries having searched and positioned inserts, deletes and updates, and row-level triggers.
    • 一种用于在生成和选择最优查询执行计划(QEP)之前,在SQL查询中检测和防止突变表违反数据库完整性的自动化系统。 该系统修改查询图模型(QGM),将执行计划的选择限制为避免突变表完整性(MTI)违规的选择,从而在执行最佳QEP时强制表突变期间的数据库完整性。 通过评估参考相同基准表的所有其他读 - 写节点的每个位置的引用特定基表的每个写节点的QGM中的位置来检测突变表完整性违反。 每个公共参考节点对都进行排序冲突测试,并且数据流大坝插入到QGM中,如果需要,或者在节点之间插入一个戳查询,强制完成一个节点的执行,然后再启动另一个常见的执行 - 参考节点。 本发明的系统允许处理已知导致突变表完整性违例的所有非循环和大多数循环SQL查询,例如具有搜索和定位的插入,删除和更新的查询以及行级触发器。
    • 4. 发明申请
    • SYSTEM, METHOD, AND COMPUTER PROGRAM PRODUCT FOR PROGRESSIVE QUERY PROCESSING
    • 系统,方法和计算机程序产品进行查询处理
    • US20080177722A1
    • 2008-07-24
    • US11940185
    • 2007-11-14
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • G06F17/30
    • G06F17/30979Y10S707/99931Y10S707/99932Y10S707/99933Y10S707/99934Y10S707/99935
    • A method, system, and computer program product to make query processing more robust in the face of optimization errors. The invention validates the statistics and assumptions used for compiling a query as the query is executed and, when necessary, progressively re-optimizes the query in mid-execution based on the knowledge learned during its partial execution. The invention selectively places a number of CHECK operators in a query execution plan to validate the optimizer's cardinality estimates against actual cardinalities. Errors beyond a threshold trigger re-optimization, and the optimizer decides whether the old plan is still optimal and whether to re-use previously computed results. The invention addresses arbitrary SQL queries whose plans can contain sub-queries, updates, trigger checking, and view maintenance operations. The invention can handle concurrent update transactions or updates of common sub-expressions in a query execution plan without compromising consistency and isolation as locking information is tied to the record ID.
    • 一种方法,系统和计算机程序产品,使查询处理在面对优化错误时更加鲁棒。 本发明验证了在执行查询时用于编译查询的统计和假设,并且在必要时,根据在其部分执行期间学到的知识,在中间执行中逐渐重新优化查询。 本发明选择性地将多个CHECK运算符放置在查询执行计划中以根据实际基数验证优化器的基数估计。 超出阈值的错误触发重新优化,优化器决定旧计划是否仍然最优,以及是否重新使用先前计算的结果。 本发明解决任意SQL查询,其计划可以包含子查询,更新,触发器检查和查看维护操作。 本发明可以处理查询执行计划中的并发更新事务或公用子表达式的更新,而不会在锁定信息与记录ID相关联的情况下不影响一致性和隔离。
    • 5. 发明授权
    • System and method for reverse routing materialized query tables in a database
    • 数据库中反向路由物化查询表的系统和方法
    • US07185004B1
    • 2007-02-27
    • US11298853
    • 2005-12-09
    • David Everett SimmenMir Hamid Pirahesh
    • David Everett SimmenMir Hamid Pirahesh
    • G06F7/00G06F12/00
    • G06F17/30457Y10S707/99933
    • A reverse routing system optimizes execution of a query that accesses data stored in one or more materialized query tables in a database of a computer system. The system receives a query directly referencing the materialized query table. The system identifies the referenced materialized query tables in a catalogue of materialized query tables and a defining query associated with the referenced materialized query table. The system substitutes the defining query for the referenced materialized query table in the received query. The system adds the referenced materialized query table to the set of eligible materialized query tables that are selected using query matching algorithms so that they can be considered for routing by the query optimizer.
    • 反向路由系统优化访问存储在计算机系统的数据库中的一个或多个物化查询表中的数据的查询的执行。 系统接收直接引用物化查询表的查询。 系统识别物化查询表目录中的引用物化查询表以及与引用的物化查询表关联的定义查询。 系统将定义查询替换为接收到的查询中的引用的实例化查询表。 系统将引用的实体化查询表添加到使用查询匹配算法选择的合格物化查询表集合,以便它们可以被查询优化器考虑进行路由选择。
    • 7. 发明授权
    • System, method, and computer program product for progressive query processing
    • 系统,方法和计算机程序产品,用于逐行查询处理
    • US07716215B2
    • 2010-05-11
    • US11940185
    • 2007-11-14
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • G06F7/00
    • G06F17/30979Y10S707/99931Y10S707/99932Y10S707/99933Y10S707/99934Y10S707/99935
    • A method, system, and computer program product to make query processing more robust in the face of optimization errors. The invention validates the statistics and assumptions used for compiling a query as the query is executed and, when necessary, progressively re-optimizes the query in mid-execution based on the knowledge learned during its partial execution. The invention selectively places a number of CHECK operators in a query execution plan to validate the optimizer's cardinality estimates against actual cardinalities. Errors beyond a threshold trigger re-optimization, and the optimizer decides whether the old plan is still optimal and whether to re-use previously computed results. The invention addresses arbitrary SQL queries whose plans can contain sub-queries, updates, trigger checking, and view maintenance operations. The invention can handle concurrent update transactions or updates of common sub-expressions in a query execution plan without compromising consistency and isolation as locking information is tied to the record ID.
    • 一种方法,系统和计算机程序产品,使查询处理在面对优化错误时更加鲁棒。 本发明验证了在执行查询时用于编译查询的统计和假设,并且在必要时,根据在其部分执行期间学到的知识逐渐重新优化中间执行中的查询。 本发明选择性地将多个CHECK运算符放置在查询执行计划中以根据实际基数验证优化器的基数估计。 超出阈值的错误触发重新优化,优化器决定旧计划是否仍然最优,以及是否重新使用先前计算的结果。 本发明解决任意SQL查询,其计划可以包含子查询,更新,触发器检查和查看维护操作。 本发明可以处理查询执行计划中的并发更新事务或公用子表达式的更新,而不会在锁定信息与记录ID相关联的情况下不影响一致性和隔离。
    • 8. 发明授权
    • System, method, and computer program product for progressive query processing
    • 系统,方法和计算机程序产品,用于逐行查询处理
    • US07383246B2
    • 2008-06-03
    • US10698828
    • 2003-10-31
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • Guy Maring LohmanMarki VolkerMir Hamid PiraheshVijayshankar RamanDavid Everett Simmen
    • G06F17/30
    • G06F17/30979Y10S707/99931Y10S707/99932Y10S707/99933Y10S707/99934Y10S707/99935
    • A method, system, and computer program product to make query processing more robust in the face of optimization errors. The invention validates the statistics and assumptions used for compiling a query as the query is executed and, when necessary, progressively re-optimizes the query in mid-execution based on the knowledge learned during its partial execution. The invention selectively places a number of CHECK operators in a query execution plan to validate the optimizer's cardinality estimates against actual cardinalities. Errors beyond a threshold trigger re-optimization, and the optimizer decides whether the old plan is still optimal and whether to re-use previously computed results. The invention addresses arbitrary SQL queries whose plans can contain sub-queries, updates, trigger checking, and view maintenance operations. The invention can handle concurrent update transactions or updates of common sub-expressions in a query execution plan without compromising consistency and isolation as locking information is tied to the record ID.
    • 一种方法,系统和计算机程序产品,使查询处理在面对优化错误时更加鲁棒。 本发明验证了在执行查询时用于编译查询的统计和假设,并且在必要时,根据在其部分执行期间学到的知识,在中间执行中逐渐重新优化查询。 本发明选择性地将多个CHECK运算符放置在查询执行计划中以根据实际基数验证优化器的基数估计。 超出阈值的错误触发重新优化,优化器决定旧计划是否仍然最优,以及是否重新使用先前计算的结果。 本发明解决任意SQL查询,其计划可以包含子查询,更新,触发器检查和查看维护操作。 本发明可以处理查询执行计划中的并发更新事务或公用子表达式的更新,而不会在锁定信息与记录ID相关联的情况下不影响一致性和隔离。
    • 9. 发明授权
    • Outerjoin and antijoin reordering using extended eligibility lists
    • 使用扩展资格清单进行外联和反连接重新排序
    • US06665663B2
    • 2003-12-16
    • US09809846
    • 2001-03-15
    • Bruce Gilbert LindsayGuy Maring LohmanMir Hamid PiraheshJun Rao
    • Bruce Gilbert LindsayGuy Maring LohmanMir Hamid PiraheshJun Rao
    • G06F1730
    • G06F17/30466G06F17/30469Y10S707/99934
    • An optimization technique that reorders outerjoins and antijoins with inner joins in a bottom-up optimizer of a relational database management system (RDBMS). Each join predicate is associated with a normal eligibility list (NEL) that includes tables that are referenced in the join predicate and an extended eligibility list (EEL) that includes additional tables that are referenced in conflicting join predicates. An EEL includes all the tables needed by a predicate to preserve the semantics of the original query. During join enumeration, the optimizer determines whether a join predicate's EEL is a subset of all the tables in two subplans to be merged, i.e., whose EEL is covered. If so, the two subplans are combined using the join predicate. Otherwise, the two subplans cannot be joined. Two approaches are used to reordering: without compensation and with compensation. The “without compensation” approach only allows join reorderings that are valid under associative rules. Thus, the optimizer will not combine subplans using a join predicate whose EEL is not covered. The “with compensation” approach allows two subplans to be combined using the join predicate, when a join predicate's EEL is not covered, as long as the join predicate's NEL is covered. Compensation is performed through nullification and best match. Multiple compensations may be merged and performed at any time.
    • 在关系数据库管理系统(RDBMS)的自下而上优化器中,通过内部联接重新排列外部联结和反联合的优化技术。每个连接谓词与正常资格列表(NEL)相关联,包括在连接谓词中引用的表 以及扩展资格列表(EEL),其中包括在冲突的连接谓词中引用的其他表。 EEL包括谓词所需的所有表,以保留原始查询的语义。 在连接枚举期间,优化器确定连接谓词的EEL是否是要合并的两个子计划中的所有表的子集,即其EEL被覆盖。 如果是这样,则使用连接谓词组合两个子计划。 否则,两个子计划不能加入。 两种方法用于重新排序:无补偿和补偿。 “无补偿”方法仅允许在关联规则下有效的连接重排序。 因此,优化器不会使用不包括EEL的连接谓词来组合子计划。 只要连接谓词的NEL被覆盖,“附加补偿”方法允许使用连接谓词组合两个子计划,当连接谓词的EEL不被覆盖时。 赔偿通过无效和最佳匹配执行。 可以随时合并和执行多重补偿。