時間:2024-02-09 10:40作者:下載吧人氣:26
昨天網(wǎng)上一網(wǎng)友說,由于他同事誤將“max server memory”設(shè)置為10M后,SQL Server數(shù)據(jù)庫登錄不了,當(dāng)時我簡單測試了一下,今天有空就順手將整個過程整理一下,記錄在此。
在SSMS的UI界面設(shè)置“max server memory”,即使你設(shè)置為10M大小,但是它會“悄悄”默認(rèn)修改為128M,你用Profile跟蹤或者設(shè)置后會發(fā)現(xiàn),它偷偷“修改”了你的設(shè)置值(改為了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.
網(wǎng)友評論