TEMPDB not used

Peter Babic 21 Reputation points
2023-06-14T09:31:31.4566667+00:00

Hello all,

we are having performance issues on clusterd instance. For example DB restore time increase from 50minutes to like 2h with the same DB size (1,3TB). SQL server version is Microsoft SQL Server 2012 - 11.0.5532.0 (X64) Enterprise Edition

On this cluster is running 13 SQL server instances.

But the main one lets call it DB01 has these issues.

For this instance there is set max memory limit of 96GB which all is used.

User's image

There is like 9 UserDBs in total 1,4TB.

What is strange to me is that even there is running lot of transactions currently 340 processes when checking sp_who2. TEMPDB is almost not used, it has unlimited growth on dedicated disc with more then 200GB space but TEMPDB usage looks like this>

User's image

How it is possible it is not using TEMPDB at all, like I know it should be good sign that things can be sorted in memory probably, but it is on max limit and perfromace dropped and it is strange TEMP is not used at all.

Is there any parameter to check specifically?

SQL Server | Other
{count} votes

Answer accepted by question author
  1. Erland Sommarskog 129.1K Reputation points MVP Volunteer Moderator
    2023-06-14T21:50:40.5466667+00:00

    It is very difficult to answer questions like this with only a scant amount of information.

    But if the restore time has increased, this sounds more like an issue with the I/O subsystem. And RESTORE does not use tempdb a whole lot, if at all.

    I guess the reason that your tempdb is not very heavily used is because your workload does not use that much temp tables and that.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.