{"id":824,"date":"2017-03-29T06:00:53","date_gmt":"2017-03-29T13:00:53","guid":{"rendered":"http:\/\/3.209.169.194\/blogs\/erin\/?p=824"},"modified":"2017-04-13T09:19:56","modified_gmt":"2017-04-13T16:19:56","slug":"sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/","title":{"rendered":"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates"},"content":{"rendered":"<p>In last week&#8217;s post I discussed the basics of how automatic updates to statistics occur in SQL Server.\u00a0 This week I want to talk about scheduled (aka manual) updates, because as you might remember, we really want to control when statistics are updated.<\/p>\n<p>In terms of updating statistics you have multiple options, including:<\/p>\n<ul>\n<li>Update Statistics Task (Maintenance Plan)<\/li>\n<li>sp_updatestats<\/li>\n<li>UPDATE STATISTICS<\/li>\n<\/ul>\n<p>For systems that do not have a full-time DBA, one of the easiest methods for managing statistics is the Update Statistics Task.\u00a0 This task can be configured for all databases or certain databases, and you can determine what statistics it updates:<\/p>\n<figure id=\"attachment_825\" aria-describedby=\"caption-attachment-825\" style=\"width: 550px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-825 size-full\" src=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats.jpg\" alt=\"Update Statistics Task- deciding which statistics to update\" width=\"550\" height=\"467\" srcset=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats.jpg 550w, https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats-300x255.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-825\" class=\"wp-caption-text\">Update Statistics Task &#8211; deciding which statistics to update<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You might think you want to update All existing statistics.\u00a0 If you just had a plan with just this task, that <em>might<\/em> be true.\u00a0 But what I see most often is that someone configures the Rebuild Index task, and then has the Update Statistics task as the next step.\u00a0 In that case, if you are running SQL Server 2014 and below, you want to update Column statistics only.\u00a0 When you run the Rebuild Index task in SQL Server 2014, you rebuild all indexes, and when you rebuild an index, its statistic is updated with a fullscan.\u00a0 Therefore, there is no need to update Index statistics after you rebuild all your indexes, but you do need to update column statistics.<\/p>\n<p>This is a bit more complicated in SQL Server 2016.\u00a0 The Rebuild Index task has more options in SQL Server 2016, which is nice for that specific task, but it makes providing guidance about statistics updates a bit trickier.\u00a0 In SQL Server 2016 you can configure the Rebuild Index task so that it only rebuilds an index if a certain level of fragmentation exists.\u00a0 Therefore, some of your indexes will rebuild (and thus have statistics updated) and some will not (and not have updated statistics).\u00a0 How do you manage that with the Update Statistics task?\u00a0 Well, in that case you probably select All existing statistics and update some statistics for a second time, which is really a waste.\u00a0 Therefore, if you&#8217;re on SQL Server 2016, you probably want to look at more intelligent updates.<\/p>\n<p>One method, which I would not say is intelligent, but it is an option, is to use sp_updatestats in a scheduled job that runs on a regular basis.\u00a0 This command is one you run for a database, not for a specific statistic or index or table.\u00a0 The sp_updatestats command will only update statistics if data has changed.\u00a0 That sounds good, but the caveat is that only one (1) row has to have changed.\u00a0 If I have a table with 2,000,000 rows, and only 5 rows have changed, I really don&#8217;t need to update statistics.<\/p>\n<p>The other method is to use UPDATE STATISTICS in a scheduled job.\u00a0 The UPDATE STATISTICS command can be run for individual statistics or for a table (updating all statistics for a table).\u00a0 You <em>can<\/em> develop an intelligent method to use this command, which is what I recommend.\u00a0 Rather than a blanket update to all statistics, or statistics where one row has changed, I prefer to update statistics that are outdated based on the amount of data that has changed.\u00a0 Consider the aforementioned table with 2,000,000 rows.\u00a0 If I let SQL Server update statistics automatically, I would need 400,500 rows to change.\u00a0 It&#8217;s quite possible that with a table of that size I would want to statistics to update sooner &#8211; say after 200,000 rows had changed, or 10% of the table.<\/p>\n<p>We can programmatically determine whether we need to update statistics using the <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/system-dynamic-management-views\/sys-dm-db-stats-properties-transact-sql\">sys.dm_db_stats_properties<\/a> DMF.\u00a0 This DMF tracks modifications, and also tells us how many rows were in the table when statistics were last updated, and the date statistics were updated. For example, if I update some rows in Sales.SalesOrderDetail, and then look at the output from the DMF, you can see that the modification counter matches the number of rows I changed* for the ProductID index:<\/p>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nUSE &#x5B;AdventureWorks2012];\r\nGO\r\n\r\nUPDATE &#x5B;Sales].&#x5B;SalesOrderDetail]\r\nSET &#x5B;ProductID] = &#x5B;ProductID]\r\nWHERE &#x5B;ProductID] IN (921,873,712);\r\nGO\r\n\r\nSELECT\r\n&#x5B;so].&#x5B;name] &#x5B;TableName],\r\n&#x5B;ss].&#x5B;name] &#x5B;StatisticName],\r\n&#x5B;ss].&#x5B;stats_id] &#x5B;StatisticID],\r\n&#x5B;sp].&#x5B;last_updated] &#x5B;LastUpdated],\r\n&#x5B;sp].&#x5B;rows] &#x5B;RowsInTableWhenUpdated],\r\n&#x5B;sp].&#x5B;rows_sampled] &#x5B;RowsSampled],\r\n&#x5B;sp].&#x5B;modification_counter] &#x5B;NumberOfModifications]\r\nFROM &#x5B;sys].&#x5B;stats] &#x5B;ss]\r\nJOIN &#x5B;sys].&#x5B;objects] &#x5B;so] ON &#x5B;ss].&#x5B;object_id] = &#x5B;so].&#x5B;object_id]\r\nCROSS APPLY &#x5B;sys].&#x5B;dm_db_stats_properties] (&#x5B;so].&#x5B;object_id], &#x5B;ss].stats_id) &#x5B;sp]\r\nWHERE &#x5B;so].&#x5B;name] =\u00a0 N'SalesOrderDetail';\r\nGO\r\n<\/pre>\n<figure id=\"attachment_826\" aria-describedby=\"caption-attachment-826\" style=\"width: 1024px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput.jpg\"><img decoding=\"async\" class=\"size-large wp-image-826\" src=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput-1024x108.jpg\" alt=\"Output from sys.dm_db_stats_properties\" width=\"1024\" height=\"108\" srcset=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput-1024x108.jpg 1024w, https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput-300x32.jpg 300w, https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput-900x95.jpg 900w, https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/statsouput.jpg 1419w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-826\" class=\"wp-caption-text\">Output from sys.dm_db_stats_properties<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em>*You&#8217;re correct, I technically didn&#8217;t change ProductID to a new value, but SQL Server doesn&#8217;t know that.\u00a0 Also, there&#8217;s a foreign key on that column which is why I can&#8217;t easily change it a random number.<\/em><\/p>\n<p>Armed with this type of data, we can intelligently decide whether we should update statistics because a percentage of rows (rather than just a fixed number of rows) have changed.\u00a0 In the example above, only 8% of data changed &#8211; probably not enough to require me to update statistics.\u00a0 It&#8217;s quite possible that some statistics need to be updated daily because there is a high rate of change, and other statistics only need to be updated weekly or monthly because data doesn&#8217;t change much at all.<\/p>\n<p>Ultimately, when it comes to scheduled updates of statistics, you can go the sledgehammer route (Update Statistics task or sp_updatestats) or the selective update route (UPDATE STATISTICS and sys.dm_db_stats_properties).\u00a0 Using the Update Statistics task or sp_updatestats is easier if you&#8217;re not familiar with SQL Server and if you have the maintenance window and resources for it to run.\u00a0 To be perfectly clear: if you&#8217;re a system administrator and want to update statistics, I&#8217;d rather you use this approach than nothing at all.\u00a0 Presumably, if you don&#8217;t have a full-time DBA, you also don&#8217;t need the system to be available 24&#215;7, so you can take the performance hit at night or on the weekend while all statistics update.\u00a0 In that situation I&#8217;m ok with the approach.<\/p>\n<p>But, if you are a DBA and you know how to write T-SQL, then you can absolutely write some code that programmatically looks at your statistics and decides what to update and what to skip.\u00a0 Whatever method you use, just make sure your updates are scheduled to run regularly through an Agent Job, and make sure you have Auto Update Statistics enabled just in case the job doesn&#8217;t run and you don&#8217;t get notified for some reason (this would be Plan B, because it&#8217;s always good for DBAs to have a Plan B!).<\/p>\n<p>Additional Resources<\/p>\n<ul>\n<li><a href=\"https:\/\/www.simple-talk.com\/sql\/performance\/managing-sql-server-statistics\/\">Managing SQL Server Statistics<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/erin\/new-statistics-dmf-in-sql-server-2008r2-sp2\/\">New Statistics DMF in SQL Server 2008R2 SP2<\/a><\/li>\n<li><a href=\"https:\/\/sqlperformance.com\/2013\/07\/sql-statistics\/statistics-updates\">Understanding what sp_updatestats Really Updates<\/a><\/li>\n<li><a href=\"https:\/\/sqlperformance.com\/2013\/04\/t-sql-queries\/update-statistics-duration\">Sample Size and the Duration of UPDATE STATISICS: Does it Matter?<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In last week&#8217;s post I discussed the basics of how automatic updates to statistics occur in SQL Server.\u00a0 This week I want to talk about scheduled (aka manual) updates, because as you might remember, we really want to control when statistics are updated. In terms of updating statistics you have multiple options, including: Update Statistics [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,17],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato<\/title>\n<meta name=\"description\" content=\"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.\" \/>\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\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato\" \/>\n<meta property=\"og:description\" content=\"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/\" \/>\n<meta property=\"og:site_name\" content=\"Erin Stellato\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-29T13:00:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T16:19:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats.jpg\" \/>\n<meta name=\"author\" content=\"Erin Stellato\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Erin Stellato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/\",\"name\":\"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#website\"},\"datePublished\":\"2017-03-29T13:00:53+00:00\",\"dateModified\":\"2017-04-13T16:19:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158\"},\"description\":\"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/\",\"name\":\"Erin Stellato\",\"description\":\"The SQL Sequel\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158\",\"name\":\"Erin Stellato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g\",\"caption\":\"Erin Stellato\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/erin\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/author\/erin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato","description":"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.","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\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/","og_locale":"en_US","og_type":"article","og_title":"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato","og_description":"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.","og_url":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/","og_site_name":"Erin Stellato","article_published_time":"2017-03-29T13:00:53+00:00","article_modified_time":"2017-04-13T16:19:56+00:00","og_image":[{"url":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2017\/03\/stats.jpg"}],"author":"Erin Stellato","twitter_misc":{"Written by":"Erin Stellato","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/","url":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/","name":"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates - Erin Stellato","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#website"},"datePublished":"2017-03-29T13:00:53+00:00","dateModified":"2017-04-13T16:19:56+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158"},"description":"Updating SQL Server statistics is a maintenance task that should execute on a regular basis, ideally updating only statistics that need it, not all of them.","breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/sqlskills-sql101-updating-sql-server-statistics-part-ii-scheduled-updates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/erin\/"},{"@type":"ListItem","position":2,"name":"SQLskills SQL101: Updating SQL Server Statistics Part II \u2013 Scheduled Updates"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/erin\/","name":"Erin Stellato","description":"The SQL Sequel","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/erin\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158","name":"Erin Stellato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g","caption":"Erin Stellato"},"sameAs":["http:\/\/3.209.169.194\/blogs\/erin"],"url":"https:\/\/www.sqlskills.com\/blogs\/erin\/author\/erin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts\/824"}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/comments?post=824"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts\/824\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/media?parent=824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/categories?post=824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/tags?post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}