{"id":793,"date":"2009-09-15T12:10:00","date_gmt":"2009-09-15T12:10:00","guid":{"rendered":"\/blogs\/paul\/post\/Survey-how-do-you-create-and-maintain-statistics.aspx"},"modified":"2017-04-13T09:54:04","modified_gmt":"2017-04-13T16:54:04","slug":"survey-how-do-you-create-and-maintain-statistics","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/","title":{"rendered":"Survey: how do you create and maintain statistics"},"content":{"rendered":"<p>\n<font face=\"verdana,geneva\" size=\"2\">This survey is based on a suggestion from Jonathan Kehayias (<\/font><a href=\"http:\/\/sqlblog.com\/blogs\/jonathan_kehayias\/\"><font face=\"verdana,geneva\" size=\"2\">blog<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">\/<\/font><a href=\"https:\/\/twitter.com\/sqlsarg\"><font face=\"verdana,geneva\" size=\"2\">Twitter<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">). <\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">In this survey I&#39;m asking two questions: <\/font>\n<\/p>\n<ol>\n<li>\n<div>\n\t<font face=\"verdana,geneva\" size=\"2\">When you&#39;re designing\/implementing a database, do you manually create statistics or let SQL Server create them automatically? <\/font>\n\t<\/div>\n<\/li>\n<li>\n<div>\n\t<font face=\"verdana,geneva\" size=\"2\">How do you maintain statistics? Manually or letting SQL Server do it for you? Or&nbsp;both?&nbsp;<\/font>\n\t<\/div>\n<\/li>\n<\/ol>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">I&#39;ll probably&nbsp;collaborate with Kimberly on the editorial for this, as she&#39;s forgotten more about statistics than I&#39;ll ever know! <\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">*Please* no&nbsp;comments on this post &#8211; wait for the survey results post to avoid skewing the answers (comments are unfortunately moderated anyway, now that my blog gets a lot of spam). I&#39;m very interested in your reasoning, but not until everyone else responds. <\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">&nbsp;<br \/>\n<script>\nem24_survey_x = \"35ea3320-10ff-4c61-8944-90d821ff49d1\";\nem24_survey_width = \"255\";\nem24_survey_height = \"275\";\nem24_styles = \".em24_s {border:solid 1px #626A84; width:250px;} .em24_s td {font-size:12px;} .em24_q {background:#798BC6; color:#ffffff;} .em24_ai0, .em24_at0 {background:#E7F3FF; border-top:1px solid #B3C7D9;} .em24_ai1, .em24_at1 {background:#E3F7DE; border-top:1px solid #B3C7D9;} .em24_v {background:#798BC6}\";<\/script><br \/>\n<script src=\"http:\/\/my.surveypopups.com\/show\/si.js\" type=\"text\/javascript\">\n<\/script> &nbsp;<br \/>\n<script>\nem24_survey_x = \"538890fd-778d-458b-9a98-a3eab6e6ee64\";\nem24_survey_width = \"255\";\nem24_survey_height = \"225\";\nem24_styles = \".em24_s {border:solid 1px #626A84; width:250px;} .em24_s td {font-size:12px;} .em24_q {background:#798BC6; color:#ffffff;} .em24_ai0, .em24_at0 {background:#E7F3FF; border-top:1px solid #B3C7D9;} .em24_ai1, .em24_at1 {background:#E3F7DE; border-top:1px solid #B3C7D9;} .em24_v {background:#798BC6}\";<\/script><br \/>\n<script src=\"http:\/\/my.surveypopups.com\/show\/si.js\" type=\"text\/javascript\">\n<\/script> <\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">As always, a big Thanks! for contributing to the blog\/community by responding. Please shoot me an email (Contact button, bottom left of the blog), or ping me on Twitter (<\/font><a href=\"https:\/\/twitter.com\/PaulRandal\"><font face=\"verdana,geneva\" size=\"2\">@PaulRandal<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">) if you have an idea for a good survey. <\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This survey is based on a suggestion from Jonathan Kehayias (blog\/Twitter). In this survey I&#39;m asking two questions: When you&#39;re designing\/implementing a database, do you manually create statistics or let SQL Server create them automatically? How do you maintain statistics? Manually or letting SQL Server do it for you? Or&nbsp;both?&nbsp; I&#39;ll probably&nbsp;collaborate with Kimberly on [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,52,66,90,91],"tags":[],"class_list":["post-793","post","type-post","status-publish","format-standard","hentry","category-database-maintenance","category-involuntary-dba","category-performance-tuning","category-statistics","category-surveys"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Survey: how do you create and maintain statistics - Paul S. Randal<\/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.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Survey: how do you create and maintain statistics - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"This survey is based on a suggestion from Jonathan Kehayias (blog\/Twitter). In this survey I&#039;m asking two questions: When you&#039;re designing\/implementing a database, do you manually create statistics or let SQL Server create them automatically? How do you maintain statistics? Manually or letting SQL Server do it for you? Or&nbsp;both?&nbsp; I&#039;ll probably&nbsp;collaborate with Kimberly on [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2009-09-15T12:10:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T16:54:04+00:00\" \/>\n<meta name=\"author\" content=\"Paul Randal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Randal\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/\",\"name\":\"Survey: how do you create and maintain statistics - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2009-09-15T12:10:00+00:00\",\"dateModified\":\"2017-04-13T16:54:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Survey: how do you create and maintain statistics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\",\"name\":\"Paul S. Randal\",\"description\":\"In Recovery...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\",\"name\":\"Paul Randal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"caption\":\"Paul Randal\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/paul\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Survey: how do you create and maintain statistics - Paul S. Randal","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.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/","og_locale":"en_US","og_type":"article","og_title":"Survey: how do you create and maintain statistics - Paul S. Randal","og_description":"This survey is based on a suggestion from Jonathan Kehayias (blog\/Twitter). In this survey I&#39;m asking two questions: When you&#39;re designing\/implementing a database, do you manually create statistics or let SQL Server create them automatically? How do you maintain statistics? Manually or letting SQL Server do it for you? Or&nbsp;both?&nbsp; I&#39;ll probably&nbsp;collaborate with Kimberly on [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/","og_site_name":"Paul S. Randal","article_published_time":"2009-09-15T12:10:00+00:00","article_modified_time":"2017-04-13T16:54:04+00:00","author":"Paul Randal","twitter_misc":{"Written by":"Paul Randal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/","name":"Survey: how do you create and maintain statistics - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2009-09-15T12:10:00+00:00","dateModified":"2017-04-13T16:54:04+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/survey-how-do-you-create-and-maintain-statistics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"Survey: how do you create and maintain statistics"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/","name":"Paul S. Randal","description":"In Recovery...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce","name":"Paul Randal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","caption":"Paul Randal"},"sameAs":["http:\/\/3.209.169.194\/blogs\/paul"],"url":"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}