web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How can I safely reduce the size of my CRM SQL log?

(0) ShareShare
ReportReport
Posted on by 700

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Pedro Azevedo Profile Picture
    830 User Group Leader on at

    Hi,

    You can change de recovey model and set to Simple (In simple recovery model SQL Server maintains only a minimal amount of information in the transaction log).

    If you are in Full Recovery, you need  Shrink DB (you can do this in Simple Recovery) to get a small log size.

  • Suggested answer
    Adam Surgenor Profile Picture
    425 on at

    Set up a maintenance plan to do the above.  It can just shrink the database on a schedule, or a backup that includes the transaction log will do the same.

  • Suggested answer
    Edward Muller Profile Picture
    30 on at

    You can set your recovery model to simple, which will decrease the size. Have a look at this post for an explanation of the recovery models: msdn.microsoft.com/.../ms189275.aspx

  • Mohammad Atif Profile Picture
    on at

    If you have Log shipping set up or if you have T-log backup jobs that run frequently then changing the Recovery Model is not an option here. I would suggest you to schedule full backup of the database more frequently so that it will keep truncate the logs, otherwise you may go for the recovery model changes as suggested by others

    Thanks,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans