{"id":1136,"date":"2007-11-05T14:59:00","date_gmt":"2007-11-05T14:59:00","guid":{"rendered":"\/blogs\/paul\/post\/Why-wont-my-log-clear-in-SIMPLE-recovery-mode-SQL-2000-bug-or-very-large-VLFs.aspx"},"modified":"2017-04-13T09:54:17","modified_gmt":"2017-04-13T16:54:17","slug":"why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/","title":{"rendered":"Why won&#8217;t my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs"},"content":{"rendered":"<p><font face=\"Verdana\"><font size=\"2\"><\/p>\n<p>\nQuick post this morning before this gets knocked out of my head by the Disaster Recovery session we&#39;re doing today at SQL Connections. This came up yesterday for a few people both on 2000 and 2005 &#8211; the database is running in SIMPLE recovery mode but the log isn&#39;t getting cleared as it usually does with checkpoints. There are two possibilities here &#8211; one for 2000 and one for both 2000 and 2005.\n<\/p>\n<p>\n<strong>Very large VLFs<\/strong>\n<\/p>\n<p>\nIf the transaction log is comprised of very large (multi-GB) virtual log files, then a checkpoint operation may not clear out all the active log from the VLF &#8211; and so the log may not clear as frequently as when its comprised of more, smaller VLFs. Kimberly&#39;s <a href=\"http:\/\/www.sqlskills.com\/blogs\/kimberly\/resources-and-qa-from-our-sqlconnection-pre-pre-conference-workshop-database-maintenance-from-planning-to-practice-to-post-mortem\/\" target=\"_blank\">blog post<\/a> yesterday touched on this plus a solution.\n<\/p>\n<p>\n<strong>SQL 2000 checkpoint bug<\/strong>\n<\/p>\n<p>\nThis is one I hadn&#39;t heard of. There&#39;s a bug in 2000 SP4 that stops checkpoint working properly on some configurations and so the log file can grow until it runs out of space. A few people in yesterdays Database Maintenance class were hitting this. Searching through the Knowledge Base articles turned up <a href=\"https:\/\/support.microsoft.com\/kb\/909369\">KB 909369<\/a> which explains the issue and has a pointer to the hotfix.\n<\/p>\n<p>\nHope this helps some of you out.\n<\/p>\n<p><\/font><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick post this morning before this gets knocked out of my head by the Disaster Recovery session we&#39;re doing today at SQL Connections. This came up yesterday for a few people both on 2000 and 2005 &#8211; the database is running in SIMPLE recovery mode but the log isn&#39;t getting cleared as it usually does [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98],"tags":[],"class_list":["post-1136","post","type-post","status-publish","format-standard","hentry","category-transaction-log"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why won&#039;t my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - 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\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why won&#039;t my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"Quick post this morning before this gets knocked out of my head by the Disaster Recovery session we&#039;re doing today at SQL Connections. This came up yesterday for a few people both on 2000 and 2005 &#8211; the database is running in SIMPLE recovery mode but the log isn&#039;t getting cleared as it usually does [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2007-11-05T14:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T16:54:17+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\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/\",\"name\":\"Why won't my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2007-11-05T14:59:00+00:00\",\"dateModified\":\"2017-04-13T16:54:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why won&#8217;t my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs\"}]},{\"@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":"Why won't my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - 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\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/","og_locale":"en_US","og_type":"article","og_title":"Why won't my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - Paul S. Randal","og_description":"Quick post this morning before this gets knocked out of my head by the Disaster Recovery session we&#39;re doing today at SQL Connections. This came up yesterday for a few people both on 2000 and 2005 &#8211; the database is running in SIMPLE recovery mode but the log isn&#39;t getting cleared as it usually does [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/","og_site_name":"Paul S. Randal","article_published_time":"2007-11-05T14:59:00+00:00","article_modified_time":"2017-04-13T16:54:17+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\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/","name":"Why won't my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2007-11-05T14:59:00+00:00","dateModified":"2017-04-13T16:54:17+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/why-wont-my-log-clear-in-simple-recovery-mode-sql-2000-bug-or-very-large-vlfs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"Why won&#8217;t my log clear in SIMPLE recovery mode? SQL 2000 bug or very large VLFs"}]},{"@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\/1136","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=1136"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/1136\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=1136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=1136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=1136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}