简体   繁体   English

实体框架和SQL Server Express瓶颈

[英]Entity Framework and SQL Server Express bottlenecks

I have stumbled upon this slow performace problem using my local installed SQL Server 2008 Express. 我使用本地安装的SQL Server 2008 Express偶然发现了这种性能缓慢的问题 (For complete background see my other SO post: EF query against Database View is very slow ) (有关完整背景,请参阅我的其他SO文章: 针对Database View的EF查询非常慢

Instead, when I use SQL Server 2005 as the backend, I have no issues at all. 相反,当我使用SQL Server 2005作为后端时,我根本没有任何问题。

So, my question is: what is the problem between EF4.0 and SQL Server Express? 所以,我的问题是:EF4.0和SQL Server Express之间有什么问题?

Below are some of the things that should be kept in mind while designing your sql queries. 下面是设计sql查询时应记住的一些事情。

  • Poor Indexing 索引编制不良
  • Poor Statistics 统计不佳

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM