October 22, 2023 at 3:53 pm
how to calculate the RAM used while running a query
October 23, 2023 at 2:18 pm
You can always see the estimated memory allocation in the execution plan. An actual memory allocation is possible if you capture runtime metrics with the execution plan, also called an "actual plan". The information is in the properties of the first operator on the left side of the plan.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
October 23, 2023 at 8:31 pm
If you know the SPID for the query, you could also query the following DMV. Look for the word "memory" in the documentation.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply