Home > Database > Mysql Tutorial > SQLServer执行计划成本(续1)

SQLServer执行计划成本(续1)

WBOY
Release: 2016-06-07 17:46:57
Original
1198 people have browsed it
聚合

查询里使用聚合函数(MIN、MAX、COUNT、AVG或SUM)时发生流聚合(Stream Aggregate)和标量计算(Compute Scalar)如下所示。

SELECT COUNT(*), AVG(Value) FROM M2C_10

MINMAX函数要求流聚合操作。在执行计划里其他的函数要求流聚合后跟一个或多个标量计算操作。


2-12.流聚合和标量计算的执行计划
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template