Home > Database > Mysql Tutorial > Error: 701 内存不足时使用DAC连接

Error: 701 内存不足时使用DAC连接

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:42:10
Original
1359 people have browsed it

前一段时间测试SQLServer2014内存数据库的时候发现如果数据库大小超过了设置的最大内存,SQLServer出现Error:701错误。错误信息:Error:701,Severity:17,State:.

前一段时间测试SQL Server 2014内存数据库的时候发现如果数据库大小超过了设置的最大内存,香港虚拟主机,SQL Server出现Error: 701错误。

错误信息:

Error: 701, Severity: 17, State: 123.

There is insufficient system memory in resource pool 'internal' to runthis query.

当时我是删除数据库然后重启的,香港服务器,其实在内存不足的情况下使用DAC还是可以连进去的。

下面是我做的测试:

默认连接失败:

 Error: 701 内存不足时使用DAC连接

使用DAC连接可以成功(也可以使用sqlcmd DAC):

 Error: 701 内存不足时使用DAC连接

由于我当时服务器还有内存资源所以直接修改了最大内存就可以了 :

sp_configure 'show advanced options', 1;

GO

RECONFIGURE;

GO

sp_configure 'max server memory', 4096;

GO

RECONFIGURE;

GO

DAC连接进去的话可以查看系统的状态,发现一些问题的session可以进行处理,网站空间,这样就不需要重启SQL Server,而且可以及时的发现问题。

 

本文出自 “关注SQL Server技术” 博客,请务必保留此出处

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
PHP parsing error: syntax error, unexpected '
From 1970-01-01 08:00:00
0
0
0
Report an error
From 1970-01-01 08:00:00
0
0
0
Error when uploading file format error
From 1970-01-01 08:00:00
0
0
0
html5 - EventSource error
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template