启用或禁用一个查询执行跟踪。
阐释如何解释联邦查询执行计划。
Illustrates how to interpret a federated query execution plan.
步骤2.1:检查查询执行计划。
步骤1.1:检查查询执行时间。
这些规则可以显著减少查询执行时间。
以下部分概述如何启用查询执行跟踪。
The following section outlines how to enable the Query Execution Trace.
先从了解查询执行计划开始。
This starts with understanding your queries' execution plans.
DB2用于查询执行的现有索引的名称。
Names of existing indexes that are used for query execution by db2.
每个连接线程还执行身份验证和查询执行。
Each connection thread also performs authentication and query execution.
DB2未用于查询执行的现有索引的名称
Names of existing indexes that are not used for query execution by DB2
查询执行性能的稳定性。
参数化查询在查询执行之前绑定参数的值。
A parameterized query binds the value of the parameter before the query execution.
本节阐释每个分区特性对查询执行性能的作用。
This section illustrates how each partitioning feature contributes to the performance of query execution.
查询执行后,最终结果发送回Web客户机。
After the queries are executed, the final output is sent back to the Web client.
这些可视化包括来自查询执行的基于成本的信息。
These visualizations include cost based information derived from the query execution.
TRACEONLY选项禁止显示查询执行结果。
The TRACEONLY option disables the display of query execution results.
启用压缩后,查询执行速度快了近30%,如下所示。
After enabling compression the query executes nearly 30% more quickly, as shown below.
您可以分析查询执行计划输出,以确定这是否是必需的。
You can analyze the query execution plan output to decide whether or not this is necessary.
根据总体查询执行计划,将随后对数据源执行各个子操作。
According to the overall query execution plan, the sub operations are then applied at the sources.
在IBMCognos10系统上启用查询执行跟踪。
Enable the Query Execution Trace on the IBM Cognos 10 system.
您将咨询数据库管理员,以调查为何查询执行时间这么长。
You would want to consult with your database administrator to investigate why the queries are taking so long.
直观地说,访问路径是查询执行的程序说明,其包括三个组件。
Intuitively, an access path is a procedural description of query execution that consists of three components.
用于定义在查询执行期间空间索引的搜索范围的范围生成器函数。
Range producer function to define the search ranges for the spatial index during query execution.
属性查询通常比图表查询执行速度快,返回的信息相对较少。
Property queries are typically faster and return less information than graph queries.
在图13中看到,查询执行了两个排序,花费的时间少于12秒。
In Figure 13, you see that the query performed two sorts and spent less than 12 seconds to complete.
显示只需要一次编译,具有不同值的同一查询执行了 73次。
show that only one compilation was required, and that the same query with different values is executed 73 times.
如您所见,查询执行了三次,平均运行时间大约是307秒,非常慢。
As you can see, the query was executed three times, and the average elapsed time is about 307 seconds, which is very slow.
然而,为了获得最佳的开销评估值,优化器需要获得查询执行时使用的值。
However, in order to get the best cost estimate, the optimizer needs the values that will be used when the query executes.
更新统计数据是最重要的管理任务之一,它确保优化器选用最佳的查询执行计划。
Updating statistics is one of the most important administrative tasks that ensure the optimizer picks optimum execution plans for your queries.
每个查询规划器会生成适当的查询语言,并将请求发送到其各自的查询执行层。
Each query planner will generate the appropriate query language and send the request on to their respective query execution layer.
应用推荐