Hi All,
Does anyone know how to get rid of an Eager spool in a query plan?
I've got an INSERT SELECT and SQL Server has determined to spool the clustered index on the inserted table to tempdb (using the eager spool step). This is slowing the query way down. I don't want to drop the index because the table has lots of data in it. Also, using other hints doesn't work as well because the clustered index is being spooled regardless of the hint being employed.
Any ideas???
Thanks
Tom Davis
tdavis@sark.com
Does anyone know how to get rid of an Eager spool in a query plan?
I've got an INSERT SELECT and SQL Server has determined to spool the clustered index on the inserted table to tempdb (using the eager spool step). This is slowing the query way down. I don't want to drop the index because the table has lots of data in it. Also, using other hints doesn't work as well because the clustered index is being spooled regardless of the hint being employed.
Any ideas???
Thanks
Tom Davis
tdavis@sark.com