web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Unusual growth tempdb

(0) ShareShare
ReportReport
Posted on by 58

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

I have the same question (0)
  • TheGoodDBA Profile Picture
    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.

  • mopdsf@yopmail.com Profile Picture
    58 on at
    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
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 789 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 607 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 497 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans