sqlserver數(shù)據(jù)庫內(nèi)存分配 如何設(shè)置SQLServer數(shù)據(jù)庫內(nèi)存?
如何設(shè)置SQLServer數(shù)據(jù)庫內(nèi)存?DBCC dropcleanbugs--打開高級配置exec spuconfigure “顯示高級選項”,1--設(shè)置最大內(nèi)存值以清除現(xiàn)有緩存空間exec spuc
如何設(shè)置SQLServer數(shù)據(jù)庫內(nèi)存?
DBCC dropcleanbugs
--打開高級配置
exec spuconfigure “顯示高級選項”,1
--設(shè)置最大內(nèi)存值以清除現(xiàn)有緩存空間
exec spuconfigure “最大服務(wù)器內(nèi)存”,256
exec(“重新配置)”)
--設(shè)置等待時間
waitfor delay “00:00:01”--重置最大內(nèi)存值
exec spuuconfigure“Max server memory”,4096
exec(“reconfigure”)
--關(guān)閉高級配置
exec spuconfigure“show advanced options”,0