web
You’re offline. This is a read only version of the page.
close
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

Temp DB Size increased rapidly

(0) ShareShare
ReportReport
Posted on by 10

We observed that TempDB increased rapidly and continuously for about 1 hr. We got to know that there was some transaction that was coming from Dynamics AX application (from USER AOS Servers) which need space in TempDB. Is there any way we could check which process resulted in Temp DB increase and the user who was running the process.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    Which environment in which version of AX are you talking about?

    If you have access to the database, you should be able to find out which tables are consuming most space. It should give you some idea about which process it's related to.

  • Community Member Profile Picture
    on at

    Thanks for the quick reply  Martin

    Version: AX 2012 R3 CU13

    Environment: Production

    Found that DOCUREF table is taking most space and causing this issue but unable to find the user and process for which it caused

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    Maybe you should look at the actual data in the table.

    You could also use tracing, although it's a bit difficult to work with if you have multiple AOS servers and many users sessions.

  • Community Member Profile Picture
    on at

    Thanks for the suggestion, But do you suggest any alternate method as we use multiple AOS servers and user sessions

  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at

    Hi Teja,

    Can you tell a bit more on the initial and the current size of the Temp DB? Some processes could indeed consume quite some Temp DB size. Usually at customers we tried to set a large fixed (initial) size to get the best performance out of the Temp DB.

  • Community Member Profile Picture
    on at

    Thanks Andre for the reply,

    During the issue , it was observed that around 443 GB was increased for one hour only ...Post that it stopped automatically .

    Could you share some insights that how to find which transaction caused/user caused this issue ?

    What might be the possible reasons of this abnormal Temp DB growth ?

    And could you also suggest on how to maintain the max free space to avoid any performance issues ?

    Thanks in advance!

  • Teja Sree Profile Picture
    10 on at

    Current size: 832 GB
    Amount of available space in database : 815 GB

    TempDB was set to autogrowth by every 1000 MB
    We observed growth of 444 GB in Temp DB, during the 1 hr of time where tempdb was increased rapdily and increased the drive size for temp db drives.

  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at

    When it stopped growing, it would be hard to find out what happened. Are you aware if someone tried to start a huge process or report?

  • Community Member Profile Picture
    on at

    Hi Andre,

    Thanks for your time to reply on this!

    Our challenge is also the same , we are unable to find the user or process which caused the temp DB  grown in the production environment as we have multiple users and AOS .

    Is there any alternative method to find out the root cause, which helps to avoid this issue in near future.

    Thanks in advance!

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    It seems to me that you still didn't look at the data in TempDB.

    You said that most of the space is taken by DocuRef, but that's about the AX database, right? You have a problem in a different database, TempDB, and that's what you should explore.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans