locking internals by amit r s bansal director, principal consultant & trainer |
DESCRIPTION
Lock escalation Row/Page -> Table (default) or Row/Page -> Partition (if table is partitioned and partition-level locking is enabled) Never from Row -> Page & Never from Partition -> Table Update Locks TRAN A is locking rec1. TranB wants to update rec1, rec2 & rec3. TRANB will wait for an U lock on rec1, but will not lock rec2 & rec3 (thus increasing concurrency) PAGE locks Mysterious (watch the demo) Locking Myths debunkedTRANSCRIPT
Locking InternalsBy
Amit R S BansalDirector, Principal Consultant & Trainer
www.PeoplewareIndia.com | www.amitbansal.netMVP, MCT, MCTS, MCITP etc..
www.facebook.com/groups/theSQLGeeks
Follow me on twitter now @A_Bansalhttp://www.facebook.com/amit.r.bansal
Technical Director, eDominer Systems & Peopleware IndiaCorporate Trainer/Consultant & EvangelistConducted more than 450+ workshops on SQL Server & BI for top notch IT companies world wideMicrosoft MVP for SQL ServerSpeaker at TechED India, TechED US & TechED EuropeSpeaking at SQLBITs this March in LondonTechnical Reviewer/SME – MSL courses & certifications on SQL ServerFounder & President – SQLServerGeeks.com
Amit R S Bansal
Lock escalation Row/Page -> Table (default) or Row/Page -> Partition (if table is partitioned and partition-level locking
is enabled) Never from Row -> Page & Never from Partition -> Table
Update Locks TRAN A is locking rec1. TranB wants to update rec1, rec2 & rec3. TRANB will wait for an U lock on rec1, but will not lock rec2 & rec3
(thus increasing concurrency)PAGE locks
Mysterious (watch the demo)
Locking Myths debunked
Be a member - www.SQLServerGeeks.comwww.FaceBook.com/SQLServerGeeksTwitter @SQLServerGeeksPresentation & Scripts uploaded on www.SQLServerGeeks.com/files
Continue your learning…
www.AmitBansal.netLinkedIN, FB, Twitter, GuestBookTwitter: @A_Bansal
Join my networkPersonal Site – http://www.amitbansal.netLinkedIn – http://www.linkedin.com/in/AmitBansal2010Forum – www.FaceBook.com/groups/theSQLGeeksFaceBook – http://www.facebook.com/people/Amit.R.BansalTwitter – http://www.twitter.com/A_BansalBlog – www.SQLServerGeeks.com
Connect with Amit Bansal