the side effect of nolock

14
Jason Strate Database Architect Pragmatic Works, Inc. THE SIDE EFFECT OF NOLOCK

Upload: jason-strate

Post on 22-Jun-2015

120 views

Category:

Technology


9 download

DESCRIPTION

Presentation based related to a blog post and video. Blog: http://www.jasonstrate.com/2012/06/the-side-effect-of-nolock/ Video: http://www.youtube.com/watch?v=DS88Q4yDZWs

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