December 7, 2022 at 11:41 pm
We were getting constant blocking on the db server. However, after stopping the process blocking went away. Just wanted to check automatic SQL table locking seems to be messed up. So the process is trying to access the locked table and would never finish and cause the use the CPU. Process hasn't been changed. What could be the issue?
December 8, 2022 at 1:24 am
Heh... you're the one touting the handle of "sqlguru". You should be teaching us how you fixed the issue. 😀
If you want help with a performance issue, we need more information. Please Read'n'Heed the article at the second link in my signature line below.
To SWAG a several of the more common answers for the "What could be the issue?" question...
Without the things listed in the article I talked about, though, any recommendations or suggestions are basically a crap shoot.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2022 at 1:14 pm
Make sure you turn on blocked process report in Extended Events. It'll be a lot easier to KNOW what's going on rather than relying on some random people on the internet guessing based on thoroughly incomplete information.
"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
December 10, 2022 at 1:34 pm
Yep. Get a Blocked Process report and feed your findings back to us. We're willing to help you out. It can be a lot of things.
December 10, 2022 at 9:11 pm
As a bit of a sidebar, check out Adam Machanic's sp_WhoIsActive at the following link. Click on the "Documenation" tab and look for "blocking" on the next list of links. Add that kind of check to a blocking alert and have it write the output to a table and you'll have an awesome tool to figure out what's going on with blocking.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 20, 2022 at 4:08 am
SQLGuru any update on your findings?.
Regards
Durai Nagarajan
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply