DAC重置max server memory
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的更多相关文章
- max server memory
MS SQL Server 2008 R2,主要是用作ERP的数据库,但它的内存使用率非常高: 经查资料,原来数据库有默认的情况之下,使用内存时它是尽可能使用完有效内存.如果你不想这样,你可以手动分配 ...
- 限制sqlserver最大内存后无法连接-EXEC sp_configure max server memory
在sql server 中设置了过小的 "max server memory"最大内存后,sqlserver可启动,但是无法连接. 网络上流行的"sqlserver 内存 ...
- SQL Server误设置max server memory处理小结
昨天网上一网友说,由于他同事误将"max server memory"设置为10M后,SQL Server数据库登录不了,当时我简单测试了一下,今天有空就顺手将整个过程整理一下,记 ...
- SQL Server ->> Memory Allocation Mechanism and Performance Analysis(内存分配机制与性能分析)之 -- Minimum server memory与Maximum server memory
Minimum server memory与Maximum server memory是SQL Server下配置实例级别最大和最小可用内存(注意不等于物理内存)的服务器配置选项.它们是管理SQL S ...
- Server Memory Server Configuration Options 服务器内存服务配置选项
Server Memory Server Configuration Options https://docs.microsoft.com/en-us/sql/database-engine/conf ...
- 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 ...
- Buffer Pool--SQL Server:Memory Manager 对象
--=================================================================SELECT * FROM sys.sysperfinfoWHER ...
- ArcGIS Server10.2忘记密码怎么办?重置ArcGIS Server Manager密码
忘记了ArcGIS Server Manager的密码不要慌张,下面简单的几步就可以重置密码. 第一步:找到ArcGIS Server的安装目录,然后找到..\ArcGIS\Server\tools\ ...
- 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
随机推荐
- Java发展史之Java由来
Java:由Sun Microsystems公司于1995年5月推出的Java程序设计语言和Java平台的总称.Java语言是一种可以撰写跨平台应用软件的面向对象的程序设计语言,由当时任职太阳微系统的 ...
- Ural 1741 Communication Fiend(隐式图+虚拟节点最短路)
1741. Communication Fiend Time limit: 1.0 second Memory limit: 64 MB Kolya has returned from a summe ...
- 【转】各版本IIS下ASP.net请求处理过程区别
原文地址:http://www.cnblogs.com/fsjohnhuang/articles/2332074.html ASP.NET是一个非常强大的构建Web应用的平台,它提供了极大的灵活性和能 ...
- [ZZ] GTX760首测
再一次让AMD难做!NVIDIA新主力GTX760首测 1又见短板高端显卡,GTX760外观对比回顶部 [PConline评测]NVIDIA迅速的步伐真让人吃惊,短时间内拿出GTX780.GTX770 ...
- Web 在线文件管理器学习笔记与总结(19)上传文件
dir.func.php 中添加方法: /* 上传文件 */ function uploadFile($fileInfo,$path,$allowExt = array('jpg','jpeg','p ...
- C#winform中ListView的使用
使用ListView模仿Windows系统的资源管理器界面,实现文件(夹)的浏览.重命名.删除及查询等功能,主要功能界面展示如下: 1.MainForm.cs及MainForm.Designer.cs ...
- C#创建Excel
创建Workbook说白了就是创建一个Excel文件,当然在NPOI中更准确的表示是在内存中创建一个Workbook对象流. 本节作为第2章的开篇章节,将做较为详细的讲解,以帮助NPOI的学习者更好的 ...
- matches field ID value 17.9.1 The LABEL element
https://www.w3.org/TR/html401/interact/forms.html#edef-LABEL <!ELEMENT LABEL - - (%inline;)* -(LA ...
- Operand forms
Operand forms Computer Systems A Programmer's Perspective Second Edition
- Android@Home Apple HomeKit
Android@Home采用基于IEEE802.15.4标准的低功耗个域网协议的ZigBee技术,其是低功耗.低成本及低延迟.标准功率下可满足100米范围内的信号覆盖,并拥有三级安全模式,防止非法获取 ...