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 AX (Archived)

SQL TRANSACTION LOG FILE SIZE TOO BIG 500 GB HOW TO TRANCATE THE LOG FILE.

(0) ShareShare
ReportReport
Posted on by 561

Hello,

I am using backend SQL SERVER 2005 FOR MY AX VERSION 2009

SQL TRANSACTION LOG FILE SIZE TOO BIG 500 GB  HOW TO TRUNCATE THE LOG FILE AND FREE UNUSED SPACE 

I AM FACING PERFORMANCE ISSUES..

 SQL TRANSACTION LOG LDF FILE 500 GB

DATABASE MDF FILE 50 GB

SERVER FREE SPACE 50 GB


HOW TO TRUNCATE THE TRANSACTION LOG FILE.


MY RECOVERY MODEL IS FULL AND I DID N'T TAKE FULL BACKUP BEFORE. BUT NOW FULL BACKUP PROCESS IS IN PROGRESS...


GIVE ME THE BEST SOLUTION FOR THIS PROBLEM...


SWITCH TO SIMPLE MODEL WILL AFFECT THE DATABASE FILE.

TO TRANCATE LOG FILE

AM PLANNING TO SWITCH SIMPLE AND THEN BACK TO FULL..


PLEASE GIVE ME YOUR BEST SOLUTION..


THANKS

SHANAWAZ 

 

 

 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    640579632b5c4e6780a624c4771b6f93 Profile Picture
    4,730 on at

    msdn.microsoft.com/.../ms365418.aspx

  • Mansoor Adeel Profile Picture
    840 on at

    SQL Server reduces size of T-Log in following steps:

    1.Take backup of Transaction Log (right click on db->click on tasks->backup->here select Transaction log in backup type then press ok for t-log backup)

    2.Take backup of Full db(right click on db->click on tasks->backup->here select full in backup type then press ok for t-log backup)

    3.Right click on db->tasks->shrink->database

    this way your db size will be reduced to original.

    Hope it would help.

    Mansoor Adeel

  • Mohammad Atif Profile Picture
    on at

    Chage the recovery Model of the database to Simple and then revert it back to Full.

  • Community Member Profile Picture
    on at

    You should have a scheduled maintenance task to deal with the transaction log size.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans