{"id":165,"date":"2009-12-07T09:06:00","date_gmt":"2009-12-07T03:36:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=165"},"modified":"2026-09-22T11:03:11","modified_gmt":"2026-09-22T05:33:11","slug":"how-to-purge-log-file-of-crm-database","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/","title":{"rendered":"How to purge Log file of CRM database"},"content":{"rendered":"<p>Over a period of time, you will notice that the size of the transaction log file has grown exponentially and it has now used up most of the free disk space available on the drive.<\/p>\n<p>Transaction log keep a track of all updates being made to the database tables and is required for recovery or restore of the database. So it is important that we do not lose the transaction logs. However we can safely purge the logs for the transactions have been completed successfully.<\/p>\n<p>To free up the disk space used by the transaction log you need to perform the below steps.<\/p>\n<p>1. Take a backup of the transaction log.<br \/>\n2. Shrink the log file.<\/p>\n<p><strong><u>Take a backup of the transaction log.<\/u><\/strong><\/p>\n<p>You can either execute the following statements through the browser<\/p>\n<p>You need to first create a backup device<br \/>\nEXEC sp_addumpdevice &#8216;disk&#8217;, &#8216;AdvWorksData&#8217;,<br \/>\n&#8216;C:\\SQLServerBackups\\AdvWorksData.bak&#8217;;<\/p>\n<p>Next backup the entire database first before you backup the log file<br \/>\n&#8212; Back up the full AdventureWorks database.<br \/>\nBACKUP DATABASE AdventureWorks TO AdvWorksData;<br \/>\nGO<\/p>\n<p>Now that a backup has been created of the entire database, you can back up the transaction log file.<\/p>\n<p>&#8212; Back up the AdventureWorks log.<br \/>\nBACKUP LOG AdventureWorks<br \/>\nTO AdvWorksLog;<\/p>\n<p>Note: It is important that you take a backup of the database before you take a backup of the log file as otherwise you will receive the following error.<\/p>\n<p>Msg 4214, Level 16, State 1, Line 1<br \/>\nBACKUP LOG cannot be performed because there is no current database backup.<br \/>\nMsg 3013, Level 16, State 1, Line 1<br \/>\nBACKUP LOG is terminating abnormally.<\/p>\n<p>Also you need to make sure that the Recovery model of the database is set to \u201cFull\u201d. By default the recovery model of CRM database is Simple.<\/p>\n<p>Or through the UI, backup the log file using the following steps<\/p>\n<p>Right Click dataset &#8211;&gt; Backup\u2026<\/p>\n<p><a href=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s1600-h\/1.jpg\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg\" alt=\"\" border=\"0\" \/><\/a><br \/>\nSelect backup type as Full and take a complete backup of the database.<\/p>\n<p>Once this backup completes. You now change the backup type to Transaction Log and in the options tab check for the following<\/p>\n<p><a href=\"http:\/\/4.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG5sXn2oI\/AAAAAAAAAQE\/g2tWHcsw_4U\/s1600-h\/2.jpg\"><img decoding=\"async\" src=\"http:\/\/4.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG5sXn2oI\/AAAAAAAAAQE\/g2tWHcsw_4U\/s400\/2.jpg\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<p><b><u>Shrink the log file.<\/u><\/b><\/p>\n<p>You can run the following statements<\/p>\n<p>DBCC SHRINKFILE(mscrm_log, 2)<\/p>\n<p>Mscrm_log is the logical file name of the Log file created for CRM database.<br \/>\n2 \u2013 is the target size specified. However if the transaction log has data more than the 2 MB it will release all the unused space to the minmum space that is required to store the log information.<\/p>\n<p>Through the UI, you can follow these steps.<\/p>\n<p>Right Click dataset &#8211;&gt; Shrink &#8211;&gt; Files\u2026<\/p>\n<p>Select the log file and choose the Release Unused space.<\/p>\n<p>&nbsp;<\/p>\n<div>\n<p><a href=\"http:\/\/4.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG5bF8iWI\/AAAAAAAAAP8\/94dLGncgwEg\/s1600-h\/3.jpg\"><img decoding=\"async\" src=\"http:\/\/4.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG5bF8iWI\/AAAAAAAAAP8\/94dLGncgwEg\/s400\/3.jpg\" alt=\"\" border=\"0\" \/><\/a><br \/>\nResources to refer for more details on this<\/p>\n<p><a href=\"http:\/\/support.microsoft.com\/?id=110139\">http:\/\/support.microsoft.com\/?id=110139<\/a><br \/>\n<a href=\"http:\/\/support.microsoft.com\/?id=272318\">http:\/\/support.microsoft.com\/?id=272318<\/a><br \/>\n<a href=\"http:\/\/support.microsoft.com\/?id=873235\">http:\/\/support.microsoft.com\/?id=873235<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Over a period of time, you will notice that the size of the transaction log file has grown exponentially and it has now used up most of the free disk space available on the drive. Transaction log keep a track of all updates being made to the database tables and is required for recovery or\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/\">Read More: How to purge Log file of CRM database &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[1730,1737],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","tag-transaction-log","tag-truncate"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Purge the CRM Database Log File | Dynamics CRM\" \/>\n\t\t<meta property=\"og:description\" content=\"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-12-07T03:36:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-22T05:33:11+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Purge the CRM Database Log File | Dynamics CRM\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#blogposting\",\"name\":\"How to Purge the CRM Database Log File | Dynamics CRM\",\"headline\":\"How to purge Log file of CRM database\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/3.bp.blogspot.com\\\/_pMlyDuF-ngc\\\/SxzG55jxNII\\\/AAAAAAAAAQM\\\/GgCO78wib6k\\\/s400\\\/1.jpg\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#articleImage\"},\"datePublished\":\"2009-12-07T09:06:00+05:30\",\"dateModified\":\"2026-09-22T11:03:11+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#webpage\"},\"articleSection\":\"Dynamics CRM, transaction log, truncate\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"position\":2,\"name\":\"Dynamics CRM\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#listItem\",\"name\":\"How to purge Log file of CRM database\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#listItem\",\"position\":3,\"name\":\"How to purge Log file of CRM database\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/\",\"name\":\"How to Purge the CRM Database Log File | Dynamics CRM\",\"description\":\"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2009\\\/12\\\/how-to-purge-log-file-of-crm-database\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2009-12-07T09:06:00+05:30\",\"dateModified\":\"2026-09-22T11:03:11+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Purge the CRM Database Log File | Dynamics CRM","description":"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.","canonical_url":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#blogposting","name":"How to Purge the CRM Database Log File | Dynamics CRM","headline":"How to purge Log file of CRM database","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#articleImage"},"datePublished":"2009-12-07T09:06:00+05:30","dateModified":"2026-09-22T11:03:11+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#webpage"},"articleSection":"Dynamics CRM, transaction log, truncate"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","position":2,"name":"Dynamics CRM","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#listItem","name":"How to purge Log file of CRM database"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#listItem","position":3,"name":"How to purge Log file of CRM database","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/","name":"How to Purge the CRM Database Log File | Dynamics CRM","description":"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2009-12-07T09:06:00+05:30","dateModified":"2026-09-22T11:03:11+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to Purge the CRM Database Log File | Dynamics CRM","og:description":"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.","og:url":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/","og:image":"https:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg","og:image:secure_url":"https:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg","article:published_time":"2009-12-07T03:36:00+00:00","article:modified_time":"2026-09-22T05:33:11+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to Purge the CRM Database Log File | Dynamics CRM","twitter:description":"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.","twitter:creator":"@inogic","twitter:image":"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SxzG55jxNII\/AAAAAAAAAQM\/GgCO78wib6k\/s400\/1.jpg","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"165","title":"How to Purge the CRM Database Log File | Dynamics CRM","description":"Learn how to purge the CRM database log file in Dynamics CRM and manage database log space effectively to help maintain system performance and storage.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2023-02-02 05:55:13","updated":"2026-09-22 06:49:03","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/\" title=\"Dynamics CRM\">Dynamics CRM<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to purge Log file of CRM database\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog\/"},{"label":"Dynamics CRM","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/"},{"label":"How to purge Log file of CRM database","link":"https:\/\/www.inogic.com\/blog\/2009\/12\/how-to-purge-log-file-of-crm-database\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}