Database performance problems

To summarize some places on the database side impact performance of the whole system recently encountered at work:

1, SQLite database after a cold start, the first query will be relatively slow, after some appearances verify that looks like this, no further studied his handling logic, where you want to reference https://blog.csdn.net/ zhuhongshu / Article This article was / the Details / 80,272,363 .

2, EF connection sql server does not seem to have the cache, maintaining older before I found there is a cycle, each will visit EF, leading to cycles and more time will seriously affect the performance, it is recommended to do their own caching mechanism.

Guess you like

Origin www.cnblogs.com/arvinlaw/p/12143108.html