Craig Freedman's SQL Server Blog

A discussion of query processing, query execution, and query plans in SQL Server.
Posts
  • Craig Freedman's SQL Server Blog

    Introduction to Partitioned Tables

    • 5 Comments
    In this post, I’m going to take a look at how query plans involving partitioned tables work. Note that there is a big difference between partitioned tables (available only in SQL Server 2005) and partitioned views (available both in SQL Server 2000 and...
  • Craig Freedman's SQL Server Blog

    Parallel Hash Join

    • 4 Comments
    SQL Server uses one of two different strategies to parallelize a hash join . The more common strategy uses hash partitioning. In some cases, we use broadcast partitioning; this strategy is often called a “broadcast hash join.” Hash Partitioning ...
  • Craig Freedman's SQL Server Blog

    Parallel Nested Loops Join

    • 6 Comments
    SQL Server parallelizes a nested loops join by distributing the outer rows (i.e., the rows from the first input) randomly among the nested loops threads. For example, if we have two threads running a nested loops join, we send about half of the rows to...
  • Craig Freedman's SQL Server Blog

    Parallel Scan

    • 3 Comments
    In this post, I’m going to take a look at how SQL Server parallelizes scans. The scan operator is one of the few operators that is parallel “aware.” Most operators neither need to know nor care whether they are executing in parallel; the scan is an exception...
Page 1 of 1 (4 items)