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

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Pedro Cadavez de Freitas Profile Picture
    Microsoft Employee on at

    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!

  • Armin Sefidkar Profile Picture
    25 on at

    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.

  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    Microsoft Employee on at

    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 :)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans