Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM huge attachments size

Posted on by 65

Dear All,

We are migrating crm 2013 to crm 2016 onpremise.We have huge attachments .Annotation table  size is 245 GB.

Org DB size us 350 GB.

we want to keep the attachments as is.

What will be best approaches while migrating using Organization import approach?

*This post is locked for comments

  • Suggested answer
    prt33k Profile Picture
    prt33k 6,907 on at
    RE: CRM huge attachments size

    The approach will work but it is unsupported.

    If it is onprem then simply import the org - 300 GB isn't that big that import wont handle. You can always involve support team in case you get error. But with direct CRM table manipulation even the support team wont be able to help since you went the unsupported way.

  • Mohammad Yusuf Profile Picture
    Mohammad Yusuf 65 on at
    RE: CRM huge attachments size

    Thanks David

    To make the import fast we are thinking of below approach please guide us.

    1. Restore the Org DB on sql server 2014.

    2. Take a backup of Annotation table in a new custom DB.

    3.Set the documentbody column of Annotation table to Null.

    4.Shrink the Org DB to reclaim the attached files space.

    5.Import the Org

    6. Update the documentbody from Backup table

    Is this approach right?

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: CRM huge attachments size

    If you're doing an organisation import, then I don't think the size of the attachment table will have much impact on the time it takes, as it won't need to process the data in any way. It would affect the time to copy or backup/restore the database, but that's not normally a large part of the overall upgrade time

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: CRM huge attachments size

    Hi

    You are right, you will save a lot of time, if you do the Organization Import as your attachment data does not have to be migrated.

    Any other approach will be a lot of time consuming, considering the size your DB file

  • Suggested answer
    RE: CRM huge attachments size

    According to me, best approach to save the Storage would be to move the Attachments to Azure Blob or Sharepoint.

    Add a link to that file on storage location to the actual CRM record.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans