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 : eFUTJtVqDyPiYIj/I40bbp
Power Apps - Microsoft Dataverse
Unanswered

CRM TraceLogBase not freeing space after deleting plug-in trace logs

Like (0) ShareShare
ReportReport
Posted on 14 Mar 2024 18:29:41 by 8

Hello,

I'm new to CRM and the dataverse. We are getting notifications that we're out of database space. It appears that the largest table by far is TraceLog Base. In researching the issue I found multiple threads about disabling the plug-in trace logs then using a bulk delete to clean them out. I followed the steps and confirmed the plug-in trace logs had been removed. It's been over 20hrs since making the change but no space has been recovered and the table still shows it's the same size it was before I removed the logs. Is there another step I need to do to reclaim that space? 

 

Thanks - Bill

 

I have the same question (0)
  • Seema Gargi Profile Picture
    2 on 04 Jul 2024 at 06:15:07
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    Hello,

     

    I too need to delete the trace logs but the only table showing is 'Traces' and i dnt find 'Tracelogbase'. 

     

    Regards,

    Seema 

  • BH-17092044-0 Profile Picture
    8 on 19 Mar 2024 at 21:52:10
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    I believe I found the issue. The table is the TraceLogBase table, not the PlugInTraceLogBase. I didn't realize they were two different things. When you google " CRM TraceLogBase growing large" the first hit walks you through the steps to clear out your plug-in trace logs, but that is not my issue. Once I figured that out, I setup a job to delete trace logs older than 3 months. The job has been running for a few hours and is at 1,231,750 items deleted and counting. I will let it do its thing and check in a day or two.

    Thanks again for the help.

  • BH-17092044-0 Profile Picture
    8 on 19 Mar 2024 at 15:28:08
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    I did use a bulk delete. If I setup a bulk delete now using the following criteria and click on preview records, it returns 0 rows. 

    wrh378_0-1710861706923.png

    Is the same method you would use?

     

    Thanks for your help

     

  • Fubar Profile Picture
    8,058 Super User 2025 Season 2 on 18 Mar 2024 at 22:04:54
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    Not sure how you deleted them - If not already done, run a Bulk Delete job to remove all entries from the Trace Log table.  

    If that's done, then Log a support ticket with Microsoft.

  • BH-17092044-0 Profile Picture
    8 on 18 Mar 2024 at 14:27:44
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    Well, it's been more than 4 days since I turned off and cleared the trace logs but it's still reporting that the TraceLogBase table is over 4GB. I've confirmed that "Enable logging to plug-in trace log " is set to off and there are no records listed when I click on "Plug-in trace logs" under the settings menu. I must be missing something. 

  • Fubar Profile Picture
    8,058 Super User 2025 Season 2 on 14 Mar 2024 at 22:55:04
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    As per Ivan, may need to wait at least 24 hrs - see the note https://learn.microsoft.com/en-us/power-platform/admin/free-storage-space#freeing-storage-for-dataverse

    Above that note, you will also see that for some operations could also take up to 36 hrs 

  • BH-17092044-0 Profile Picture
    8 on 14 Mar 2024 at 19:25:11
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    Okay, I'll give it another day and will post the result.

     

    Thanks - Bill 

  • ivan_apps Profile Picture
    2,187 Moderator on 14 Mar 2024 at 19:04:25
    Re: CRM TraceLogBase not freeing space after deleting plug-in trace logs

    That should be enough to clear out the logs. Note the reports dont refresh frequently so you may have to check after 24 hours

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…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics

Loading complete