Too much knowledge to gain in 25 minutes. Great video 😊
@TheEyepox6 жыл бұрын
at 10min when you were talking about the Update LCK type, it is not a deadlock, you are confusing it with a regular lock, a deadlock is when you have Two Transactions as in your case but let's assume that Tran01 wants to Update Tab1 and then Update Tab2 and Tran02 wants to Update Tab2 and then Update Tab1, you run both procedures or queries alongside and that is when you get a deadlock, at which point SQL Server kills one of those depending on a few criteria, your example when both Transactions are fighting solely on one resource (table in this example) is a regular lock which will just make the last transaction to ask for Update Lock to wait until the first finishes.
@marvinalone3 жыл бұрын
yes, you are right coz sql server introduced U lock, but the authoer was also right as he was explaining the scenario and assumed if there were no U lock in sql server, or why sql server introduced U lock
@krismaly63009 жыл бұрын
Awesome video with good explanation on SQL Server Locks All Developers should know this much information and good refresh for DBAs. Narrator see to be very good at topic. I enjoyed watching this video and recommend others to watch. Thanks for educating the community and appreciate your efforts in publishing this video. Please keep publishing some more videos. Thanks a bunch
@TechandArt4 жыл бұрын
Hey u can join this one alao
@eespiedrop25 жыл бұрын
That's a really useful explanation. Thanks for taking the time to put it together.
@rajdeeprana07206 жыл бұрын
Very useful to understand locking in SQL Server.. Thanks Tech Brothers..
@reachmaximum9 жыл бұрын
Simply Awesome,Words are not enough to congratulate you.Thanks a lot.Gaining More and more knowledge from your videos.Look forward for more which can be useful to DBA's.
@TechBrothersIT9 жыл бұрын
+Avinash Alladi Thanks very much for kind words dear!
@ramakrk20099 жыл бұрын
amazing. No one can beat you sir
@TechBrothersIT9 жыл бұрын
+Rama Kambhampati :) Thank you so very much for kind words! I am very happy to know that you liked the tutorial.
@vjeparis7 жыл бұрын
your all videos are osm and really helping me in my training period!!
@TechBrothersIT7 жыл бұрын
Glad to hear that our effort is helpful. Good luck!
@MegaRsha6 жыл бұрын
Amazing video. That was really helpful
@ottmiller40287 жыл бұрын
You explained very well and simply. Thank you.
@TechBrothersIT6 жыл бұрын
Hi, thanks for watching the video, please join www.techbrothersforum.com to ask any question that you may have. Tech Brothers and other professionals are online at the forum to help you out quickly. Thanks
@Sql_100 Жыл бұрын
You did great thank you for sharing
@technovice20246 жыл бұрын
Another very informative video. Thank you so much.
@ymadhurireddy9 жыл бұрын
THis made me clear. THank you very much
@anandbalu1008 жыл бұрын
That was really helpful. Thank you for sharing
@TechBrothersIT8 жыл бұрын
You are most welcome. Thanks you watching.
@VijayPatel-rt2yt9 жыл бұрын
Thank you for sharing your knowledge!
@TechBrothersIT9 жыл бұрын
Ram Patel You are welcome Ram.
@JamesR21879 жыл бұрын
Excellent!! very helpful.
@TechBrothersIT9 жыл бұрын
+James joy Thanks for watching!
@karnikjoshi23256 жыл бұрын
Can you please explain basic difference between tablock and bulklock practically? I am bit confused in this so..
@yaddu86 жыл бұрын
good explanation...Thank you
@DobbyGloving8 жыл бұрын
So is it safe to say that shared locks don't actually lock anything? They just let the DB that we are retrieving data from that resource?
@aflibnush6 жыл бұрын
James Dobson I guess
@naomimwakanyamale26953 жыл бұрын
you are the best
@MdAshiquzzaman2 жыл бұрын
It's a really useful .
@sqltechzpestechz7053 Жыл бұрын
U r awesome
@parixitsinhchauhan51718 жыл бұрын
nice video.. very informative
@SUDHAKARANDE7 жыл бұрын
nice video. thank you so much
@moncysamu3 жыл бұрын
Dead lock explanation is wrong
@salehheba8 жыл бұрын
very helpful ,thank you
@TechBrothersIT8 жыл бұрын
+H Saleh You are welcome and thanks for watching.
@samiliqali40252 жыл бұрын
thank you
@kbipan5 жыл бұрын
well explained :)
@catsarereallycool9 жыл бұрын
Excellent!
@theperfecttime55088 жыл бұрын
Thank you!
@robertwest45966 жыл бұрын
Yeah, your description at 10min is totally wrong. This is not a Deadlock....this is a Blocking situation where 1 transaction will get the X lock, transaction 2 will wait (Blocked) until Transaction 1 is finished. Deadlocking is where Trans1 has a lock on Resource A and wants a lock on Resource B, and at the same time Trans 2 has a lock on Resource B and wants a lock on Resource A. One Trans will be killed in that situation. The situation you have drawn will not cause this situation. You should fix this video as Deadlocking and Blocking are 2 entirely different things.
@naveedshah155 жыл бұрын
big thanks
@YouTickTech6 жыл бұрын
Good one
@ajiteshmalhotra3 жыл бұрын
Really you confused me now.
@danezubro3 жыл бұрын
It's not exactly the right model to explain a deadlock. :)
@gunjanyadav88482 жыл бұрын
Sir you are too fast. You should speak slowly while teaching a particular topic