Transcript
Page 1: The Side Effect of NOLOCK

Jason St rateDatabase Arch i tec tPragmat ic Works , Inc .

THE SIDE EFFECT OF NOLOCK

Page 2: The Side Effect of NOLOCK

WWW.JASONSTRATE.COM

Page 3: The Side Effect of NOLOCK

WE NEED SPEED!

Page 4: The Side Effect of NOLOCK

THE PROBLEM!

http://bit.ly/18yv3tnhttp://www.flickr.com/photos/oxborrow

Page 5: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

Page 6: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

Page 7: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

Page 8: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

NO ROOM!

Page 9: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

PAGE

SPLIT

Page 10: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

WHAT?!

Page 11: The Side Effect of NOLOCK

THE DATA OF BOB AND FRED

WHAT?!

Page 12: The Side Effect of NOLOCK

Demo 1NOLOCK

DEMO

Page 13: The Side Effect of NOLOCK

1. NOLOCK is not an acceptable locking fix.

2. You are risking yours and other people’s data.

3. Troubleshooting is impossible.

4. Research SNAPSHOT ISOLATION level

SUMMARY

Page 14: The Side Effect of NOLOCK

Jason Strate

e: [email protected]

e: [email protected]

b: www.jasonstrate.com

t: StrateSQL

Related Content

www.jasonstrate.com/tag/locking

RESOURCES


Top Related