-
公开(公告)号:US20120198423A1
公开(公告)日:2012-08-02
申请号:US13443140
申请日:2012-04-10
申请人: Robert J. BESTGEN , Robert D. DRIESCH, JR. , Wei HU , Shantan KETHIREDDY , Edward J. MILLER , Andrew P. PASSE , Ulrich THIEMANN
发明人: Robert J. BESTGEN , Robert D. DRIESCH, JR. , Wei HU , Shantan KETHIREDDY , Edward J. MILLER , Andrew P. PASSE , Ulrich THIEMANN
IPC分类号: G06F9/44
CPC分类号: G06F11/3636 , G06F8/443 , G06F11/3476 , G06F11/3612 , G06F2201/865
摘要: Methods, systems, and products are provided for code path tracking. Embodiments include identifying an instrumented trace point in software code to be path tracked; identifying a function executed at the instrumented trace point in the software code; identifying parameters for the function executed at the instrumented trace point; and recording a description of the function, the parameters, and the result of the execution of the function using the parameters.
摘要翻译: 提供方法,系统和产品用于代码路径跟踪。 实施例包括识别要路径跟踪的软件代码中的仪表化跟踪点; 识别在软件代码中的仪表化跟踪点执行的功能; 识别在仪器化跟踪点执行的功能的参数; 并使用参数记录功能的描述,参数和执行功能的结果。
-
公开(公告)号:US07937385B2
公开(公告)日:2011-05-03
申请号:US12114913
申请日:2008-05-05
IPC分类号: G06F17/30
CPC分类号: G06F17/3048 , G06F17/30463
摘要: A plan for executing a query in a relational database is obtained. A query for accessing data in the relational database is received. The query specifies N tables in the relational database from which data is to be retrieved. A determination is made whether a syntax of the query matches a syntax of a plan in a plan cache for executing the query. Matches are identified between generic table formats of the N tables specified in the query to generic table formats of N tables specified in the plan responsive to the syntax of the query matching the syntax of a plan in the plan cache for executing the query. The plan for executing the query is obtained based on whether the syntax of the query matches the syntax of the plan and based on identified matches between the generic table formats of the N tables specified in the query to the generic table formats of the N tables specified in the plan.
摘要翻译: 获得在关系数据库中执行查询的计划。 接收到关系数据库中访问数据的查询。 该查询指定要从中检索数据的关系数据库中的N个表。 确定查询的语法是否符合用于执行查询的计划高速缓存中的计划的语法。 在查询中指定的N个表的通用表格式之间的匹配在计划中指定的N个表的通用表格式中被标识,响应于查询的语法,该查询的语法与计划缓存中用于执行查询的计划的语法相匹配。 执行查询的计划是基于查询的语法是否符合计划的语法,并且基于查询中指定的N个表的通用表格格式与指定的N个表的通用表格式之间的所确定的匹配来获得 在计划中。
-
公开(公告)号:US20090282272A1
公开(公告)日:2009-11-12
申请号:US12117047
申请日:2008-05-08
IPC分类号: G06F1/32
CPC分类号: G06F1/3203 , G06F1/206 , G06F17/30312 , Y02D10/16 , Y02D10/45
摘要: Embodiments of the invention provide techniques for optimizing database queries for energy efficiency. In general, a query optimizer is configured to compare energy requirements of query plans, and to select a query plan requiring minimal energy to execute. In one embodiment, the query optimizer may also compare time performance of the query plans, and may select a query plan by matching to a user preference for a relative priority between energy requirements and time performance.
摘要翻译: 本发明的实施例提供了用于优化能量效率的数据库查询的技术。 通常,查询优化器被配置为比较查询计划的能量需求,并选择需要最少能量执行的查询计划。 在一个实施例中,查询优化器还可以比较查询计划的时间性能,并且可以通过与能量需求和时间性能之间的相对优先级的用户偏好匹配来选择查询计划。
-
公开(公告)号:US20080168427A1
公开(公告)日:2008-07-10
申请号:US11621666
申请日:2007-01-10
申请人: Robert J. Bestgen , Robert D. Driesch , Wei Hu , Shantan Kethireddy , Edward J. Miller , Andrew P. Passe , Ulrich Thiemann
发明人: Robert J. Bestgen , Robert D. Driesch , Wei Hu , Shantan Kethireddy , Edward J. Miller , Andrew P. Passe , Ulrich Thiemann
IPC分类号: G06F9/44
CPC分类号: G06F11/3636 , G06F8/443 , G06F11/3476 , G06F11/3612 , G06F2201/865
摘要: Methods, systems, and products are provided for code path tracking. Embodiments include identifying an instrumented trace point in software code to be path tracked; identifying a function executed at the instrumented trace point in the software code; identifying parameters for the function executed at the instrumented trace point; and recording a description of the function, the parameters, and the result of the execution of the function using the parameters.
摘要翻译: 提供方法,系统和产品用于代码路径跟踪。 实施例包括识别要路径跟踪的软件代码中的仪表化跟踪点; 识别在软件代码中的仪表化跟踪点执行的功能; 识别在仪器化跟踪点执行的功能的参数; 并使用参数记录功能的描述,参数和执行功能的结果。
-
公开(公告)号:US09563538B2
公开(公告)日:2017-02-07
申请号:US13443140
申请日:2012-04-10
申请人: Robert J. Bestgen , Robert D. Driesch, Jr. , Wei Hu , Shantan Kethireddy , Edward J. Miller , Andrew P. Passe , Ulrich Thiemann
发明人: Robert J. Bestgen , Robert D. Driesch, Jr. , Wei Hu , Shantan Kethireddy , Edward J. Miller , Andrew P. Passe , Ulrich Thiemann
CPC分类号: G06F11/3636 , G06F8/443 , G06F11/3476 , G06F11/3612 , G06F2201/865
摘要: Methods, systems, and products are provided for code path tracking. Embodiments include identifying an instrumented trace point in software code to be path tracked; identifying a function executed at the instrumented trace point in the software code; identifying parameters for the function executed at the instrumented trace point; and recording a description of the function, the parameters, and the result of the execution of the function using the parameters.
摘要翻译: 提供方法,系统和产品用于代码路径跟踪。 实施例包括识别要路径跟踪的软件代码中的仪表化跟踪点; 识别在软件代码中的仪表化跟踪点执行的功能; 识别在仪器化跟踪点执行的功能的参数; 并使用参数记录功能的描述,参数和执行功能的结果。
-
公开(公告)号:US08015202B2
公开(公告)日:2011-09-06
申请号:US12142206
申请日:2008-06-19
IPC分类号: G06F7/00
CPC分类号: G06F17/30442 , Y02D10/45
摘要: Embodiments of the invention provide techniques for aggregating database queries for energy efficiency. In one embodiment, queries received by a DBMS are aggregated and staged according to hard-disk drives required for query execution. Each group of queries accessing a given drive may be dispatched for execution together. Further, the queries received by a DBMS may be matched to patterns of previously received queries. The matching patterns may be used to predict other queries which are likely to be received by the DBMS. The received queries may be staged to be dispatched with the predicted queries. By aggregating queries to be executed, access to each hard-disk drive may be optimized, thus reducing the overall energy consumption required for executing the queries.
摘要翻译: 本发明的实施例提供了用于聚合用于能量效率的数据库查询的技术。 在一个实施例中,由DBMS接收的查询根据查询执行所需的硬盘驱动器进行聚合和分段。 可以一起调度访问给定驱动器的每组查询。 此外,由DBMS接收到的查询可以匹配先前接收到的查询的模式。 匹配模式可用于预测DBMS可能接收到的其他查询。 所接收的查询可以被分段以用预测的查询进行调度。 通过聚合要执行的查询,可以优化对每个硬盘驱动器的访问,从而降低执行查询所需的总体能量消耗。
-
公开(公告)号:US07941426B2
公开(公告)日:2011-05-10
申请号:US12117037
申请日:2008-05-08
CPC分类号: G06F17/30463 , G06F9/5027 , G06F9/5094 , Y02D10/22 , Y02D10/45
摘要: Techniques for optimizing database queries for energy efficiency. A query optimizer is configured to compare energy requirements of query plans, and to select a query plan requiring minimal energy to execute. The query optimizer may also compare time performance of the query plans, and may select a query plan by matching to a user preference for a relative priority between energy requirements and time performance.
摘要翻译: 优化数据库查询能效的技术。 查询优化器被配置为比较查询计划的能量需求,并选择需要最少能量执行的查询计划。 查询优化器还可以比较查询计划的时间性能,并且可以通过匹配用户对能量需求和时间性能之间的相对优先级的偏好来选择查询计划。
-
公开(公告)号:US20090281992A1
公开(公告)日:2009-11-12
申请号:US12117037
申请日:2008-05-08
CPC分类号: G06F17/30463 , G06F9/5027 , G06F9/5094 , Y02D10/22 , Y02D10/45
摘要: Embodiments of the invention provide techniques for optimizing database queries for energy efficiency. In general, a query optimizer is configured to compare energy requirements of query plans, and to select a query plan requiring minimal energy to execute. In one embodiment, the query optimizer may also compare time performance of the query plans, and may select a query plan by matching to a user preference for a relative priority between energy requirements and time performance.
摘要翻译: 本发明的实施例提供了用于优化能量效率的数据库查询的技术。 通常,查询优化器被配置为比较查询计划的能量需求,并选择需要最少能量执行的查询计划。 在一个实施例中,查询优化器还可以比较查询计划的时间性能,并且可以通过与能量需求和时间性能之间的相对优先级的用户偏好匹配来选择查询计划。
-
公开(公告)号:US20090248618A1
公开(公告)日:2009-10-01
申请号:US12056344
申请日:2008-03-27
申请人: David Glenn Carlson , Wei Hu , Kevin James Kathmann , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
发明人: David Glenn Carlson , Wei Hu , Kevin James Kathmann , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
IPC分类号: G06F7/06
CPC分类号: G06F17/30474 , G06F17/30445 , G06F17/30457 , G06F17/30466
摘要: A method, apparatus and program product dynamically activate and/or deactivate buffers during execution of a database query. The dynamic deactivation and activation is based on the monitoring of information associated with the consumption of data by a plurality of threads during execution of an access plan for the database query. By doing so, the selection of a less optimal buffer position during optimization may be replaced with a more optimal buffer position during runtime, often resulting in improved query performance and parallelism.
摘要翻译: 方法,装置和程序产品在执行数据库查询期间动态地激活和/或停用缓冲器。 动态去激活和激活是基于在用于数据库查询的访问计划的执行期间监视与多个线程的数据消耗相关联的信息。 通过这样做,在优化期间选择较不优化的缓冲器位置可以在运行时期间用更优化的缓冲器位置代替,通常导致改进的查询性能和并行性。
-
公开(公告)号:US20090182720A1
公开(公告)日:2009-07-16
申请号:US12014562
申请日:2008-01-15
申请人: Michael W. Cain , Michael S. Faunce , Wei Hu , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
发明人: Michael W. Cain , Michael S. Faunce , Wei Hu , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
IPC分类号: G06F17/30
CPC分类号: G06F17/30336 , G06F17/30469
摘要: A method, apparatus and program product is provided for optimizing a database query. A query syntax, system generated predicates, and requisite statistics of the database query are analyzed to determine if a predicate structure is a good candidate for a symbol table only data structure. The predicate structure is analyzed to determine if the predicate structure is already encompassed by an encoded vector index. The symbol table only data structure is generated for at least one column in a database table without generating a corresponding vector data structure from an encoded vector index if the predicate structure is a good candidate and not encompassed by an encoded vector index. The symbol table only data structure is maintained by detecting a change in data associated with the symbol table only data structure and updating the symbol table only data structure to reflect the change in the data.
摘要翻译: 提供了一种用于优化数据库查询的方法,装置和程序产品。 分析查询语法,系统生成的谓词和数据库查询的必要统计信息,以确定谓词结构是否仅是符号表格数据结构的良好候选。 分析谓词结构以确定谓词结构是否已被编码的向量索引包围。 如果谓词结构是一个很好的候选者并且不被编码的向量索引所包含,那么为数据库表中的至少一列生成符号表数据结构,而不从编码向量索引生成相应的向量数据结构。 仅通过检测与符号表仅数据结构相关联的数据的变化来维护仅符号表数据结构,并且仅更新符号表仅数据结构以反映数据的变化。
-
-
-
-
-
-
-
-
-