Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Dynamics GP Sales Apply performance issues

Posted on by 105
I have a customer who has a LOT of open unapplied documents at any given time (300,000 plus records). Their apply history table contains well over 1 million records. When they open the Apply Sales Documents window and select a customer, the wait time is AT LEAST 30 seconds. When they click the lookup button to select a payment record, the wait time is often over 60 seconds before anything is displayed. When closing the apply window, the wait time is again at least 60 seconds before the window will close. Their server appears to be working at a very high performance level. They have sufficient RAM, their databases are configured according to the recommendations from Microsoft, we are running nightly check dbs, recompile, update statistics, etc. The databases themselves are set to auto-update statistics as well. Tempdb is sufficiently large and is set to auto-grow properly. I have turned off the full-text indexing option on their databases, but this has had no effect on performance. At this point I am looking for suggestions on how to make the apply process work faster for them. Is there a way to add indexes to the RM tables or some hotfix or service pack that has corrected this issue? They are not on the latest service pack, but I was unable to find any reference to this issue in the fix list on any service pack, so I am now wondering if there is something I can do at the database level to improve the record access time.

*This post is locked for comments

  • Q Factor Profile Picture
    Q Factor 105 on at
    Re: Re: Dynamics GP Sales Apply performance issues
    It is around 35GB in size.
  • Sunbeam De Jesus Profile Picture
    Sunbeam De Jesus 3,930 on at
    Re: Dynamics GP Sales Apply performance issues

    Hi,

    May I know how many GB is your company db? I have similar client, we have 40 GB mostly RM tables being populated, only a few from other modules.

     

  • Q Factor Profile Picture
    Q Factor 105 on at
    Re: Re: Dynamics GP Sales Apply performance issues
    Hi, Richard: I have a DEXSQL log and it is huge, but there are references to tables that don't exist, missing stored procedures, etc. I don't see anything particularly odd about the actual calls to receivables transactions during the lookup process. Can I send this to you for a second pair of eyes?
  • Q Factor Profile Picture
    Q Factor 105 on at
    Re: Re: Dynamics GP Sales Apply performance issues
    Excellent! Thanks, Richard! I'll see if I can get a SQL log to identify how the data is being pulled and follow up with you. Constance
  • Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Dynamics GP Sales Apply performance issues

    Sounds like you need SUPLIMENTAL INDEXES.  These are tables indexes that you add to the database.  The only problem with suplimental indexes is that any time someone rebuilds tables (updates, upgrades, et cetera) you potentially need to re-add the indexes.  So keep the code that you use to create the index.

    First, run a SQL log to identify how the data is being pulled.  Is the record being pulled by (using some wild examples) zip_code, phone_number, Dex_Row_ID, et cetera.

    Second, check the table structure in SQL to see if there is an alternate index with these fields already.  Keep in mind that if a suplimental index is by Field A, Field B, and Field C and you are pulling records by Field C, this is not sufficient.  You need an index by Field C

    Make sure you do not add too many suplimental indexes.  Limit yourself to 3-5 per table, if even that many.

    I had a client with simular response times in SmartLists and by adding 3 indexes to 2 tables, the response time went from 90-120 seconds to 2-3.

    As a consultant, I am assuming you have someone with SQL skills (perhaps yourself) available so I have not written the code for you.  If not, find out which fields are being used for searches and post back.  One of us will craft the code for you.

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