Skip to main content

Notifications

Announcements

No record found.

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 54

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
    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
    54 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans