English 中文(简体)
2. 液化Nhibernate Compound 低效忠
原标题:Fluent Nhibernate Compound Id slows perfomance

I m refactoring legacy project with many views. Currently it works rather quick by simply selecting data from view. But after refactoring selecting slows perfomance. I looked through the sql send to db, it almost the same, except some aliases set to fields, but this view doesn t has any primary key, so in order to make it work in fluent nhibernate i added a complex key. View has about 10k of rows. So I think delays are on the client side according to some nhibernate key checks. Can smbd help resolve this? Thanks.

最佳回答

其实,目前关于原产地的口号是关于复合Id背书的,作为一种替代解决办法,你可能会增加一个简单的关键,并对独一无二的领域进行质疑,这应当更快。

问题回答

暂无回答




相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签