You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Query ending with spilling huge temp space

Hi Team,

We have a procedure running in DEV instance that is failing within 5 minutes with the error:

"Unable to extend temp space", despite having 20 GB of TEMP space allocated.

It was executing insert statement, The execution plan indicates that a significant amount of work is being performed in a few operations, which is likely causing excessive TEMP usage.

At this point, we are unsure how to proceed with troubleshooting. Since the query is long, We have attached:

The SQL query
The execution plan

We would appreciate guidance on:

Identifying the operations responsible for high TEMP consumption
Understanding the root cause of the excessive resource usage

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!