Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Unusual growth tempdb

Posted on by 50

My question is the following:

Scope: I am currently using Microsoft Dynamics Ax 2012 R3 and my database has the following settings in the properties of the tempdb in Microsoft Sql Server 2012.

pastedimage1611671159258v1.jpeg

Actualmente tengo un disco de 29 GB para almacenar la base de dato tempdb.

pastedimage1611671159259v2.jpeg

But the last few days I have seen that my tempdb database has a runaway growth and it takes 2 days to fill the 29 GB disk.

Questions:

  1. Are there any settings in Microsoft Dynamics Ax 2012 R3 that allow this behavior?
  2. If there is a behavior that impacts me in the tempdb, how could I solve it?
  3. Is there a problem in my tempdb configuration?
  4. What configuration do you recommend for the tempdb?

stackoverflow.com/.../unusual-growth-tempdb

  • TheGoodDBA Profile Picture
    TheGoodDBA 235 on at
    RE: Unusual growth tempdb

    The new information is not giving me any new clues.  I would proceed with tracing SQL to help shed some light on what might be using temporary storage.  Even a look at active processes in SQL activity monitor may help.

  • RE: Unusual growth tempdb

    There's no a new code. This started when the localization server was migrated.I don't know if it can help to detect the problem but this is the list of the temporary tables.

    gist.github.com/.../733b2e870b3d3130a16a8ab5b9291e70

  • TheGoodDBA Profile Picture
    TheGoodDBA 235 on at
    RE: Unusual growth tempdb

    Note that if your tempdb is filling the disk consistently and this is a new problem, I would do a SQL trace to determine what process is causing the issue.  Most working storage that is used should be released after use, so you may be experiencing a problem with some new code or process holding working storage open or looping.

  • TheGoodDBA Profile Picture
    TheGoodDBA 235 on at
    RE: Unusual growth tempdb

    Hello,

    TEMPDB is used heavily in AX2012 for various things working storage, temporary tables, so it will be volatile by nature.  If you are experiencing exceptional growth periods, have you added any new code that may use working storage or temp tables extensively which may be causing this heavier use of TEMPDB?

    You can use this thread for allocating tempdb storage: docs.microsoft.com/.../configure-sql-server-and-storage-settings

    Thanks,

    Steve

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

Product updates

Dynamics 365 release plans