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 :
Microsoft Dynamics CRM (Archived)

dynamics 365 on premises slow - how to rebuild indexes

(0) ShareShare
ReportReport
Posted on by

Hi , need ideas how to improve performances of dynamics 365 on premises.  we have crm database is about 82 GB in size and performing very slow.  I have cleared most of cancelled / succeeded  system jobs .    Can  we rebuild indexes to improve performances  ? any advice would be great ...

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi,

     if you just wanted to rebuild the indexes (and it might or might not help with the performance), you wouldn't be able to do it from CRM, but, I guess, you might go to the SQL server and run the kind of script provided here:

    basitaalishan.com/.../rebuild-all-indexes-on-all-tables-in-the-sql-server-database

  • Suggested answer
    Vivian Voss Profile Picture
    2 User Group Leader on at

    Hi Madu,

    as Alex said rebuilding indexes might not solve your problem, but they  definitely will help with performance and those you need to do in the SQL database.

    Here are some links that might be useful for you:

    technet.microsoft.com/.../hh699783.aspx

    msdn.microsoft.com/.../gg509027.aspx

    technet.microsoft.com/.../hh699840.aspx

    Please remember to mark this answer as verified, if you find it useful :-)

  • Community Member Profile Picture
    on at

    all these specs fine , we have two servers one for application one for sql  database server  (sql 2014) on windows 2012R2

    that's why we thought of running a task to  rebuild indexes,  we started from CRM 4 and upgraded version by version now in dynamics 365

    I have seen one article mentioned about truncating PrincipalObjectAccess table  https://blog.westmonroepartners.com/5-ways-to-improve-microsoft-dynamics-crm-performance/  

    I am not sure this will do the trick or not so i didn't truncate it.

  • Suggested answer
    Vivian Voss Profile Picture
    2 User Group Leader on at

    Hi!

    The PrincipalObjectsAccess table was also the one we looked into when we were still on the 2011 version. Here are some more info about that:  support.microsoft.com/.../performance-is-slow-if-the-asyncoperationbase-table-becomes-too-large

    xrmblog.orbis.de/migration-issue-cleaning-asyncoperationbase-truncate-dublicaterecordbase

    Although it shouldn't be a problem in the CRM versions after 2015.

    Here is more info about fragmented indexes and rebuilding them: docs.microsoft.com/.../reorganize-and-rebuild-indexes

    Do you use ClickDimensions?

    We found that the tables for ClickDimensions were also affecting greatly our performance.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans