Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
May 25

Written by: Steve Gray
5/25/2010 12:48 PM  RssIcon

I spend a lot of time optimizing queries, and I need a reference base. I don’t want to plagiarize content so I’ll just link to it. Like anything else on this site, we’re interested in your comments

Assert

The Assert is used to verify a certain condition, it validates a Constraint on every row to ensure that the condition was met. If, for example, our DDL includes a check constraint which specifies only two valid values for a column, the Assert will, for every row, validate the value passed to the column to ensure that input is consistent with the check constraint.

From Simple-talk.com

 

BookMark/Key Lookup

Used to fetch values via a clustered index, when the required data isn’t in a non-clustered index

1025-FA1 SQL 2000 icon

1025-FA2 SQL 2005 & 2008 icon

From Simple-talk.com

 

Clustered Index Scan

<need content>

 

Compute Scalar

Performs a scalar computation and returns a computed value. This calculation can be as simple as a conversion of value, or a concatenation of values

1018-F1 Compute Scalar

From Simple-talk.com

 

Concatenation

Receives one or more input streams and returns all the rows from each input stream in turn. We can see its effect whenever we use the Transact–SQL UNION ALL command.

1010-Contatenation001 Concatenation

From Simple-talk.com

 

Hash Operator

 

Spools

There are five types of Spool operations, each with its own behavior, and idiosyncrasies, but they all share in common the way that they save their intermediate query results on the TempDB database, and use this temporary area to search a value.

 

1034-Spool1Eager Spool

From Simple-Talk

 1034-Spool2Lazy Spool

From Simple-Talk

 1034-Spool3Row Count Spool

From Simple-Talk

The Row Count Spool operator is a simple component in an execution plan that can make an enormous difference to SQL query plans that would otherwise read a table on every row of the inner input to a nested loop.

The Row Count Spool operator just scans an input, counting how many rows are present, and returns the number of rows without any of the data they contained

 1034-Spool4Table Spool

 1034-Spool5 Non-Clustered Index Spool

From Simple-Talk
The Index Spool is used to improve the read performance of a table which is not indexed and, as with other types of Spool operators, it can be used in a “Lazy” or an “Eager” manner. So, when SQL Server needs to read a table that is not indexed, it can choose to create a "temporary index" using the Spool, which can result in a huge performance improvement in your queries.

 

From Simple-talk.com

Stream Aggregate

<need content>

Tags:
Categories:
Location: Blogs Parent Separator DEVSHED Blogs Child Separator SQL
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us