{"id":47528,"date":"2019-11-27T11:07:55","date_gmt":"2019-11-27T11:07:55","guid":{"rendered":"https:\/\/www.stellarinfo.com\/blog\/?p=47528"},"modified":"2021-04-22T06:00:32","modified_gmt":"2021-04-22T06:00:32","slug":"microsoft-sql-server-crash-recovery-mechanism","status":"publish","type":"post","link":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/","title":{"rendered":"Microsoft SQL Server Crash Recovery Mechanism"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><?xml encoding=\"utf-8\" ?><p>How SQL Server performs its logging and crash recovery mechanisms till date is a mystery for most IT professionals including DBAs. Microsoft SQL Server Crash recovery mechanism is the process that occurs when the database is moved back to a consistent and usable state after a dirty shutdown. When the SQL Server instance fails, there is a high possibility that the database can be left in an inconsistent state. During the time of the crash, the following could have occurred:<\/p><ul class=\"wp-block-list\"><li>Existing data might have changed by transactions which did not fully complete at the time of failure.<\/li><li>Completed transactions that had not been flushed to the disk could be lost during failure.<\/li><\/ul><p>Crash recovery operates by rolling back incomplete transactions and writing to the disk completed committed transactions that were still in memory when the crash occurred.<\/p><h2 class=\"wp-block-heading\" id=\"a-quick-look-at-the-causes-of-a-crash-recovery-could-be:\"><strong>A quick look at the causes of a crash recovery could be:<\/strong><\/h2><ul class=\"wp-block-list\"><li>A hardware failure like disk, CPU, memory, or network.<\/li><li>A fatal operating system error<\/li><li>A power failure on the server.<\/li><li>The DBMS software crashed<\/li><li>Human error<\/li><\/ul><p>A database recovery process is a crucial requirement for all RDMS and it can end up being a mind-numbing process. The quest to improve the recovery process has birthed different procedures, but still only few have really understood RECOVERY.<\/p><p>In this article, I&rsquo;ll demonstrate the impact of a dirty shutdown of the database instance while a transaction is running and provide several techniques and tools that are available for faster and successful recovery even in the worst-case scenario of a corrupted database. Let&rsquo;s stay under the assumption that we currently have a LIVE database with no issues and <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/architecture\/data-guide\/relational-data\/online-transaction-processing\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"OLTP transactions (opens in a new tab)\">OLTP transactions<\/a> being run against the database(s). In this simulation, I would have to create a test database and try to mimic the above assumptions.<\/p><p><strong>First, we run this code to create a blank database for simulation purposes<\/strong><\/p><pre class=\"wp-block-preformatted\">Use Master\nGo\n--Create a new database\nCREATE DATABASE CrashRecoverySimulator\nGo\n<\/pre><p>Next, using the database context of CrashRecoverySimulator, we create a dummy table with 3 columns and insert test data of replicated data values.<\/p><pre class=\"wp-block-preformatted\">--Use it\nUse CrashRecoverySimulator\nGo\n--Create a new table\nCREATE TABLE CRS\n(\nColA VARCHAR(50) NOT NULL,\nColB VARCHAR(50) NOT NULL,\nColC VARCHAR(50) NOT NULL\n)\nGo\n--Insert a record\nINSERT INTO CRS VALUES\n(\nREPLICATE('A', 25),\nREPLICATE('B', 25),\nREPLICATE('C', 25)\n)\nGo\n<\/pre><p>Now this is where we want to begin a transaction and keep it open to simulate the crash recovery of the SQL Server database<\/p><pre class=\"wp-block-preformatted\">--Begin a new transaction without committing it&hellip;\nBEGIN TRANSACTION\nUPDATE CRS\nSET ColA = REPLICATE('X',50)\nGO\n<\/pre><p>With the transaction still running, perform a dirty shutdown with code below. This mimics the scenario of a server crashing or forced shutdown.<\/p><p><strong>NOTE<\/strong>: Run this in a separate query window or editor.<\/p><pre class=\"wp-block-preformatted\">--Simulate a dirty shutdown of instance\nSHUTDOWN WITH NOWAIT\nGO\n<\/pre><p>Now that SQL Server has stopped, we need to restart it by going to SQL Configuration Manager, Right Click on the SQL instance and Click Start.<\/p><p>With SQL Server running successfully and all databases ONLINE, including CrashRecoverySimulator. You can check database state with the code below.<\/p><pre class=\"wp-block-preformatted\">--Get query result of databases and their state\nselect name,state_desc from sys.databases order by name<\/pre><p class=\"has-pale-cyan-blue-background-color has-background\"><strong>Result<\/strong><\/p><p>Now let&rsquo;s query the CRS table and see if the UPDATE we performed in the running transaction is available.<\/p><pre class=\"wp-block-preformatted\">--Use it\nUse CrashRecovery\nGo\n--The transaction was rolled back\nSELECT * FROM CRS\nGo\n<\/pre><p class=\"has-pale-cyan-blue-background-color has-background\"><strong>Result<\/strong><\/p><p>The UPDATE statement was rolled back hence the data in ColA still remains the same.<\/p><h2 class=\"wp-block-heading\" id=\"want-to-know-the-internals?\"><strong>Want to know the INTERNALS?<\/strong><\/h2><p>Logging serves a provision for a variety of operations in SQL Server.\nThere are so many reasons as to why logging is vital in any RDMS. A few are\npresented below:<\/p><ul class=\"wp-block-list\"><li>It makes sure that if a crash occurs, a committed transaction will be correctly reflected in the database after the crash.<\/li><li>It ensures that an uncommitted transaction will be correctly rolled back and not reflected in the database after a crash.<\/li><li>It ensures that it is possible to cancel an <a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/a-sql-server-dba-myth-a-day-130-in-flight-transactions-continue-after-a-failover\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"in-flight transaction (opens in a new tab)\">in-flight transaction<\/a> and have all its operations rolled back.<\/li><li>It allows a backup copy of the transaction log to be taken so that a database can be restored and the transaction log backups replayed to bring the database to a specific point in time with transactional consistency.<\/li><li>It supports features that rely on reading the transaction log, such as replication, database mirroring, and change data capture.<\/li><\/ul><p>The majority of these uses of logging involve a mechanism called recovery. Recovery is the procedure of having the changes found in log records restated or reverted in the database. Recovery has three phases: analysis, redo and undo. Database is completely accessible only after all three phases of recovery has completed. There is a feature in the enterprise edition called FAST recovery which allows the database to come online after REDO phase. Aside this, all these phases are required to happen before database can be in a consistent state.<\/p><p>Replaying log records is called the REDO (or roll forward) phase of recovery. Reverting log records is called the UNDO (or roll back) phase of recovery. In other words, recovery will make sure that a transaction and all its constituent log records are either redone or undone.<\/p><p>The simple form of recovery is when a single transaction is canceled, in\nwhich case it is undone and there is no net effect on the database. The most\ncomplex form is crash recovery&mdash;when SQL Server crashes (for whatever reason)\nand the transaction log must be recovered to bring the database to a\ntransactionally consistent point. This means that all transactions that were\ncommitted at the time of the crash must be rolled forward to ensure their\neffects are persisted in the database. And all in-flight transactions that had\nnot committed at the time of the crash must be rolled back to ensure their\neffects are not persisted in the database.<\/p><p>This is because there is no facility for a transaction in SQL Server to continue after a crash. Thus, if the effects of a partially complete transaction were not rolled back, the database would be left in an inconsistent state (possibly even structurally corrupt, depending on what the transaction was in the middle of doing). (Randal, 2009)<\/p><h3 class=\"wp-block-heading\"><strong>Why is my recovery taking so LONG?<\/strong><\/h3><p>Did you look at your SQL Server error longs and notice the below information? You are possibly experiencing a slow database recovery process. The three mentioned phases talked above is occurring in this scenario and the possible ONLY solution is to WAIT for it to complete. The wait time can be exponentially long based of factors of size of database files, number of VLFs, and computer resources.<\/p><p class=\"has-very-light-gray-background-color has-background\"><em>Recovery of database &lsquo;CrashRecoverySimulator&rsquo; (6) is 77% complete (approximately 28890 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.<\/em><\/p><p class=\"has-very-light-gray-background-color has-background\"><em>Recovery of database &lsquo;CrashRecoverySimulator&rsquo; (6) is 77% complete (approximately 28595 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.<\/em><\/p><p class=\"has-very-light-gray-background-color has-background\"><em>Recovery of database &lsquo;CrashRecoverySimulator&rsquo; (6) is 77% complete (approximately 28499 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.<\/em><\/p><p class=\"has-very-light-gray-background-color has-background\"><em>Recovery of database &lsquo;CrashRecoverySimulator&rsquo; (6) is 77% complete (approximately 28202 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.<\/em><\/p><p class=\"has-very-light-gray-background-color has-background\"><em>Recovery of database &lsquo;CrashRecoverySimulator&rsquo; (6) is 77% complete (approximately 28067 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.<\/em><\/p><p>Query rollback operation is usually single threaded while when same query executes it can use parallelism\/multiple threads to perform same operation making it very fast as compared to the rollback. Even restarting SQL Server service is will not help much, as it will actually make it worst as the rollback process will restart again. Luckily there are some dmv&rsquo;s that help give you an estimated completion time.<\/p><p class=\"has-pale-cyan-blue-background-color has-background\"><strong>Sample:<\/strong><\/p><pre class=\"wp-block-preformatted\">Select session_id, command,status, percent_complete, estimated_completion_time\nfrom sys.dm_exec_requests; \nwhere command IN ('killed\/rollback','rollback','db_startup')<\/pre><p class=\"has-pale-cyan-blue-background-color has-background\"><strong>Result<\/strong><\/p><figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td> Session_id <\/td><td> command <\/td><td> status<\/td><td> percent_complete <\/td><td>estimated_completion_time<\/td><\/tr><tr><td>35<\/td><td>DB STARTUP<\/td><td>background<\/td><td>86.06061<\/td><td>289093<\/td><\/tr><\/tbody><\/table><\/figure><p>From the result, you can see that there is a background process running a DB STARTUP command which is at an estimate percent of 86% with an estimated completion time of 289093 milliseconds. Convert the time to minutes or hours to get a rough idea of when the process will complete.<\/p><h4 class=\"wp-block-heading\"><strong>What happens if recovery FAILS?<\/strong><\/h4><p>In a case of failed recovery of the database, we would either have to restore the database from good known backups or attempt to repair the database. Allow me to introduce to you a tool that is trusted by Microsoft MVPs. <strong>Stellar SQL Database Repair<\/strong> is the most recommended <strong><a href=\"https:\/\/www.stellarinfo.com\/sql-recovery.php?utm_source=Site_Blog_crashrecovery&amp;utm_medium=Site_Blog_crashrecovery&amp;utm_campaign=Site_Blog_crashrecovery\">SQL Recovery software<\/a> <\/strong>amongst database administrators. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/cloud.stellarinfo.com\/StellarRepairforMSSQL-Blog.exe\"><img loading=\"lazy\" decoding=\"async\" width=\"252\" height=\"72\" src=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2021\/04\/free-download-1-1.png\" alt=\"free download\" class=\"wp-image-77716 apply-gradient-on-post-images\"><\/a><\/figure><\/div><p>The software fixes corrupt SQL database files and recovers inaccessible objects to save business data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How SQL Server performs its logging and crash recovery mechanisms till date&hellip; <a class=\"more-link\" href=\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\">Continue reading <span class=\"screen-reader-text\">Microsoft SQL Server Crash Recovery Mechanism<\/span><\/a><\/p>\n","protected":false},"author":29,"featured_media":47552,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-47528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-recovery","entry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Microsoft SQL Server Crash Recovery Mechanism<\/title>\n<meta name=\"description\" content=\"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database\" \/>\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.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microsoft SQL Server Crash Recovery Mechanism\" \/>\n<meta property=\"og:description\" content=\"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\" \/>\n<meta property=\"og:site_name\" content=\"Stellar Data Recovery Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-27T11:07:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-22T06:00:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Samuel Okudjeto (SQL Server DBA)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Samuel Okudjeto (SQL Server DBA)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\"},\"author\":{\"name\":\"Samuel Okudjeto (SQL Server DBA)\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca\"},\"headline\":\"Microsoft SQL Server Crash Recovery Mechanism\",\"datePublished\":\"2019-11-27T11:07:55+00:00\",\"dateModified\":\"2021-04-22T06:00:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\"},\"wordCount\":1329,\"commentCount\":4,\"image\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg\",\"articleSection\":[\"SQL Database Repair\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\",\"name\":\"Microsoft SQL Server Crash Recovery Mechanism\",\"isPartOf\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg\",\"datePublished\":\"2019-11-27T11:07:55+00:00\",\"dateModified\":\"2021-04-22T06:00:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca\"},\"description\":\"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database\",\"breadcrumb\":{\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg\",\"contentUrl\":\"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg\",\"width\":1000,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.stellarinfo.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microsoft SQL Server Crash Recovery Mechanism\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#website\",\"url\":\"https:\/\/www.stellarinfo.com\/blog\/\",\"name\":\"Stellar Data Recovery Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.stellarinfo.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca\",\"name\":\"Samuel Okudjeto (SQL Server DBA)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/264966bb6e87d5b19175805eb97429287cfff90336bfa7465777aa95e68ebc3c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/264966bb6e87d5b19175805eb97429287cfff90336bfa7465777aa95e68ebc3c?s=96&d=mm&r=g\",\"caption\":\"Samuel Okudjeto (SQL Server DBA)\"},\"description\":\"Samuel Okudjeto is a technology enthusiast with great interest in database administration and analytics. He has many certifications including the Microsoft Certified Expert Professional. Along with 6+ years of hands-on experience, he holds a Masters of Science degree in Business Analytics. Read more\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/samuel-okudjeto-865122118\/\"],\"url\":\"https:\/\/www.stellarinfo.com\/blog\/author\/samuel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Microsoft SQL Server Crash Recovery Mechanism","description":"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database","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.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/","og_locale":"en_US","og_type":"article","og_title":"Microsoft SQL Server Crash Recovery Mechanism","og_description":"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database","og_url":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/","og_site_name":"Stellar Data Recovery Blog","article_published_time":"2019-11-27T11:07:55+00:00","article_modified_time":"2021-04-22T06:00:32+00:00","og_image":[{"width":1000,"height":600,"url":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg","type":"image\/jpeg"}],"author":"Samuel Okudjeto (SQL Server DBA)","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Samuel Okudjeto (SQL Server DBA)","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#article","isPartOf":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/"},"author":{"name":"Samuel Okudjeto (SQL Server DBA)","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca"},"headline":"Microsoft SQL Server Crash Recovery Mechanism","datePublished":"2019-11-27T11:07:55+00:00","dateModified":"2021-04-22T06:00:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/"},"wordCount":1329,"commentCount":4,"image":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage"},"thumbnailUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg","articleSection":["SQL Database Repair"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/","url":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/","name":"Microsoft SQL Server Crash Recovery Mechanism","isPartOf":{"@id":"https:\/\/www.stellarinfo.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage"},"image":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage"},"thumbnailUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg","datePublished":"2019-11-27T11:07:55+00:00","dateModified":"2021-04-22T06:00:32+00:00","author":{"@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca"},"description":"The blog describes the caues of Microsoft SQL Server Crash Recovery Mechanism and easy solutions to handle it. Read all the internals and secure your database","breadcrumb":{"@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#primaryimage","url":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg","contentUrl":"https:\/\/www.stellarinfo.com\/blog\/wp-content\/uploads\/2019\/11\/Microsoft-SQL-Server-Crash-Recovery-Mechanism.jpg","width":1000,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.stellarinfo.com\/blog\/microsoft-sql-server-crash-recovery-mechanism\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.stellarinfo.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Microsoft SQL Server Crash Recovery Mechanism"}]},{"@type":"WebSite","@id":"https:\/\/www.stellarinfo.com\/blog\/#website","url":"https:\/\/www.stellarinfo.com\/blog\/","name":"Stellar Data Recovery Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.stellarinfo.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/f4cd9d1104638fc38217ed0d861ecaca","name":"Samuel Okudjeto (SQL Server DBA)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stellarinfo.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/264966bb6e87d5b19175805eb97429287cfff90336bfa7465777aa95e68ebc3c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/264966bb6e87d5b19175805eb97429287cfff90336bfa7465777aa95e68ebc3c?s=96&d=mm&r=g","caption":"Samuel Okudjeto (SQL Server DBA)"},"description":"Samuel Okudjeto is a technology enthusiast with great interest in database administration and analytics. He has many certifications including the Microsoft Certified Expert Professional. Along with 6+ years of hands-on experience, he holds a Masters of Science degree in Business Analytics. Read more","sameAs":["https:\/\/www.linkedin.com\/in\/samuel-okudjeto-865122118\/"],"url":"https:\/\/www.stellarinfo.com\/blog\/author\/samuel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/47528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=47528"}],"version-history":[{"count":19,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/47528\/revisions"}],"predecessor-version":[{"id":78076,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/47528\/revisions\/78076"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/media\/47552"}],"wp:attachment":[{"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=47528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=47528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stellarinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=47528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}