数据库项目需要很长时间才能打开

发布于 2024-07-30 14:18:06 字数 665 浏览 3 评论 0原文

每当我打开下面有多个数据库项目的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧时光的容颜 2024-08-06 14:18:07

它正在序列化 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文