Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Performance of 'Remove History' and SQL Server indexes

Posted on by 620

Background:  We are creating a "history" company.  To create the company we have taken a copy of the active company and restored it over the newly created company.  The next step has been to remove all history that we do not want to keep in this new company.  The process has been extremely, painfully SLOW.  I started looking at some of the stored procedures used to do the history removal, which led to looking more closely at the underlying database tables and the respective indexes.

 What I noticed is that along with some "missing" indexes, indexes that based on the where clauses should be added to expediate the removal, many of the tables do not have a clustered index.  SQL Server in general has always indicated that performance will be better if a table has a clustered index.

Does anyone have experience in analyzing and adding clustered indexes to MS Dynamics GP tables?  Is there a white paper addressing this issue?  Normally I do not like to add custom indexes to an ERP but it seems that performance in Great Plains would benefit from the addition of clustered indexes.

Any thoughts or experience that can be shared?

Thank you in advance for your comments & ideas.

 

*This post is locked for comments

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Performance of 'Remove History' and SQL Server indexes

    Emily,

    I do not know of a 'white paper' that exists. I suspect there is no such thing. There have been many instances where adding additional indexes improve performance significantly. Whatever indexes you add, be sure to script them because you will most likely lose them during an upgrade. There is a 3rd party product that performs the very function you are attempting. It's called 'Company Data Archive' by Professional Advantage http://www.profad.com/products/cda.htm  I have one client actively using it and they love it.

    Kind regards,

    Leslie

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans