会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 31. 发明授权
    • System and method for graceful degradation of a database query
    • 数据库查询的优雅退化的系统和方法
    • US07580920B2
    • 2009-08-25
    • US10897017
    • 2004-07-22
    • Craig S. FreedmanGoetz Graefe
    • Craig S. FreedmanGoetz Graefe
    • G06F7/00
    • G06F17/30492G06F17/30474Y10S707/99932Y10S707/99933Y10S707/99935
    • A method to achieve acceptable query performance even when a database query optimizer chooses an inefficient query plan due to poor cardinality (row count) estimation includes generating a batch sort query plan which includes a row count operation and a reorder operation. The batch sort, and in particular the reorder operation, is not required to satisfy the query but without these operations the query plan may prove to be inefficient. When the row count operation determines that the query plan is inefficient, the row reordering operation reorders rows for more I/O efficient processing. The results of both the row count operation and the reorder operation are used to produce the desired rowset to satisfy the input query without discarding any retrieved rows. The combination of the row count operation and reorder operation allows a graceful degradation of query performance where the original query plan selected by a query optimizer without the batch sort or reorder operation would execute in an I/O inefficient manner.
    • 即使数据库查询优化器由于基数不足(行计数)估计而选择无效的查询计划,也可以实现可接受的查询性能的方法包括生成包含行计数操作和重排序操作的批次排序查询计划。 批次排序,特别是重新排序操作不需要满足查询,但是没有这些操作,查询计划可能被证明是低效的。 当行计数操作确定查询计划效率低下时,行重排序操作将重新排序行以获得更多I / O高效处理。 行计数操作和重排序操作的结果用于产生所需的行集以满足输入查询而不丢弃任何检索的行。 行计数操作和重新排序操作的组合允许查询性能的平缓降级,其中由查询优化器选择的原始查询计划没有批次排序或重新排序操作将以I / O低效的方式执行。
    • 34. 发明申请
    • ABSTRACT QUERY PLAN
    • 摘要查询计划
    • US20080091668A1
    • 2008-04-17
    • US11953935
    • 2007-12-11
    • RICHARD DETTINGERDaniel Kolz
    • RICHARD DETTINGERDaniel Kolz
    • G06F17/30
    • G06F17/30436G06F17/30474G06F17/30545Y10S707/99932Y10S707/99933Y10S707/99934Y10S707/99935Y10S707/99936
    • A method and apparatus, and article of manufacture are provided to process an abstract query of a database abstraction constructed over an underlying physical data storage mechanism. The database may comprise a single data source, or a federated source spanning multiple systems. Embodiments of the invention process an abstract query by generating an intermediate representation of the abstract query. In one embodiment, the intermediate representation comprises an abstract query plan. An abstract query plan includes a combination of elements from the data abstraction model and elements relating to the underlying physical data storage mechanism. Once generated, a back-end component may easily traverse the abstract query plan to generate an SQL statement (or other resolved query) corresponding to the abstract query. Further, once constructed, the abstract query plan provides a platform for many different optimizations that may be selected by a user or by the runtime component inspecting the abstract query plan prior to creating the resolved query.
    • 提供了一种方法和装置以及制造物品来处理在底层物理数据存储机构上构建的数据库抽象的抽象查询。 数据库可以包括单个数据源或跨越多个系统的联合源。 本发明的实施例通过生成抽象查询的中间表示来处理抽象查询。 在一个实施例中,中间表示包括抽象查询计划。 抽象查询计划包括来自数据抽象模型的元素和与底层物理数据存储机制相关的元素的组合。 一旦生成,后端组件可以容易地遍历抽象查询计划以生成与抽象查询相对应的SQL语句(或其他已解析的查询)。 此外,一旦构造,抽象查询计划为许多不同的优化提供了一个平台,可以由用户或运行时组件在创建解析的查询之前检查抽象查询计划来选择。
    • 38. 发明申请
    • Method and apparatus for re-evaluating execution strategy for a database query
    • 重新评估数据库查询执行策略的方法和装置
    • US20060074874A1
    • 2006-04-06
    • US10955737
    • 2004-09-30
    • Paul DayLee JamesonRoger MittelstadtBrian Muras
    • Paul DayLee JamesonRoger MittelstadtBrian Muras
    • G06F17/30
    • G06F17/30463G06F17/30471G06F17/30474
    • A query facility for database queries saves and re-uses query execution strategies, and automatically detects that a strategy should be re-optimized as a result of changes to an indexed variable value. Preferably, the number of records evaluated and selected by the index value condition is dynamically monitored during execution, and an alternative query strategy is initiated when this number appears to be out of proportion to expectations. In an exemplary embodiment, an indexed search strategy is changed to a table scan strategy (or vice versa) as a result of a change to the number of records eliminated by the indexed value, although other examples are possible. Preferably, the query engine initiates an alternative search strategy and concurrently continues to execute the original search strategy as separate threads. Search results are obtained from whichever thread completes first.
    • 用于数据库查询的查询功能保存并重新使用查询执行策略,并自动检测到由于对索引变量值的更改,策略应重新优化。 优选地,在执行期间动态地监视由索引值条件评估和选择的记录的数量,并且当该数量看起来与期望不成比例时,开始替代查询策略。 在示例性实施例中,作为由索引值消除的记录数的改变的结果,索引的搜索策略被改变为表扫描策略(或反之亦然),尽管其他示例是可能的。 优选地,查询引擎发起替代搜索策略并且同时继续执行原始搜索策略作为单独的线程。 搜索结果从无论哪个线程首先完成。
    • 40. 发明申请
    • Dynamic optimization of multi-feature queries
    • 多功能查询的动态优化
    • US20030208484A1
    • 2003-11-06
    • US10137032
    • 2002-05-01
    • International Business Machines Corporation
    • Yuan-Chi ChangChristian Alexander LangJohn Richard Smith
    • G06F017/30
    • G06F17/30463G06F17/30474G06F17/30516Y10S707/99931Y10S707/99932Y10S707/99945
    • The present invention provides an elegant solution for processing multi-feature queries, which considers the differing access costs associated with each feature. Access cost is a critical factor in determining how individual features should be processed in terms of retrieving through sorted or random access, and, hence, in minimizing the overall query response time. The present invention operates dynamically during query processing and seeks to minimize the total query cost in terms of number of features retrieved and cost for access. It works by evaluating different combinations of feature access plans (sorted and random access) according to the number of retrieved features and forward access costs, and it selects the lowest cost plan. Experimental results on practical data show a significant speed-up in multi-features queries using the proposed solution.
    • 本发明提供了一种用于处理多特征查询的优雅解决方案,其考虑与每个特征相关联的不同的访问费用。 访问成本是确定如何处理通过分类或随机访问检索方面的个别特征的关键因素,因此在最小化整体查询响应时间方面。 本发明在查询处理期间动态地操作,并且寻求在检索的特征数量和访问成本方面使总查询成本最小化。 它通过根据检索到的特征数量和转发访问成本来评估特征访问计划(排序和随机访问)的不同组合,并且选择最低成本计划。 实际数据的实验结果表明,使用提出的解决方案,在多功能查询中显着加快。