Repository navigation
Say that a parallel request can add more than one tempdb limit violation - #10466
Open
Rudi Bruchez (rudi-bruchez) wants to merge 1 commit into
Open
Rudi Bruchez (rudi-bruchez) wants to merge 1 commit into
Rudi Bruchez (rudi-bruchez) wants to merge 1 commit into
Conversation
prmerger-automator
Bot
requested a review
from Dimitri Furman (dimitri-furman)
October 26, 2026 18:28
Contributor
|
Rudi Bruchez (@rudi-bruchez) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Contributor
|
Rudi Bruchez (@rudi-bruchez) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Contributor
|
Learn Build status updates of commit e26503b: ✅ Validation status: passed
For more details, please refer to the build report. |
| ``` | ||
|
|
||
| When a request is aborted with error 1138, the value in the `total_tempdb_data_limit_violation_count` column of the [sys.dm_resource_governor_workload_groups](../system-dynamic-management-objects/sys-dm-resource-governor-workload-groups-transact-sql.md) dynamic management view (DMV) is incremented by one, and the `tempdb_data_workload_group_limit_reached` extended event fires. | ||
| When a request is aborted with error 1138, the value in the `total_tempdb_data_limit_violation_count` column of the [sys.dm_resource_governor_workload_groups](../system-dynamic-management-objects/sys-dm-resource-governor-workload-groups-transact-sql.md) dynamic management view (DMV) can increase by more than one for a parallel request, and the `tempdb_data_workload_group_limit_reached` extended event fires. |
Contributor
There was a problem hiding this comment.
Rudi Bruchez (@rudi-bruchez) we are holding on this change while we investigate the actual and intended product behavior.
Contributor
|
#label:"aq-pr-triaged" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's wrong
tempdb-space-resource-governance.mdsays that when a request is aborted with error 1138,total_tempdb_data_limit_violation_count"is incremented by one", andsys-dm-resource-governor-workload-groups-transact-sql.mddescribes the column as "The number of times a request was aborted with error 1138". For a parallel request, one error 1138 can add more than one to the column: it grew by 2 atMAXDOP 2, by 3 or 4 atMAXDOP 4, and by 1 atMAXDOP 1. Someone who reads the column as a number of aborted requests overcounts them.Evidence
SQL Server 2025 CU7 (17.0.4065.4) and CU10 (17.0.5035.5), Enterprise Developer, Linux containers, 4 processors. Resource governor with no classifier, connected as
sa(workload groupdefault).Each
SELECT ... INTOfails once with error 1138. Observed, the same on both builds:Expected per the current text: 0, 1, 2, 3. Seven more runs on CU7, one error each:
MAXDOP 4added 4, 4, 3 and 4,MAXDOP 1added 1 each time. In oneMAXDOP 4run that added 3, a session ontempdb_data_workload_group_limit_reachedrecorded 3 events.Change
In the governance page, says that the column can increase by more than one for a parallel request. In the DMV page, describes the column as the number of recorded
tempdbdata limit violations for the workload group. The sentence about the extended event is unchanged.