Extreme wait-time when taking a SQL Server database offline

前端 未结 17 1080
有刺的猬
有刺的猬 2021-01-29 17:05

I\'m trying to perform some offline maintenance (dev database restore from live backup) on my dev database, but the \'Take Offline\' command via SQL Server Management Studio is

17条回答
  •  攒了一身酷
    2021-01-29 17:35

    In my case, the database was related to an old Sharepoint install. Stopping and disabling related services in the server manager "unhung" the take offline action, which had been running for 40 minutes, and it completed immediately.

    You may wish to check if any services are currently utilizing the database.

提交回复
热议问题