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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

AX Log DB Size Issue

(0) ShareShare
ReportReport
Posted on by 68

Hello,

As shown in the attached screenshot, the AX log database has grown significantly, even larger than the main database.



Is it safe to perform a shrink db from SQL to reduce the log file size?
For your information, the database and AOS are installed on separate servers.

Alternatively, is it possible to move the AX_log file to another drive?

Also, should the “Enable Autogrowth” option be enabled for the AX_log in the database properties?

Thank you.

Categories:
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    299,373 Super User 2025 Season 2 on at
    AX Log DB Size Issue
    Hi Jefri,
     
    The shrink job will not directly srhink the log file. To make that happen, you need to create a backup of the database. In case this is a production or sandbox environment, a daily backup should be scheduled to have this database log file cleaned up. If this is scheduled, then check if there is sufficient disk space to create the backup file. If the backup fails, the database log will not be cleaned and will continue to grow,
     
    If this is a development environment, you can change the database recovery settings to simple. It will then not use the database log files, but will directly write all changes in the database itself.  

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,047

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 885 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 592 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans