In 2009 John Allspaw and Paul Hammond delivered the session “10 deploys per day – Dev & ops cooperation at Flickr.” In forty six minutes they changed the way millions of people would think about the software delivery process for years to come. It didn’t have a name yet, but DevOps was born. DevOps folk preached about the cloud, automation, rapid delivery and any database technology that wasn’t relational…
In 2013 Kenny Gorman declared “The DBA is Dead”.
For the record, I don’t believe that, but a lot of people do. What is certain is that the world of IT is changing, and the traditional DBA role, and most other data roles, are changing with it.
I’m going to explain what DevOps is, where it came from, and its implications for SQL Server. We’ll cover the human and technical basics of database DevOps – and I’m going to discuss some changes that data folk need to make.
6. @_AlexYates_
#GroupBy
2009: A regular session, at a regular conference,
that changed everything
https://www.youtube.com/watch?v=LdOe18KhtT4/
@allspaw
@ph
7. @_AlexYates_
#GroupBy
A brief history of DevOps
• 2008: Agile Toronto “Agile Infrastructure”
• 2008: “Agile System Administrators” Google group
• 2009 (June): “10+ Deploys Per Day”
• 2009 (October): DevOps Days Ghent
• #DevOps
• 2013: The Phoenix Project
• 2016: The DevOps handbook
@littleidea
@patrickdebois
@allspaw
@ph
@realGeneKim
@jezhumblehttps://www.amazon.co.uk/d/Books/Phoenix-Project-DevOps-Helping-Business/0988262509/
https://www.amazon.co.uk/Devops-Handbook-World-Class-Reliability-Organizations/dp/1942788002/
8. @_AlexYates_
#GroupBy
Things that aren’t DevOps…
Tools
People, job roles or teams
Processes or task lists
Floating masses of visible,
condensed water vapour
http://itrevolution.com/the-three-ways-principles-underpinning-devops/
10. @_AlexYates_
#GroupBy
The three ways
Systems thinking
Amplify feedback loops
Culture of continual experimentation and learning
http://itrevolution.com/the-three-ways-principles-underpinning-devops/
@realGeneKim
13. @_AlexYates_
#GroupBy
Farm Credit Services of America (FCSA)
• 100 person IT team, 14 sub-teams
• Database version control inconsistent
• Deployment process manual
• Delivery was slow and unreliable
14. @_AlexYates_
#GroupBy
• Standardised source control and delivery process
• Automated manual deployment tasks
Farm Credit Services of America (FCSA)
• Deployments easier to review
• Delivery faster and more reliable
23. @_AlexYates_
#GroupBy
“There's nothing more
reliable than keeping track of
exactly the scripts you
intend to run, and running
them, without trying to
compare state and guess.”
Paul Stovell,
Octopus Deploy
http://docs.octopusdeploy.com/display/OD/SQL+Server+databases
24. @_AlexYates_
#GroupBy
“As soon as you have
multiple changes on a single
aspect of an object, ordering
and the ability to detect
which change needs to be
made gets very
complicated.”
25. @_AlexYates_
#GroupBy
“As soon as you have
multiple changes on a single
aspect of an object, ordering
and the ability to detect
which change needs to be
made gets very
complicated.”
Gert Drapers,
built DataDude
https://blogs.msdn.microsoft.com/gertd/2009/06/05/declarative-database-development/
38. @_AlexYates_
#GroupBy
What you can do
• Don’t be the bottleneck – be the fix
• Embrace co-operation, automation and DLM
• (Learn Git, tSQLt, NuGet and PowerShell etc)
• Pick a technical solution that suits your database/team
• Design for deployability and testability
• Data Platform, Cloud (not just on-prem SQL Server)
• Be careful with the word “no”
42. @_AlexYates_
#GroupBy
Image sources
Author Source Information
Chiltepinster Wikimedia Commons Mocking Bird Argument.jpg – Wikimedia Commons. This file is licensed under the Creative Commons Attribution-Share
Alike 3.0 Unported license. Source on Wikimedia Commons: “Own work”
Bit Boy Flickr The elephant in the room – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.
Nils Rinaldi Flickr Hippo fight 2/3 – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.
My own collection Taken by/property of Alex Yates Kitten, “There’s more than one way to skin a cat!”
Memegenerator.net Memegenerator.net I don’t always edit database. Content designed to be shared and delivered with credit to memegenerator.net.
BagoGames Flickr NBC takes another Whack at the IT crowd. This file is licensed under the Creative Commons Attribution 2.0 Generic license.
Biso Wikimedia Commons Rusty tools.jpg – Wikimedia Commons. This file is licensed under the Creative Commons Attribution-Share Alike 3.0
Unported license.
Omnisource5 Wikimedia Commons Lenticular Cloud over Harold's Cross Dublin Ireland taken at 11:30AM, 30th June 2015 – Wikimedia Commons. This file is
licensed under the Creative Commons Attribution-Share Alike 4.0 International license. Source on Wikimedia Commons:
“Own work”