15:44 2014-01-24 08R2,一次通过GUI更改'最大服务器内存(MB)'为16MB,errorlog显示信息如下

2014-01-23 15:49:49.71 spid55      Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install.
2014-01-23 15:49:49.88 spid55 FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2014-01-23 15:49:49.92 spid55 Configuration option 'max server memory (MB)' changed from 2147483647 to 16. Run the RECONFIGURE statement to install.
2014-01-23 15:49:49.92 spid55 FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2014-01-23 15:49:49.96 spid55 SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Object Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.
2014-01-23 15:49:49.99 spid55 SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'SQL Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.
2014-01-23 15:49:49.99 spid55 SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Bound Trees' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.
2014-01-23 15:49:50.06 spid55 Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install.
2014-01-23 15:49:50.06 spid55 FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2014-01-23 15:50:26.37 spid55
Memory Manager KB
---------------------------------------- ----------
VM Reserved 1619672
VM Committed 44800
AWE Allocated 0
Reserved Memory 1024
Reserved Memory In Use 0
2014-01-23 15:50:26.39 spid55
Memory node Id = 0 KB
---------------------------------------- ----------
VM Reserved 1616856
VM Committed 42096
AWE Allocated 0
MultiPage Allocator 14312
SinglePage Allocator 15944
2014-01-23 15:50:26.40 spid55
Memory node Id = 32 KB
---------------------------------------- ----------
VM Reserved 1728
VM Committed 1672
AWE Allocated 0
MultiPage Allocator 1600
SinglePage Allocator 15944
2014-01-23 15:50:26.40 spid55
MEMORYCLERK_SQLGENERAL (node 0) KB
---------------------------------------- ----------
VM Reserved 0
VM Committed 0
AWE Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 1216
MultiPage Allocator 3528
2014-01-23 15:50:26.39 Server Failed allocate pages: FAIL_PAGE_ALLOCATION 1

执行查询语句报错

2014-01-23 16:47:08.80 spid54      错误: 701,严重性: 17,状态: 130。
2014-01-23 16:47:08.80 spid54 There is insufficient system memory in resource pool 'default' to run this query.
2014-01-23 16:47:08.80 spid55 错误: 701,严重性: 17,状态: 123。
2014-01-23 16:47:08.80 spid55 There is insufficient system memory in resource pool 'default' to run this query.

第二天在对象资源管理器下连接数据库报错(重启过)--08下想重现错误,没能成功
通过DAC连接重置max server memory,重启数据库服务,正常登录

 sqlcmd -E -S 127.0.0.1,1434
sp_configure 'show advanced options',1
go
reconfigure with override
go
sp_configure 'max server memory',1024
go
reconfigure with override
go


--附DAC连接
1、单用户模式启动数据库
开启一个命令窗口,输入以下命令,并保持窗口打开

 d:
cd D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn
sqlservr.exe mssqlserver -m

查看返回的日志信息,找到类似下面两行

 Server is listening on [ 127.0.0.1 <ipv4> 1434] .
Dedicated admin connection support was established for listening locally on port 1434.

2、使用DAC连接到数据库
在另一个命令窗口运行

 sqlcmd -A -d master
sqlcmd -E -S 127.0.0.1,1434或
sqlcmd -Usa -Ppassword -S 127.0.0.1,1434

DAC重置max server memory的更多相关文章

  1. max server memory

    MS SQL Server 2008 R2,主要是用作ERP的数据库,但它的内存使用率非常高: 经查资料,原来数据库有默认的情况之下,使用内存时它是尽可能使用完有效内存.如果你不想这样,你可以手动分配 ...

  2. 限制sqlserver最大内存后无法连接-EXEC sp_configure max server memory

    在sql server 中设置了过小的 "max server memory"最大内存后,sqlserver可启动,但是无法连接. 网络上流行的"sqlserver 内存 ...

  3. SQL Server误设置max server memory处理小结

    昨天网上一网友说,由于他同事误将"max server memory"设置为10M后,SQL Server数据库登录不了,当时我简单测试了一下,今天有空就顺手将整个过程整理一下,记 ...

  4. SQL Server ->> Memory Allocation Mechanism and Performance Analysis(内存分配机制与性能分析)之 -- Minimum server memory与Maximum server memory

    Minimum server memory与Maximum server memory是SQL Server下配置实例级别最大和最小可用内存(注意不等于物理内存)的服务器配置选项.它们是管理SQL S ...

  5. Server Memory Server Configuration Options 服务器内存服务配置选项

    Server Memory Server Configuration Options https://docs.microsoft.com/en-us/sql/database-engine/conf ...

  6. SolrCore Initialization Failures - Max direct memory is likely too low

    org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: The max direct memory is ...

  7. Buffer Pool--SQL Server:Memory Manager 对象

    --=================================================================SELECT * FROM sys.sysperfinfoWHER ...

  8. ArcGIS Server10.2忘记密码怎么办?重置ArcGIS Server Manager密码

    忘记了ArcGIS Server Manager的密码不要慌张,下面简单的几步就可以重置密码. 第一步:找到ArcGIS Server的安装目录,然后找到..\ArcGIS\Server\tools\ ...

  9. max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]

    sh- /etc/sysctl.conf vm.max_map_count = #在/etc/sysctl.conf追加上面一条 #并执行命令: sysctl -p

随机推荐

  1. JavaScript操作DOM对象

    js的精华即是操作DOM对象 [1]先看代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8& ...

  2. 如何用Apache POI操作Excel文件-----如何在已有的Excel文件中插入一行新的数据?

    在POI的第一节入门中,我们提供了两个简单的例子,一个是如何用Apache POI新建一个工作薄,另外一个例子是,如果用Apache POI新建一个工作表.那么在这个章节里面,我将会给大家演示一下,如 ...

  3. java字符串练习题

  4. 西川善司【神秘海域(Uncharted)】的图形分析

          本文是为传播0月8日发售的[神秘海域 合集]魅力而短篇连载的第2回,这次主要集中在神秘海域系列的图形的技术方面.原文链接在 http://weekly.ascii.jp/elem/000/ ...

  5. ecshop运行超过30秒超时的限制解决办法

    ecshop运行超过30秒超时的限制解决办法 ECSHOP模板/ecshop开发中心(www.68ecshop.com) / 2014-06-04 ecshop运行超过服务器默认的设置30秒的限制时会 ...

  6. wordpress自定义数据库出错页面

    wordpress数据连接出错时,会有一个空白页面,有一行字:数据连接错误.这样当然不美观,好在这个页面是可以自定义的. 在/wp-content/目录下创建'db-error.php'文件,当数据库 ...

  7. EditPlus使用心得及常用快捷键

    下载好烈火版EditPlus_4.00.465_SC  然后去官网下载自动补全ACP文件  我用的是php_stx_acp.zip  解压到editplus4主目录下 然后打开软件-设置-参数 先调字 ...

  8. 不再写.bat

    <script type="text/javascript"> for (var w = 0; w < 24; w++) { setTimeout(functio ...

  9. double-clicking

    <!doctype html> <button id="id0" onclick="w('id0','str0')">target0&l ...

  10. spring-3-mvc-hello-world-example

    http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example/