{"id":948,"date":"2009-02-23T12:29:00","date_gmt":"2009-02-23T12:29:00","guid":{"rendered":"\/blogs\/paul\/post\/Couple-of-nasty-FILESTREAM-bugs-fixed-in-2008-RTM-CU1.aspx"},"modified":"2017-08-07T15:57:48","modified_gmt":"2017-08-07T22:57:48","slug":"couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/","title":{"rendered":"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1"},"content":{"rendered":"<p>Cumulative Update 1 for SQL 2008 RTM contains fixes for two nasty <em>FILESTREAM<\/em> bugs (among a lot of other bug fixes).<\/p>\n<p>The first one concerns restoring a 2008 database from a series of log backups when the database contains FILESTREAM info. It&#8217;s possible that a race condition can cause one of the log backups to miss backing up a <em>FILESTREAM<\/em> file &#8211; resulting in a corrupt database after a restore operation. See <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/957809\">KB 957809<\/a> for more details.<\/p>\n<p>The second bug occurs when a clustered index is rebuilt using <em>ALTER INDEX &#8230; REBUILD<\/em> and the table contains <em>FILESTREAM<\/em> data. In this case, it&#8217;s possible that all the <em>FILESTREAM<\/em> files are copied, meaning the rebuild operation can take a very long time if there&#8217;s lots of large <em>FILESTREAM<\/em> data values in the table. There&#8217;s no need for the <em>FILESTREAM<\/em> data to be copied during an index rebuild as the <em>FILESTREAM<\/em> locations and filenames remain the same. See <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/957823\/fix-the-clustered-index-table-may-take-longer-than-you-expect-to-be-rebuilt-when-you-use-the-alter-index-rebuild-statement-in-sql-server\">KB 957823<\/a> for more details.<\/p>\n<p>You can get the fixes for these in CU1 &#8211; see <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/956717\/cumulative-update-package-1-for-sql-server-2008\">KB 956717<\/a> for the download (right at the top of the page) and the list of all other fixes included in the update.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cumulative Update 1 for SQL 2008 RTM contains fixes for two nasty FILESTREAM bugs (among a lot of other bug fixes). The first one concerns restoring a 2008 database from a series of log backups when the database contains FILESTREAM info. It&#8217;s possible that a race condition can cause one of the log backups to [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,41,49,86],"tags":[],"class_list":["post-948","post","type-post","status-publish","format-standard","hentry","category-bugfixes","category-filestream","category-install-setup","category-sql-server-2008"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - 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\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"Cumulative Update 1 for SQL 2008 RTM contains fixes for two nasty FILESTREAM bugs (among a lot of other bug fixes). The first one concerns restoring a 2008 database from a series of log backups when the database contains FILESTREAM info. It&#8217;s possible that a race condition can cause one of the log backups to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2009-02-23T12:29:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-08-07T22:57:48+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\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/\",\"name\":\"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2009-02-23T12:29:00+00:00\",\"dateModified\":\"2017-08-07T22:57:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1\"}]},{\"@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":"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - 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\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/","og_locale":"en_US","og_type":"article","og_title":"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - Paul S. Randal","og_description":"Cumulative Update 1 for SQL 2008 RTM contains fixes for two nasty FILESTREAM bugs (among a lot of other bug fixes). The first one concerns restoring a 2008 database from a series of log backups when the database contains FILESTREAM info. It&#8217;s possible that a race condition can cause one of the log backups to [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/","og_site_name":"Paul S. Randal","article_published_time":"2009-02-23T12:29:00+00:00","article_modified_time":"2017-08-07T22:57:48+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\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/","name":"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1 - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2009-02-23T12:29:00+00:00","dateModified":"2017-08-07T22:57:48+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/couple-of-nasty-filestream-bugs-fixed-in-2008-rtm-cu1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"Couple of nasty FILESTREAM bugs fixed in 2008 RTM CU1"}]},{"@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\/948","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=948"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/948\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}