-->

数据库项目需要花费很长时间才能打开(database project takes a long ti

2019-09-22 20:48发布

每当我打开我的SLN下包含了多个数据库项目,它需要很长的时间(10到时间为15分钟)打开。 我得到的消息是:

Analyzing database schema. Your database projects will be ready after 23000 operations are completed.
Analyzing database schema. Your database projects will be ready after 45000 operations are completed.
Analyzing database schema. Your database projects will be ready after 59871 operations are completed.
Analyzing database schema. Your database projects will be ready after 63254 operations are completed.
Analyzing database schema. Your database projects will be ready after 87698 operations are completed.

Visual Studio中并没有给我什么是分析的指示?

有没有什么办法,我加快这一进程?

Answer 1:

它的序列化DBMDL文件。 这取决于你的项目的大小/复杂性需要相当长的时间。 其中一个我们是150MB,例如它需要近20分钟才能完成所有的“操作”。

我会建议每个解决方案一个项目-在您的Temp文件夹中它会不断更新这些DBMDL文件,直到他们完成,然后将它们复制到你的工作文件夹,并可能导致相当多的磁盘活动。

我也要去看看如何优化这些 - 中花费的时间量确实是在某些情况下路障。



文章来源: database project takes a long time to open