seniorT-SQL

What is SQL Server indirect memory pressure and stolen memory behavior?

Updated May 17, 2026

Short answer

Indirect memory pressure occurs when SQL Server redistributes memory from caches to active workloads.

Deep explanation

SQL Server dynamically reallocates memory across subsystems. Stolen memory refers to buffer pool memory temporarily taken for query execution (hash joins, sorts). Under pressure, SQL Server reduces cache sizes and grants memory to active queries. This balancing act ensures fairness but can degrade performance if misestimated, especially under concurrent workloads with large memory grants.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More T-SQL interview questions

View all →