数据库项目需要很长时间才能打开
每当我打开下面有多个数据库项目的 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 没有告诉我它正在分析什么?
我有什么办法可以加快这个过程吗?
Whenever I open my SLN that has multiple database projects under it, it takes a very long time (10 to 15 mintues) to open. The messages I get are:
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 does not give me an indication of what it is analyzing?
Is there any way for me to speed up this process?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它正在序列化 DBMDL 文件。 这需要相当长的时间,具体取决于项目的大小/复杂性。 例如,我们的一个是 150MB,完成所有“操作”需要将近 20 分钟。
我建议每个解决方案都有一个项目 - 它不断更新 Temp 文件夹中的这些 DBMDL 文件,直到完成,然后将它们复制到您的工作文件夹,这可能会导致相当多的磁盘活动。
我还将了解如何优化这些——在某些情况下,所花费的时间确实是一个障碍。
It's serializing a DBMDL file. This takes quite a long time depending on the size/complexity of your project. One of ours is 150MB, for example and it takes almost 20 minutes to complete all of the "operations."
I would recommend having one project per solution - it continually updates these DBMDL files in your Temp folder until they are finished, then copies them to your working folder and can cause quite a bit of disk activity.
I'm also going to see about optimizing these - the amount of time it takes is really a roadblock in some cases.