Skip to content

Tier-2 batch-2a: tempdb-deep analysis arms (version-store size + PAGELATCH)#1519

Merged
erikdarlingdata merged 3 commits into
devfrom
feature/tier2-tempdb-arms
Jul 14, 2026
Merged

Tier-2 batch-2a: tempdb-deep analysis arms (version-store size + PAGELATCH)#1519
erikdarlingdata merged 3 commits into
devfrom
feature/tier2-tempdb-arms

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

Two sourced pure-scorer arms in the shared FactScorer (land in Darling + Lite), continuing #1517's pattern.

  • TempDB version-store by absolute size (max_version_store_mb): >5000 CRITICAL / >2000 HIGH / >1000 MEDIUM, Math.Max'd into TEMPDB_USAGE beside the existing space-fraction score. Source: report.tempdb_pressure (install/47:1431-1433).
  • TempDB PAGELATCH_UP allocation contention: absolute wait_time_ms > 10000 -> MEDIUM. Source: report.tempdb_contention_analysis (install/47:2515); the CRITICAL allocation_contention_warning is a tempdb-scoped flag not in the server-wide wait fact, so scoped to the PAGELATCH_UP MEDIUM tier.

Both read existing fact metadata (no collector change). Base caps at 1.0 (WARNING). 67 Lite FactScorer tests green.

🤖 Generated with Claude Code

erikdarlingdata and others added 3 commits July 13, 2026 22:59
Two sourced pure-scorer arms (land in Darling + Lite; no collector change --
both read data already in existing fact metadata):

- TempDB version-store pressure by ABSOLUTE size (max_version_store_mb):
  >5000 CRITICAL / >2000 HIGH / >1000 MEDIUM, Math.Max'd into TEMPDB_USAGE
  alongside the existing space-fraction score. Source: report.tempdb_pressure
  (install/47:1431-1433).
- TempDB PAGELATCH_UP allocation contention: absolute wait_time_ms > 10000 ->
  MEDIUM. Source: report.tempdb_contention_analysis (install/47:2515). The
  CRITICAL allocation_contention_warning is a tempdb-scoped flag not carried in
  the server-wide wait fact, so this is scoped to the PAGELATCH_UP MEDIUM tier.

Base caps at 1.0 (WARNING); CRITICAL earned via corroboration. Sourced advice
added; FactScorerTests in Lite + Dashboard (67 Lite FactScorer tests green).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit e659b77 into dev Jul 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant