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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

SysDatabaseLog TABLE Cleanup

(0) ShareShare
ReportReport
Posted on by 50

Objective: How to run the batch job to delete records from SysdatabaseLog table.

I am unable to run "Clean up log" batch job because when I open System Administrator \ Inquiries \ Database \ Database Log form/screen, system just keep processing and never return because of high volume of records in SysdatabaseLog table. (refer to the screenshot below which I took from DEVBOX).

Is there any other way to run "Clean up log" batch job? or delete data from SysdatabaseLog table?

pastedimage1585782397708v1.png

I have the same question (0)
  • Verified answer
    Blue Wang Profile Picture
    on at

    Hi Bilal,

    According to Microsoft Doc,  the official way would be to set up a batch job.As you do now. https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/configure-and-manage-database-logging

    Regarding whether it can be deleted directly from SQL,Please refer this thread:

    https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/155794/is-it-ok-to-delete-rows-from-sysdatabaselog-directly-in-sql-server

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Bilal,

    Do you have any issues if you mark checkbox "Batch processing" and set up "Recurrence"?

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 444 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 288 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans