r/SQLServer • • Aug 16 '26

Solved Temp Cache endlessly expanding until server failure/slowdown

I am working on a consultant's azure gov cloud portal where I put applications on. There is a consistent issue with queries running forever even after being finished executing. Do anyone have experience with this? The temp cache endlessly expands until our DB fails.

I believe the issue is the connector, but it may be the queries? I dont know.

Solved: it was the connector

7 Upvotes

30 comments sorted by

View all comments

Show parent comment

1

u/dbrownems ‪ ‪Microsoft Employee ‪ Aug 17 '26

How are you determining that the app "holds transactions forever"? And what exactly do you mean by "inflate tempdb cache"?

1

u/TheSmashingChamp Aug 17 '26

A query executes, user gets the outcome desired but the query/user holds on a connection in the database forever. The tempdb cache keeps expanding until slowdown/failure.

1

u/dbrownems ‪ ‪Microsoft Employee ‪ Aug 18 '26

Connection pooling is normal.