Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

What is the msdyncrm_mktactivity table? Why is there so many records being created?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I was just poking about in Power Platform Admin Center and was looking at my D365 environment with Marketing in. This doesn't get used often as it's just a demo system. 
I noticed that Marketing was producing a lot of API calls and writing a lot of data to the database. The most written table was msdyncrm_mktactivity with ~1500 creates in a single day.

pastedimage1615893625409v1.png

Another interesting chart was Top Plugins by Failures. Most if not all of them are for Marketing
pastedimage1615893716288v2.png

When I do an advanced find on the table type I see 5000+ and they look like just JSON packets of info. What are they? Can we delete them? Why so many every day on a system that's hardly used?
pastedimage1615893826232v3.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: What is the msdyncrm_mktactivity table? Why is there so many records being created?

    Thanks for pointing that out. I did try searching but nothing came up.

    Interestingly, it looks like mine is not growing, but they are still being created every day so I can only assume they are being deleted automatically already. In that post you refer to, people talk about a July release so I assume that was last year. This system was only set up a couple of months ago so must be on the latest release where it has been addressed by Microsoft. 

    Looking at the storage in my Database tables, you can see the msdyncrm_mktactivities is pretty level.
    pastedimage1615972480112v1.png

    There is another table I'm not too happy about and that's msdyncrm_marketingemailtemplateBase. I hope they're not storing all the images for marketing email templates in the (expensive) database table because this could quickly grow out of hand. They should be stored in the File storage surely?!

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: What is the msdyncrm_mktactivity table? Why is there so many records being created?

    Hi,

    Here's a similar issue, please check it to make sure if it can answer your question.

    (+) System Entity Marketing activities (msdyncrm_mktactivity) blowing up storage - Dynamics 365 Marketing Forum Community Forum

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans