web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Pedro Cadavez de Freitas Profile Picture
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 72 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 29 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans