时间:2024-02-09 10:40作者:下载吧人气:20
昨天网上一网友说,由于他同事误将“max server memory”设置为10M后,SQL Server数据库登录不了,当时我简单测试了一下,今天有空就顺手将整个过程整理一下,记录在此。
在SSMS的UI界面设置“max server memory”,即使你设置为10M大小,但是它会“悄悄”默认修改为128M,你用Profile跟踪或者设置后会发现,它偷偷“修改”了你的设置值(改为了128M),
EXEC sys.sp_configure N’max server memory (MB)’, N’128′
GO
RECONFIGURE WITH OVERRIDE
GO
Configuration option ‘max server memory (MB)’ changed from 4096 to 128. Run the RECONFIGURE statement to install.
网友评论