Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to Optimize Microsoft Dynamics CRM (On-Premise) Database Size

(0) ShareShare
ReportReport
Posted on by 25

Hi

I have a problem with big size of Microsoft Dynamics CRM Database Size and need a right way for resize it to minimum size.

I test standard ways like shrink file or shrink database but nothing changed.

Is there a way (like get rid of unneeded tables or etc..) to resize database?

thanks

  • Suggested answer
    RE: How to Optimize Microsoft Dynamics CRM (On-Premise) Database Size

    Hello Armin,

    Hope you are well.

    Moving the annotations to Sharepoint is the most common accepted scenario.

    If you have a limitation there, I don't have anything else to suggest as it could fall into unsupported customizations or having to refer 3rd party tools.

    Other than moving the files out of the CRM DB, a deep investigation on what data can be deleted, such as old activities or attachments that are not needed, could play a big role there.

    Let me know if you were expecting a different answer on my side :)

  • Armin Sefidkar Profile Picture
    Armin Sefidkar 25 on at
    RE: How to Optimize Microsoft Dynamics CRM (On-Premise) Database Size

    Hi Pedro

    Thanks for your response.

    Approximately up to 90% of database reserved by files (attachments & Annotation = 500 GB)

    I think for a way for compress files (if it is possible) but i don't know how.

    We can't use sharepoint or other system like this for use crm files storage

    I am glad to listen to your answer.

    thanks a lot.

  • RE: How to Optimize Microsoft Dynamics CRM (On-Premise) Database Size

    Hello Armin,

    Hope you are well.

    This can tend to be a very wide topic.

    Normally huge databases are attached to an increased size on Audit, Attachments and Annotation tables.

    Each table has a different path to understand how to reduce it.

    Would you mind sharing your top 10 tables showing row counts, reserved size, data size and index size?

    Using SSMS you can generate a report and then share only the top 10 tables by size.

    Looking forward to your reply.

    Thank you!

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans