Analyzing database schema takes hours

前端 未结 10 1812
星月不相逢
星月不相逢 2021-02-01 15:21

Using a new SQL2005 database project in VS2010. I did import objects and settings, and built the project. It seems to be stuck at \'Analyzing database schema. Your database pro

10条回答
  •  青春惊慌失措
    2021-02-01 15:27

    1. Go to Project Settings
    2. click on the Database Settings button
    3. Under the Operational tab

      3.1 uncheck Auto create statictics and

      3.2 Uncheck Auto update statistics checkbox.

    This will reduce your numbers of operations by about 90% and the analysis should finish instantly.

提交回复
热议问题