1

我有一个运行 Widows Server 2012 的 Rackspace Can 服务器和一个 MS SQL Server 2012 Web 版实例。

今天早些时候,使用该服务器上的数据库的网站报告数据库中特定表的 SQL 查询超时。网络服务器或 SQL 服务器上没有任何异常/任何变化。

我重新启动了 MS SQL Server 以查看是否可以解决问题。重新启动后,我打开 Management Studio 并打开数据库树查看表并收到错误“无法访问数据库 xxxx。(对象浏览器)”。

然后我尝试使数据库脱机并得到第一个错误:

TITLE: Microsoft SQL Server Management Studio

------------------------------

Cannot show requested dialog.

------------------------------
ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

------------------------------

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Database 'xxxx' is being recovered. Waiting until recovery is finished. (Microsoft SQL Server, Error: 922)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3128&EvtSrc=MSSQLServer&EvtID=922&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

然后我尝试分离数据库并得到第二个错误:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Detach database failed for Server 'ORIGIN1'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Detach+database+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Cannot detach the database 'xxxxx' because it is currently in use. (Microsoft SQL Server, Error: 3703)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3128&EvtSrc=MSSQLServer&EvtID=3703&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

数据库大小为 1.8GB。

有任何想法吗?

4

0 回答 0