{"id":1235,"date":"2017-05-24T15:31:16","date_gmt":"2017-05-24T21:31:16","guid":{"rendered":"https:\/\/kevinjustin.com\/blog\/?p=1235"},"modified":"2017-05-24T15:31:16","modified_gmt":"2017-05-24T21:31:16","slug":"optimize-sql-for-scom","status":"publish","type":"post","link":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/","title":{"rendered":"Optimize SQL for SCOM"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"216\" class=\"alignnone size-full wp-image-1245\" alt=\"\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg\" \/><\/p>\n<p>Maybe I&#8217;m old school, but do you ever feel like optimizing SQL is like playing a video game?<\/p>\n<p>Keep on shooting, hopefully you don&#8217;t hit your thrusters and drift and then die!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Does your SQL DBA Team (or did you):<\/strong><\/p>\n<p>NTFS Allocation Unit set to 64KB for the SQL Server drives<\/p>\n<p>Dedicate memory for the OS (set SQL to use max memory)<\/p>\n<p>Set autogrow to be greater than 1 MB?<\/p>\n<p>MaxDOP (degrees of parallelism)<\/p>\n<p>TempDB&#8217;s are on separate mounts (and\u00a0match the number of cores)<\/p>\n<p>Database and log files are on separate mounts<\/p>\n<p>Backup SQL Server encryption keys<\/p>\n<p>Disable <span>XpCommandShell <\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Most of the documentation can be had from a single link<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/plan-sqlserver-design?view=sc-om-1711\" rel=\"noopener noreferrer\">https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/plan-sqlserver-design?view=sc-om-1711<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Disable XpCommandShell <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/system-stored-procedures\/xp-cmdshell-transact-sql\">https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/system-stored-procedures\/xp-cmdshell-transact-sql<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maybe I&#8217;m old school, but do you ever feel like optimizing SQL is like playing a video game? Keep on shooting, hopefully you don&#8217;t hit your thrusters and drift and then die! &nbsp; Does your SQL DBA Team (or did you): NTFS Allocation Unit set to 64KB for the SQL Server drives Dedicate memory for &hellip; <a href=\"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Optimize SQL for SCOM&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[134,212,228,268,288,300,410,419,420,440],"class_list":["post-1235","post","type-post","status-publish","format-standard","hentry","category-best-practice","tag-dop","tag-log-file","tag-maxdop","tag-ntfs","tag-optimization","tag-performance","tag-sql","tag-sql-server","tag-sql-server-encryption","tag-tempdb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Optimize SQL for SCOM - Kevin Justin&#039;s Blog<\/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:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Optimize SQL for SCOM - Kevin Justin&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Maybe I&#8217;m old school, but do you ever feel like optimizing SQL is like playing a video game? Keep on shooting, hopefully you don&#8217;t hit your thrusters and drift and then die! &nbsp; Does your SQL DBA Team (or did you): NTFS Allocation Unit set to 64KB for the SQL Server drives Dedicate memory for &hellip; Continue reading &quot;Optimize SQL for SCOM&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/\" \/>\n<meta property=\"og:site_name\" content=\"Kevin Justin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-24T21:31:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg\" \/>\n<meta name=\"author\" content=\"Kevin Justin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kevin Justin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/\"},\"author\":{\"name\":\"Kevin Justin\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/213cdc5c6c3f2a1d9e8417c07440972d\"},\"headline\":\"Optimize SQL for SCOM\",\"datePublished\":\"2017-05-24T21:31:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/\"},\"wordCount\":142,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/Asteroids.jpg\",\"keywords\":[\"dop\",\"log file\",\"maxdop\",\"ntfs\",\"optimization\",\"performance\",\"sql\",\"sql server\",\"sql server encryption\",\"tempdb\"],\"articleSection\":[\"Best Practice\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/\",\"name\":\"Optimize SQL for SCOM - Kevin Justin&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/Asteroids.jpg\",\"datePublished\":\"2017-05-24T21:31:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/213cdc5c6c3f2a1d9e8417c07440972d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/Asteroids.jpg\",\"contentUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/Asteroids.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2017\\\/05\\\/24\\\/optimize-sql-for-scom\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Optimize SQL for SCOM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\",\"name\":\"Kevin Justin&#039;s Blog\",\"description\":\"Operational monitoring tools including System Center, Azure Monitor\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/213cdc5c6c3f2a1d9e8417c07440972d\",\"name\":\"Kevin Justin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g\",\"caption\":\"Kevin Justin\"},\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/author\\\/kejustin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Optimize SQL for SCOM - Kevin Justin&#039;s Blog","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:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/","og_locale":"en_US","og_type":"article","og_title":"Optimize SQL for SCOM - Kevin Justin&#039;s Blog","og_description":"Maybe I&#8217;m old school, but do you ever feel like optimizing SQL is like playing a video game? Keep on shooting, hopefully you don&#8217;t hit your thrusters and drift and then die! &nbsp; Does your SQL DBA Team (or did you): NTFS Allocation Unit set to 64KB for the SQL Server drives Dedicate memory for &hellip; Continue reading \"Optimize SQL for SCOM\"","og_url":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/","og_site_name":"Kevin Justin&#039;s Blog","article_published_time":"2017-05-24T21:31:16+00:00","og_image":[{"url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg","type":"","width":"","height":""}],"author":"Kevin Justin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kevin Justin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#article","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/"},"author":{"name":"Kevin Justin","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/213cdc5c6c3f2a1d9e8417c07440972d"},"headline":"Optimize SQL for SCOM","datePublished":"2017-05-24T21:31:16+00:00","mainEntityOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/"},"wordCount":142,"commentCount":0,"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg","keywords":["dop","log file","maxdop","ntfs","optimization","performance","sql","sql server","sql server encryption","tempdb"],"articleSection":["Best Practice"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/","url":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/","name":"Optimize SQL for SCOM - Kevin Justin&#039;s Blog","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#primaryimage"},"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg","datePublished":"2017-05-24T21:31:16+00:00","author":{"@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/213cdc5c6c3f2a1d9e8417c07440972d"},"breadcrumb":{"@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#primaryimage","url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg","contentUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2017\/05\/Asteroids.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/kevinjustin.com\/blog\/2017\/05\/24\/optimize-sql-for-scom\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kevinjustin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Optimize SQL for SCOM"}]},{"@type":"WebSite","@id":"https:\/\/kevinjustin.com\/blog\/#website","url":"https:\/\/kevinjustin.com\/blog\/","name":"Kevin Justin&#039;s Blog","description":"Operational monitoring tools including System Center, Azure Monitor","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kevinjustin.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/213cdc5c6c3f2a1d9e8417c07440972d","name":"Kevin Justin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4c2a0d1189dd1ad7f305cf08aa9c5e2d4cc8fc26fde7ca573d3fd7e75520334e?s=96&d=mm&r=g","caption":"Kevin Justin"},"url":"https:\/\/kevinjustin.com\/blog\/author\/kejustin\/"}]}},"_links":{"self":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/1235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/comments?post=1235"}],"version-history":[{"count":0,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/1235\/revisions"}],"wp:attachment":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/media?parent=1235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/categories?post=1235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/tags?post=1235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}