Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

eager

Ways to avoid eager spool operations on SQL Server

August 3, 2023 by Tarik

My understanding of spooling is that it’s a bit of a red herring on your execution plan. Yes, it accounts for a lot of your query cost, but it’s actually an optimization that SQL Server undertakes automatically so that it can avoid costly rescanning. If you were to avoid spooling, the cost of the execution … Read more

Categories sql-server Tags eager, spool, sql-server, tsql Leave a comment

Linq for NHibernate and fetch mode of eager loading

May 30, 2023 by Tarik

The new Linq provider does it a little differently: var customers = session.Query<Customer>().Fetch(c => c.Orders).ToList(); More here: http://mikehadlow.blogspot.com/2010/08/nhibernate-linq-eager-fetching.html

Categories linq Tags eager, fetch, linq, nhibernate Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa