Skip to main content
deleted 151 characters in body
Source Link
Martijn Pieters
  • 1.1m
  • 325
  • 4.2k
  • 3.4k

At the time when you're using eager loading(include) it loads whole db tree at once from database.So it's very slow.

But You can identify the areas which you need to improve by converting your EF query into T-SQL by using LinqPad and then by using Database Engine Tuning Adviser on Sql Server 2008 will help you to identified the index keys what you needed.

I have written blog post about how to convert EF to T-Sql Here

This article will explain more than 10 methods to improve performance of your EF queryMicrosoft has also Herepublished an article on EF performance considerations you may want to read.

At the time when you're using eager loading(include) it loads whole db tree at once from database.So it's very slow.

But You can identify the areas which you need to improve by converting your EF query into T-SQL by using LinqPad and then by using Database Engine Tuning Adviser on Sql Server 2008 will help you to identified the index keys what you needed.

I have written blog post about how to convert EF to T-Sql Here

This article will explain more than 10 methods to improve performance of your EF query Here

At the time when you're using eager loading(include) it loads whole db tree at once from database.So it's very slow.

But You can identify the areas which you need to improve by converting your EF query into T-SQL by using LinqPad and then by using Database Engine Tuning Adviser on Sql Server 2008 will help you to identified the index keys what you needed.

Microsoft has also published an article on EF performance considerations you may want to read.

Source Link
Sampath
  • 66.2k
  • 70
  • 326
  • 461

At the time when you're using eager loading(include) it loads whole db tree at once from database.So it's very slow.

But You can identify the areas which you need to improve by converting your EF query into T-SQL by using LinqPad and then by using Database Engine Tuning Adviser on Sql Server 2008 will help you to identified the index keys what you needed.

I have written blog post about how to convert EF to T-Sql Here

This article will explain more than 10 methods to improve performance of your EF query Here