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, ...
Suggested Answer

Financial reporting : the tempdb full

(0) ShareShare
ReportReport
Posted on by 25

The below query execute from Financial reporting database and tempdb is full because of it.

select t.name, c.name      from sys.columns c          join sys.tables t on t.object_id  = c.object_id          join sys.schemas s on s.schema_id = t.schema_id and s.name = 'Datamart'      where          t.name = 'DimensionValueAttributeValue' and c.name like 'AttributeValue%' or         t.name = 'FactAttributeValue' and c.name like 'AttributeValue%' or         t.name = 'DimensionCombination' and c.name like 'Dimension%Id' or         t.name = 'DimensionCombinationUnreferenced' and c.name like 'Dimension%Id' or         t.name = 'DimensionCombinationResolving' and c.name like 'Dimension%Id' or         t.name = 'DimensionCombinationStaging' and c.name like 'Dimension%Key'

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Rami,

    What is you current tempDB set up in SQL? Do you have any limitations for tempDB autogrow?

  • Rabdalhalim Profile Picture
    25 on at

    Hi Sergei,

    No limitation for tempdb.

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

    Hi Rami,

    If there are no limitations, then check the available disk space.

  • Rabdalhalim Profile Picture
    25 on at

    HI Andre,

    disk space is full now , What are the steps for this problem not to be repeated from the financial reports?

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Rami,

    Do you know which operation you have performed before the issue occurred? You can increase disk size where tempDB files are located or try to restart SQL server to drop current tempDB and operation could be completed successfully after it.

  • Rabdalhalim Profile Picture
    25 on at

    thanks,

    I have increased drive yesterday and restart the database but my problem because of repeated this issue.

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Rami,

    How much space have you added yesterday? I saw cases when tempDB can eat quite a lot. And it's quite strange that the query above causes some issues. What kind of databases you have on the same server? Is it only MR, AxDB? Do you have any backup databases online?

  • Rabdalhalim Profile Picture
    25 on at

    150 GB, Just Financialreporting and AXDB

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Rami,

    Try to run the last script from the article www.sqlshack.com/.../ and check what kind of temp tables you have there, also I would recommend to monitor SQL after the restart and check long queries. I have a case (not related to MR) when 4 years slice of data was tried to aggregate in one very complex query and it brought the same kind of issues with tempDB.

    Also last week MS activated global temp tables feature for cloud production instances. I'm not sure how it works for on-premise environments, but maybe there are some other processes utilize tempDB database and resource are not released correctly.

    Do you have anything else except tempDB files on the same disk? Did it work before?

  • Rabdalhalim Profile Picture
    25 on at

    TempDb and log for axdb and financial reporting .

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
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans