{"id":918,"date":"2014-10-16T10:21:00","date_gmt":"2014-10-16T02:21:00","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=918"},"modified":"2014-10-16T10:34:23","modified_gmt":"2014-10-16T02:34:23","slug":"%e4%bd%bf%e7%94%a8windows%e6%80%a7%e8%83%bd%e7%9b%91%e8%a7%86%e5%99%a8%e6%9f%a5%e7%9c%8b%e6%95%b0%e6%8d%ae%e5%ba%93%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%b4%9f%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=918","title":{"rendered":"\u4f7f\u7528Windows\u6027\u80fd\u76d1\u89c6\u5668\u67e5\u770bSQL Server\u6570\u636e\u5e93\u670d\u52a1\u5668\u8d1f\u8f7d"},"content":{"rendered":"<p>\u4e00\u4e2a\u670b\u53cb\u56e0\u4e3a\u8981\u505a\u6d3b\u52a8\uff0c\u60f3\u67e5\u770bSQL Server\u6570\u636e\u5e93\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u7684\u8d1f\u8f7d\u60c5\u51b5\uff0c\u60f3\u77e5\u9053CPU\u5360\u7528\u7387\u51fa\u73b0\u7684\u65f6\u673a\u548c\u8fde\u63a5\u6570\u3002\u4ed6\u54a8\u8be2\u6211\u65f6\uff0c\u6211\u5c31\u60f3\u5230\u4e86Windows\u7684\u6027\u80fd\u76d1\u89c6\u5668\u548cSQL Server\u7684\u6027\u80fd\u76d1\u89c6\u5668\uff0c\u4f46\u5927\u6982\u770b\u4e86\u4e00\u4e0b\u540e\uff0c\u8fd8\u662f\u5e94\u8be5\u4f7f\u5f97Windows\u7684\u6027\u80fd\u76d1\u89c6\u5668\u3002\u6211\u5c06\u64cd\u4f5c\u6b65\u9aa4\u505a\u4e2a\u7b80\u5355\u7684\u8bf4\u660e\u8bb0\u5f55\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\uff1a<\/p>\n<p>\u3010\u6ce8\u610f\u3011\u4ee5\u4e0b\u7684\u64cd\u4f5c\u57fa\u4e8eSQL Server 2008 R2 SP3\u6570\u636e\u5e93\u548cWindows 8.1\uff0c\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u53ef\u80fd\u7565\u6709\u4e0d\u540c\u3002<\/p>\n<p>\uff081\uff09\u5148\u65b0\u5efa\u4e00\u4e2a\u6570\u636e\u6536\u96c6\u5668\u96c6\uff0c\u6b64\u65f6\u4f1a\u6253\u5f00\u5411\u5bfc\uff0c\u8f93\u5165\u6536\u96c6\u5668\u7684\u540d\u5b57\uff0c\u6ce8\u610f\u4e0d\u8981\u548c\u5df2\u6709\u7684\u91cd\u540d\u3002\u6a21\u677f\u4f7f\u7528System Performance\uff0c\u5269\u4e0b\u7684\u5c31\u968f\u610f\u4e86\u3002<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_new.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-919\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_new-300x171.jpg\" alt=\"pm_new\" width=\"300\" height=\"171\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_new-300x171.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_new.jpg 578w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\uff082\uff09\u4fee\u6539\u521b\u5efa\u7684\u6570\u636e\u6536\u96c6\u5668\u96c6\u5c5e\u6027\uff0c<span style=\"color: #ff0000;\"><strong>\u6ce8\u610f\u4fee\u6539\u505c\u6b62\u6761\u4ef6\u4fdd\u8bc1\u5728\u7edf\u8ba1\u671f\u95f4\u4e0d\u8981\u505c\u6b62\u7edf\u8ba1\uff08\u9ed8\u8ba4\u662f60\u79d2\uff09<\/strong><\/span><\/p>\n<p>\uff083\uff09\u5728\u521b\u5efa\u7684\u6570\u636e\u6536\u96c6\u5668\u96c6\u4e2d\uff0c\u9009\u62e9Performance Counter\uff0c\u53f3\u51fb\u9009\u62e9\u5c5e\u6027\u6765\u6dfb\u52a0\u8981\u8bb0\u5f55\u7684\u8bb0\u6570\u5668\u3002\u56e0\u4e3a\u8981\u67e5\u770bCPU\u8d1f\u8f7d\u548c\u6570\u636e\u5e93\u8fde\u63a5\u6570\u91cf\uff0c\u6240\u4ee5\u9009\u62e9\u8bb0\u5f55\u4e24\u4e2a\u8ba1\u6570\u5668\uff1a<\/p>\n<p>CPU\u5360\u7528\u7387\uff1aProcessor.%Processor Time<\/p>\n<p>SQLServer\u8fde\u63a5\u6570\uff1a\\SQLServer:General Statistics\\Logical Connections<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_counter.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-920\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_counter-244x300.jpg\" alt=\"pm_counter\" width=\"244\" height=\"300\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_counter-244x300.jpg 244w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_counter.jpg 479w\" sizes=\"auto, (max-width: 244px) 100vw, 244px\" \/><\/a><\/p>\n<p>\uff083\uff09\u6dfb\u52a0\u5b8c\u6210\u540e\u70b9\u786e\u5b9a\u4fdd\u5b58\u8bbe\u7f6e\u3002<\/p>\n<p>\uff084\uff09\u53f3\u51fb\u6570\u636e\u6536\u96c6\u5668\u96c6\uff0c\u5728\u5f39\u51fa\u83dc\u5355\u4e0a\u9009\u62e9\u3010\u5f00\u59cb\u3011\u6765\u5f00\u59cb\u8bb0\u5f55\u6027\u80fd\u6570\u636e\u3002<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_start.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-921\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_start-300x210.jpg\" alt=\"pm_start\" width=\"300\" height=\"210\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_start-300x210.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_start.jpg 555w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\uff085\uff09\u73b0\u5728\u5df2\u7ecf\u5f00\u59cb\u8bb0\u5f55\u6027\u80fd\u6570\u636e\u4e86\uff0c\u5728\u8bb0\u5f55\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u505c\u6b62\u8bb0\u5f55\u6765\u67e5\u770b\u62a5\u544a\u6570\u636e\u4e86\u3002<\/p>\n<p>\uff086\uff09\u9009\u62e9\u62a5\u544a\uff0c\u627e\u5230\u7528\u6237\u5b9a\u4e49\u7684\u6536\u96c6\u5668\u540d\u79f0\uff0c\u627e\u5230\u6700\u8fd1\u7684\u4e00\u6b21\u62a5\u544a\u3002<\/p>\n<p>\uff087\uff09\u9ed8\u8ba4\u662f\u62a5\u544a\u6a21\u5f0f\uff0c\u6211\u4eec\u8981\u67e5\u770b\u8d1f\u8f7d\u7b49\u60c5\u51b5\u3002\u9009\u62e9\u67e5\u770b\u83dc\u5355\uff0c\u5207\u6362\u5230\u8d44\u6599\u5939\u89c6\u56fe\uff0c\u7136\u540e\u53cc\u51fbPerformance Counter.blg\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u6253\u5f00\u6027\u80fd\u56fe\u8868\uff0c\u9009\u62e9\u67e5\u770b\u76f8\u5e94\u7684\u9879\u76ee\u5c31\u53ef\u4ee5\u3002<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_report.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-922\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_report-300x151.jpg\" alt=\"pm_report\" width=\"300\" height=\"151\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_report-300x151.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/10\/pm_report.jpg 672w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u670b\u53cb\u56e0\u4e3a\u8981\u505a\u6d3b\u52a8\uff0c\u60f3\u67e5\u770bSQL Se [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[116,117,118],"class_list":["post-918","post","type-post","status-publish","format-standard","hentry","category-misc","tag-sql-server","tag-117","tag-118"],"views":6358,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=918"}],"version-history":[{"count":2,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/918\/revisions"}],"predecessor-version":[{"id":924,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/918\/revisions\/924"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}