{"id":20221,"date":"2025-04-19T02:58:46","date_gmt":"2025-04-18T18:58:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/20221.html"},"modified":"2025-04-19T02:58:46","modified_gmt":"2025-04-18T18:58:46","slug":"sql-server%e5%a6%82%e4%bd%95%e9%80%9a%e8%bf%87sql%e8%af%ad%e5%8f%a5%e8%8e%b7%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%a1%ac%e4%bb%b6%e5%92%8c%e7%b3%bb%e7%bb%9f%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/20221.html","title":{"rendered":"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f"},"content":{"rendered":"<p>\u5728SQL SERVER\u4e2d\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f\u5462\uff1f\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u5904\u7406\u5668(CPU)\u3001\u5185\u5b58\uff08Memory\uff09\u3001\u78c1\u76d8\uff08Disk\uff09\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f\u3002\u5982\u6709\u4e0d\u8db3\u548c\u9057\u6f0f\uff0c\u656c\u8bf7\u8865\u5145\u3002\u8c22\u8c22\uff01<\/p>\n<h3>\u4e00\uff1a\u67e5\u770b\u6570\u636e\u5e93\u670d\u52a1\u5668CPU\u7684\u4fe1\u606f<\/h3>\n<p><span class=\"token comment\">&#8212;SQL \u83b7\u53d6\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684CPU\u578b\u53f7<\/span><\/p>\n<p><span class=\"token keyword\">EXEC<\/span> xp_instance_regread <\/p>\n<p>    <span class=\"token string\">\\&#8217;HKEY_LOCAL_MACHINE\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>    <span class=\"token string\">\\&#8217;HARDWARE\\\\DESCRIPTION\\\\System\\\\CentralProcessor\\\\0\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>    <span class=\"token string\">\\&#8217;ProcessorNameString\\&#8217;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212;SQL 2:\u83b7\u53d6\u6570\u636e\u5e93\u670d\u52a1\u5668CPU\u6838\u6570\u7b49\u4fe1\u606f(\u53ea\u9002\u7528\u4e8eSQL 2005\u4ee5\u53ca\u4ee5\u4e0a\u7248\u672c\u6570\u636e\u5e93)<\/span><\/p>\n<p><span class=\"token comment\">\/*************************************************************************************<\/p>\n<p>&#8211;cpu_count                :\u6307\u5b9a\u7cfb\u7edf\u4e2d\u7684\u903b\u8f91 CPU \u6570<\/p>\n<p>&#8211;hyperthread_ratio        :\u6307\u5b9a\u4e00\u4e2a\u7269\u7406\u5904\u7406\u5668\u5305\u516c\u5f00\u7684\u903b\u8f91\u5185\u6838\u6570\u4e0e\u7269\u7406\u5185\u6838\u6570\u7684\u6bd4.\u865a\u62df\u673a<\/p>\n<p>&#8212;                         \u4e2d\u53ef\u4ee5\u8868\u793a\u6bcf\u4e2a\u865a\u62df\u63d2\u69fd\u7684\u6838\u6570\u3002\u865a\u62df\u4e2d[Physical CPU Count]\u5176\u5b9e<\/p>\n<p>&#8212;                         \u8868\u793a\u865a\u62df\u63d2\u69fd\u6570<\/p>\n<p>*************************************************************************************\/<\/span><\/p>\n<p><span class=\"token keyword\">SELECT<\/span> s<span class=\"token punctuation\">.<\/span>cpu_count                        <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>Loggic CPU Count<span class=\"token punctuation\">]<\/span><br \/>\n      <span class=\"token punctuation\">,<\/span>s<span class=\"token punctuation\">.<\/span>hyperthread_ratio                <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>Hyperthread Ratio<span class=\"token punctuation\">]<\/span><br \/>\n      <span class=\"token punctuation\">,<\/span>s<span class=\"token punctuation\">.<\/span>cpu_count<span class=\"token operator\">\/<\/span>s<span class=\"token punctuation\">.<\/span>hyperthread_ratio  <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>Physical CPU Count<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token keyword\">FROM<\/span> sys<span class=\"token punctuation\">.<\/span>dm_os_sys_info s <span class=\"token keyword\">OPTION<\/span> <span class=\"token punctuation\">(<\/span>RECOMPILE<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212;SQL 3:\u83b7\u53d6\u6570\u636e\u5e93\u670d\u52a1\u5668CPU\u6838\u6570(\u9002\u7528\u4e8e\u6240\u6709\u7248\u672c)<\/span><br \/>\n<span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">TABLE<\/span> <span class=\"token comment\">#TempTable<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span><br \/>\n      <span class=\"token punctuation\">[<\/span><span class=\"token keyword\">Index<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token punctuation\">[<\/span>Name<span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token punctuation\">[<\/span>Internal_Value<span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token punctuation\">[<\/span>Character_Value<span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">INSERT<\/span>  <span class=\"token keyword\">INTO<\/span> <span class=\"token comment\">#TempTable<\/span><br \/>\n        <span class=\"token keyword\">EXEC<\/span> xp_msver<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">SELECT<\/span>  Internal_Value <span class=\"token keyword\">AS<\/span> VirtualCPUCount<br \/>\n<span class=\"token keyword\">FROM<\/span>    <span class=\"token comment\">#TempTable<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span>   Name <span class=\"token operator\">=<\/span> <span class=\"token string\">\\&#8217;ProcessorCount\\&#8217;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">DROP<\/span> <span class=\"token keyword\">TABLE<\/span> <span class=\"token comment\">#TempTable;<\/span><br \/>\nGO<\/p>\n<p><span class=\"token comment\">&#8212;SQL 4\uff1a\u5728\u8001\u5916\u535a\u5ba2\u4e2d\u770b\u5230\u4e00\u4e2a\u8ba1\u7b97CPU\u76f8\u5173\u4fe1\u606f\u7684SQL\uff0c\u4e0d\u8fc7\u865a\u62df\u673a\u8ba1\u7b97\u6709\u70b9\u5c0f\u95ee\u9898\uff0c\u6211\u4fee\u6539\u4e86\u4e00\u4e0b\u3002<\/span><\/p>\n<p><span class=\"token keyword\">DECLARE<\/span> <span class=\"token variable\">@xp_msver<\/span> <span class=\"token keyword\">TABLE<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n    <span class=\"token punctuation\">[<\/span>idx<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token keyword\">int<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token boolean\">NULL<\/span><br \/>\n    <span class=\"token punctuation\">,<\/span><span class=\"token punctuation\">[<\/span>c_name<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token keyword\">varchar<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token boolean\">NULL<\/span><br \/>\n    <span class=\"token punctuation\">,<\/span><span class=\"token punctuation\">[<\/span>int_val<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token keyword\">float<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token boolean\">NULL<\/span><br \/>\n    <span class=\"token punctuation\">,<\/span><span class=\"token punctuation\">[<\/span>c_val<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token keyword\">varchar<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">8<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token boolean\">NULL<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">INSERT<\/span> <span class=\"token keyword\">INTO<\/span> <span class=\"token variable\">@xp_msver<\/span><\/p>\n<p><span class=\"token keyword\">EXEC<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">\\'[master]..[xp_msver]\\&#8217;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">WITH<\/span> <span class=\"token punctuation\">[<\/span>ProcessorInfo<span class=\"token punctuation\">]<\/span><\/p>\n<p><span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">(<\/span><\/p>\n<p>    <span class=\"token keyword\">SELECT<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>number_of_physical_cpus<span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">,<\/span><span class=\"token keyword\">CASE<\/span><br \/>\n            <span class=\"token keyword\">WHEN<\/span> hyperthread_ratio <span class=\"token operator\">=<\/span> cpu_count<br \/>\n                <span class=\"token keyword\">THEN<\/span> cpu_count<br \/>\n            <span class=\"token keyword\">ELSE<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">END<\/span> <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>number_of_cores_per_cpu<span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">,<\/span><span class=\"token keyword\">CASE<\/span><br \/>\n            <span class=\"token keyword\">WHEN<\/span> hyperthread_ratio <span class=\"token operator\">=<\/span> cpu_count<br \/>\n                <span class=\"token keyword\">THEN<\/span> cpu_count<br \/>\n            <span class=\"token keyword\">ELSE<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">*<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token punctuation\">[<\/span>hyperthread_ratio<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">END<\/span> <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>total_number_of_cores<span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">,<\/span><span class=\"token punctuation\">[<\/span>cpu_count<span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">AS<\/span> <span class=\"token punctuation\">[<\/span>number_of_virtual_cpus<span class=\"token punctuation\">]<\/span><\/p>\n<p>        <span class=\"token punctuation\">,<\/span><span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token keyword\">SELECT<\/span> <span class=\"token punctuation\">[<\/span>c_val<span class=\"token punctuation\">]<\/span><br \/>\n            <span class=\"token keyword\">FROM<\/span> <span class=\"token variable\">@xp_msver<\/span><br \/>\n            <span class=\"token keyword\">WHERE<\/span> <span class=\"token punctuation\">[<\/span>c_name<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">=<\/span> <span class=\"token string\">\\&#8217;Platform\\&#8217;<\/span><br \/>\n            <span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">AS<\/span> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb883\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728SQL SERVER\u4e2d\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f\u5462\uff1f\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u5904\u7406\u5668(CPU)\u3001\u5185\u5b58\uff08Memory\uff09\u3001\u78c1\u76d8\uff08Disk\uff09\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f\u3002\u5982\u6709\u4e0d\u8db3\u548c\u9057\u6f0f\uff0c\u656c\u8bf7\u8865\u5145\u3002_\u600e\u4e48\u770bsqlserver cpu\u5185\u5b58\u591a\u5c11<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[768,1581,100,43],"topic":[],"class_list":["post-20221","post","type-post","status-publish","format-standard","hentry","category-server","tag-sql","tag-sqlserver","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/20221.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb883\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728SQL SERVER\u4e2d\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f\u5462\uff1f\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u5904\u7406\u5668(CPU)\u3001\u5185\u5b58\uff08Memory\uff09\u3001\u78c1\u76d8\uff08Disk\uff09\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f\u3002\u5982\u6709\u4e0d\u8db3\u548c\u9057\u6f0f\uff0c\u656c\u8bf7\u8865\u5145\u3002_\u600e\u4e48\u770bsqlserver cpu\u5185\u5b58\u591a\u5c11\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/20221.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T18:58:46+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/20221.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/20221.html\",\"name\":\"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T18:58:46+00:00\",\"dateModified\":\"2025-04-18T18:58:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/20221.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/20221.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/20221.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/20221.html","og_locale":"zh_CN","og_type":"article","og_title":"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb883\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728SQL SERVER\u4e2d\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f\u5462\uff1f\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u53d6\u5904\u7406\u5668(CPU)\u3001\u5185\u5b58\uff08Memory\uff09\u3001\u78c1\u76d8\uff08Disk\uff09\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u4fe1\u606f\u3002\u5982\u6709\u4e0d\u8db3\u548c\u9057\u6f0f\uff0c\u656c\u8bf7\u8865\u5145\u3002_\u600e\u4e48\u770bsqlserver cpu\u5185\u5b58\u591a\u5c11","og_url":"https:\/\/www.wsisp.com\/helps\/20221.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T18:58:46+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/20221.html","url":"https:\/\/www.wsisp.com\/helps\/20221.html","name":"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T18:58:46+00:00","dateModified":"2025-04-18T18:58:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/20221.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/20221.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/20221.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SQL SERVER\u5982\u4f55\u901a\u8fc7SQL\u8bed\u53e5\u83b7\u670d\u52a1\u5668\u786c\u4ef6\u548c\u7cfb\u7edf\u4fe1\u606f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/20221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=20221"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/20221\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=20221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=20221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=20221"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=20221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}