码迷,mamicode.com
首页 > 其他好文 > 详细

Sequence Project Showplan Operator 序列映射运算符

时间:2015-08-25 21:31:02      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:

Sequence Project Showplan Operator 序列映射运算符

 

序列映射运算符会从一个已经排序的集合里通过不停添加集合里的列执行计算。

运算符根据一个或多个列的值把输入集合分为多个片段。然后运算符一次输出一个片段。

这些列在序列映射运算符里会被显示为参数。

SQL Server支持四种类型函数:RANK, DENSE_RANK, ROW_NUMBER, NTILE

序列映射会生成有(一个序列映射)和(两个片段)的执行计划

 

技术分享

The Sequence Project operator adds columns to perform computations over an ordered set. It divides the input set into segments based on the value of one or more columns. The operator then outputs one segment at a time. These columns are shown as arguments in the Sequence Project operator.

Microsoft SQL Server supports four types of functions: RANK, DENSE_RANK, ROW_NUMBER, and NTILE. Sequence Projectwill generate plans that have a Sequence Project and generally two segments.

Sequence Project is a physical and a logical operator.

 

技术分享

 

https://msdn.microsoft.com/en-us/library/ms187041(v=sql.105).aspx

 

Sequence Project Showplan Operator 序列映射运算符

标签:

原文地址:http://www.cnblogs.com/lyhabc/p/4758536.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!