gpt4 book ai didi

visual-studio-2008 - 数据库项目需要很长时间才能打开

转载 作者:行者123 更新时间:2023-12-04 15:16:34 24 4
gpt4 key购买 nike

每当我打开我的 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 没有告诉我它正在分析什么?

我有什么办法可以加快这个过程吗?

最佳答案

它正在序列化 DBMDL 文件。这需要很长时间,具体取决于项目的大小/复杂性。例如,我们的一个是 150MB,完成所有“操作”需要将近 20 分钟。

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

我还将了解如何优化这些 - 在某些情况下,它所花费的时间确实是一个障碍。

关于visual-studio-2008 - 数据库项目需要很长时间才能打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1255416/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com