{"id":601,"date":"2019-04-01T17:16:08","date_gmt":"2019-04-01T17:16:08","guid":{"rendered":"http:\/\/linuxresellerwebhosting.in\/blog\/?p=601"},"modified":"2019-04-12T07:09:33","modified_gmt":"2019-04-12T07:09:33","slug":"easy-steps-to-your-shrink-sql-database-log","status":"publish","type":"post","link":"https:\/\/linuxresellerwebhosting.in\/blog\/easy-steps-to-your-shrink-sql-database-log\/","title":{"rendered":"Easy Steps to Your Shrink SQL Database Log"},"content":{"rendered":"\n<p>Hi Folks,<\/p>\n\n\n\n<p>Today we are going see to how to Shrink your <strong>MS SQL<\/strong> Database log file.<\/p>\n\n\n\n<p>This article requires the use of <strong>Microsoft SQL Server Management Studio<\/strong>. If you do not have this installed, Microsoft SQL Server Management Studio Express is available for free from Microsoft<\/p>\n\n\n\n<p>Now let&#8217;s see how to do it.<\/p>\n\n\n\n<p>Before that first you have change MS SQL database recovery model to simple<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log into\u00a0<strong>Microsoft SQL Server Management Studio<\/strong> <\/li><li>Right Click on your Database<\/li><li>Then choose <strong>Properties<\/strong><\/li><li>Change the recovery model to\u00a0<strong>Simple<\/strong><\/li><li>Then Click <strong>OK<\/strong><\/li><li>Once you changed recovery<\/li><li>Right click on the database<\/li><li>Select\u00a0<strong>Tasks > Shrink > Database<\/strong> <\/li><li>Click\u00a0<strong>OK<\/strong><\/li><li>Now you have change the recovery model to Full. Right click on the database<\/li><li>Select\u00a0<strong>Properties<\/strong> <\/li><li>Click on\u00a0<strong>Options<\/strong> <\/li><li>Change the recovery model to\u00a0<strong>Full<\/strong> <\/li><li><strong>Click\u00a0OK<\/strong> <br><\/li><\/ol>\n\n\n\n<p>Finally Restart your database service <\/p>\n\n\n\n<p>Hope this tutorial will be helpful \ud83d\ude42<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Folks, Today we are going see to how to Shrink your MS SQL Database log file. This article requires<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[1],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":3,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":606,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/601\/revisions\/606"}],"wp:attachment":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}