Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

GP2013 - SQL DB Maintenance

Posted on by Microsoft Employee

Looking for information regarding SQL maintenance jobs for servers running GP. I backup the entire virtual machine with Veeam, but I also run SQL backup jobs and backup log jobs. While setting that up I saw other maintenance tasks such as reorganize index, rebuild index, and update statistics. Do any of you run any of those jobs?

Only found one post in these forums related to the issue, sorry if I'm not searching with the right terms.

*This post is locked for comments

  • Suggested answer
    Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    RE: GP2013 - SQL DB Maintenance

    For what it's worth, we typically set up general maintenance (like check DB integrity and  reorganize index, update statistics) to be a weekly job. Obviously different environments might require different settings, but for many installations I think that is a good guideline.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP2013 - SQL DB Maintenance

    Thanks

  • Verified answer
    RE: GP2013 - SQL DB Maintenance

    Again that is because there isn't a hard number. Some people do it one a month others every few months. There is no reason to do this unless you are experiencing performance issues. If we recommended it once a month maybe that works for you but not every else. It is impossible to have recommendations like this when each company would be different.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP2013 - SQL DB Maintenance

    Thanks for your help. Both mention the maintenance commands I've talked about above, but stay away from specific guidelines on how often, given general database sizes. I understand why they may do this, but I'm just frustrated because I'd I don't have much precedence to follow.

  • RE: GP2013 - SQL DB Maintenance

    There isn't a hard number on when these should be ran. I would refer you to the following KB:

    875193 Information about database maintenance plans for Microsoft Dynamics GP or for Microsoft Dynamics SL on SQL Server 2008, on SQL Server 2005, or on SQL Server 2000

    mbs.microsoft.com/.../KBDisplay.aspx;EN-US;875193

    Otherwise you could check out the Performance White Paper which discusses this as well.

    mbs.microsoft.com/.../MDGP2010_WhitePaper_Performance

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP2013 - SQL DB Maintenance

    Asking if those three jobs should be run? Sometimes maintenance like rebuilding or reorganizing an indexes should only be done if a db is below a certain threshold (20% fragmented for example).

  • RE: GP2013 - SQL DB Maintenance

    Are you asking if you should run these or what these jobs do?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans