Viewing 6 posts - 1 through 6 (of 6 total)
If you look at the message on the INSERT it says:
"The query had to wait 1164 seconds for MemoryGrant during execution"
That's nearly 20 minutes.
https://techcommunity.microsoft.com/t5/sql-server/understanding-sql-server-memory-grant/ba-p/383595
Try adding this to the...
May 20, 2021 at 4:40 am
Further update: I took a backup of the database to a different server (2019 Dev edition), restored there and ran the entire process in 56 seconds. On the client's server...
May 19, 2021 at 11:37 pm
Attachments seem to have not worked... Trying again with both in a zip file.
May 19, 2021 at 10:33 pm
Hi Andrew - Thanks for your comment, this helped a lot (I was too tired last night to come back and comments, but just wanted to say thanks!)
January 12, 2020 at 2:16 pm
Thanks for all the input everyone. What I've realized reading all this is that the bigger problem is really that our DBA isn't proactive. There probably is more than enough...
March 8, 2018 at 12:19 am
Thanks for the input so far.
Maybe just a bit of clarification: I have already spoken to him about this around expectations, being more proactive (esp. identifying additional true...
March 7, 2018 at 9:02 am
Viewing 6 posts - 1 through 6 (of 6 total)