国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > 綜合 > 正文

更改并行度會清空執(zhí)行計劃緩存

2024-07-21 02:50:31
字體:
供稿:網(wǎng)友
更改并行度會清空執(zhí)行計劃緩存早上下面報告報表數(shù)據(jù)庫反應很慢,遠程桌面發(fā)現(xiàn)大查詢過后,cpu不怎么動,于是我試著把并行度從0改成了32,恢復正常。按道理根據(jù)我的服務器配置并行度為0跟32是一樣的效果,為什么會恢復正常呢?以下是群里繼偉大神給的答案:從0改成32后你的執(zhí)行計劃緩存會被清空,從而重新生成執(zhí)行計劃.你不能動是應該發(fā)生了參數(shù)嗅探致使低效,從0變成32也好,變成1也好都會有一定效果.但過段時間問題有可能又會出現(xiàn).從錯誤日志里我也找到了答案:xp_readerrorlog:Configuration option 'max degree of parallelism' changed from 0 to 32. Run the RECONFIGURE statement to install.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.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.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.接下去就是SQL優(yōu)化的問題了。
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 灌阳县| 惠来县| 辉县市| 延吉市| 巴青县| 英山县| 鸡西市| 夏邑县| 湘乡市| 天门市| 洪洞县| 改则县| 金寨县| 资中县| 涪陵区| 常熟市| 旌德县| 资溪县| 仁寿县| 丰城市| 隆昌县| 荔波县| 马龙县| 望江县| 商南县| 西安市| 阿鲁科尔沁旗| 师宗县| 余庆县| 广宗县| 东兰县| 廊坊市| 社旗县| 巨野县| 隆昌县| 舞阳县| 榆社县| 龙州县| 布尔津县| 汤阴县| 九江市|