SQL Lazy Spool Eager Spool

https://www.simple-talk.com/sql/learn-sql-server/showplan-operator-of-the-week-lazy-spool/

The Lazy Spool is actually very similar to the Eager Spool; the difference is just that Lazy Spool reads data only when individual rows are required. It create a temporary table and build this table in a “lazy” manner; that is, it reads and stores the rows in a temporary table only when the parent operator actually asks for a row, unlike Eager Spool, which reads all rows at once. To refer back to some material I covered in the Eager Spool explanation, the Lazy Spool is a Non-blocking operator, whereas Eager Spool is a Blocking Operator.

上一篇:【BZOJ】【3205】【APIO2013】机器人robot


下一篇:Spring学习之旅(六)Spring AOP工作原理初探