SlideShare a Scribd company logo
Enterprise Scale Continuous
Delivery
March 30th, 2016
2 Copyright 2016. Confidential – Distribution prohibited without permission
Before We Begin
▪ You will be on mute for the duration of the event
▪ Please type a message in the Questions box in the
Control Panel if you can’t hear us (please check
your speakers and GoToWebinar audio settings
first)
▪ If you have questions during the session, please
submit them on the Q&A bar on your GoToWebinar
dashboard and we will address them at the end
▪ A recording of the full webinar will be put up online
3 Copyright 2016. Confidential – Distribution prohibited without permission
Agenda
▪ Continuous Delivery at enterprise scale
▪ The reasons why the database is often left behind
▪ Best practices of Continuous Delivery for modern
applications
▪ The way to achieve the optimal delivery pipeline –
including the database
▪ Q&A
4 Copyright 2016. Confidential – Distribution prohibited without permission
Presenters
Yaniv Yehuda
CTO, Co-Founder at DBmaestro
Spent the last years raising awareness about the challenges
around database development and deployment, and how to
support database Continuous Delivery.
5 Copyright 2016. Confidential – Distribution prohibited without permission
About DBmaestro
▪ The leading provider of DevOps for Database
▪ Simplify and automate database deployment processes in an agile
environment and reduce critical application downtime
6 Copyright 2016. Confidential – Distribution prohibited without permission
Presenters
Andrew Phillips
VP DevOps Strategy for XebiaLabs
▪ Lots of enterprise software development on high-performance
systems
▪ Been on both sides of the “Dev…Ops” fence
▪ Active open source contributor and committer
▪ Regular Meetup, conference etc. presenter
7 Copyright 2016. Confidential – Distribution prohibited without permission
About XebiaLabs
▪ We build software to support DevOps and Continuous Delivery at scale…
▪ …to accelerate your Business
TODO: Update to latest
company intro
8 Copyright 2016. Confidential – Distribution prohibited without permission
DevOps & CD: a must for every company
Adopters:
Ship code
40x faster
Complete those
deployments
60x faster
than their peers.
Have 95% fewer failures
and rollbacks
DevOps
Continuous
Delivery
Time to Market
9 Copyright 2016. Confidential – Distribution prohibited without permission
Continuous Delivery moving ahead!
▪ Recently Conducted DBmaestro Survey
10 Copyright 2016. Confidential – Distribution prohibited without permission
What does this mean for you?
▪ Need to move towards architectures and processes that
allow changes to be made quickly and regularly
▪ But can’t afford to break things badly!
▪ Adoption of Continuous Delivery pipelines becoming more
and more well-established
11 Copyright 2016. Confidential – Distribution prohibited without permission
What does this mean for you?
▪ Need to move towards architectures and processes that
allow changes to be made quickly and regularly
▪ But can’t afford to break things badly!
▪ Adoption of Continuous Delivery pipelines becoming more
and more well-established
▪ Are you doing CD for the entire application?
12 Copyright 2016. Confidential – Distribution prohibited without permission
What does this mean for you?
▪ Many organizations only consider the application code when
talking about CD pipelines
▪ Uses established practices in packaging, verifying and
deploying new code and promoting changes from one
environment to the next
13 Copyright 2016. Confidential – Distribution prohibited without permission
What does this mean for you?
▪ Many organizations only consider the application code when
talking about CD pipelines
▪ Uses established practices in packaging, verifying and
deploying new code and promoting changes from one
environment to the next
▪ But what about your database?
Suggested handover point
from AP to YY here?
Yaniv: Yes, exactly. Next slide
is mine.
14 Copyright 2016. Confidential – Distribution prohibited without permission
Only 13% are actually performing basic CD practices for the DB!
Manual work:
cant scale, cant match CD frequency
not repeatable, prone to error
Continuous Delivery is big and getting bigger, but...
*2015 Dzone survey
15 Copyright 2016. Confidential – Distribution prohibited without permission
What is the problem?
▪Root Causes for issues:
−Challenging manual source control process
−Static deployments code overrides and configuration drift
−Dynamic deployments tools unaware of version control
−No release automation red-flags – don’t know when to
stop the line…
16 Copyright 2016. Confidential – Distribution prohibited without permission
File Version Control Process
Today:Two isolated processes
DB Development Process
Check-Out
Script
Modify Script
Get updated
Script from DB
Check-In
Script
Compile
Script
in DB
Debug Script
in DB
?
?
?
?
A
A’
Version control is out of sync from the database and cannot act
as a Single Source of Truth
17 Copyright 2016. Confidential – Distribution prohibited without permission
90%Rate this as a risk factor, yet
72%Admit database may not be in sync with the source repository
18 Copyright 2016. Confidential – Distribution prohibited without permission
Scripts & version control
 Challenges:
− Code-overrides
− Working on the wrong revisions
− Scripts do not always find their way to the version control solution
− Out of process updates go unnoticed
− Hard to locate outdated update scripts
 Playing safe? What we really need:
− The upgrade script
− The actual code of the object
− A roll-back script
19 Copyright 2016. Confidential – Distribution prohibited without permission
X
1.11.1.11.11.21.31.41.51.61.7
Int QA Stage Prod
Database Deploy Script
Dev
Dev
Dev
Model
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
1.11.11.41.7
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
Out of Process
Change
X
X
X
X
X
? 1.1.1
X
Challenge with static scripts…
Configuration drift…
20 Copyright 2016. Confidential – Distribution prohibited without permission
60%Of those manually building scripts have to fix or tweak them regularly as part of a deployment process
21 Copyright 2016. Confidential – Distribution prohibited without permission
Scripts are static…
▪ Scripts, unless super sophisticated:
− Unaware of changes made in the target environment – of configuration drift...
− Time passed from their coding to the time they are run
− Potentially overriding production hot-fixes or work done in parallel by another
team
▪ Content changes are very hard to manage
− Metadata & lookup content does not practically fit into the VC
− In most cases they are simply not managed
22 Copyright 2016. Confidential – Distribution prohibited without permission
Comparing & Syncing
1.11.21.31.41.51.61.7
*
Int QA Stage Prod
Dev
Dev
Dev
Model
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
1.1 1.4
1.4 1.7
1.1.1 1.7
1.1 1.1 1.11.41.7
Out of Process
Change
1.1.11.7 1.1.11.7
23 Copyright 2016. Confidential – Distribution prohibited without permission
Safe to automate?
Sure… (?)
Challenge with ‘Compare & Sync’
24 Copyright 2016. Confidential – Distribution prohibited without permission
Safe to automate?
No. Requires manual inspection…
Challenge with ‘Compare & Sync’
25 Copyright 2016. Confidential – Distribution prohibited without permission
70%of those using compare & sync tools have to review and fix the results as they can't always trust them to
automatically deploy correctly
26 Copyright 2016. Confidential – Distribution prohibited without permission
A compare & sync tool:
▪ Is unaware of any changes that occurred before the time it ran
▪ Has no knowledge of changes that took place at the target environment
▪ Does not leverage version control for more information
▪ Unable to deal with conflicts & merges between different teams
▪ Requires manual inspection
▪ Requires detailed knowledge regarding
each change as part of the process
So…no automation…
We fear for automating problems into
production and a major risk!!!
Challenges
27 Copyright 2016. Confidential – Distribution prohibited without permission
The Solution to the challenges
28 Copyright 2016. Confidential – Distribution prohibited without permission
ModernVC integrated DB process
29 Copyright 2016. Confidential – Distribution prohibited without permission
Revision history
Actions
Standard IDE
Change
Management
Enforced and integrated to existing process
30 Copyright 2016. Confidential – Distribution prohibited without permission
Dealing with challenges…
▪Integrated Database Version Control process
− Leverage proven version control best practices
• Forcing check in & out for changes
• Labels
• etc..
− No code-overrides
− Always working with the correct revision
− All changes are documented
− Always know who did what, when, why and from where
− No out-of-process changes
− Supporting structure, code and content
▪ No time spent on manual coding of the change scripts
31 Copyright 2016. Confidential – Distribution prohibited without permission
Leverage
Version control knowledge
into
Deployment decisions
32 Copyright 2016. Confidential – Distribution prohibited without permission
1.11.21.31.41.51.61.7
*
Int QA Stage Prod
Dev
Dev
Dev
Model
1.1 1.2
1.2 1.3
1.3 1.4
1.1 1.7
1.1.1 1.7
1.1 1.1 1.11.41.7
Out of Process
Change
1.1.11.7 1.1.11.7
Validate
1.4 1.5
1.5 1.6
1.6 1.7
Configuration Drift prevention / conflict identification and
Validated execution
1.4 1.5
1.5 1.6
1.6 1.7
OR
Baseline aware analysis
Validated execution / Build & deploy on demand
Validate
33 Copyright 2016. Confidential – Distribution prohibited without permission
■ Understand the nature of the changes
■ Raise red flags on conflicts
■ Support out-of-process changes
■ Utilize baseline aware analysis
Safety Net Deployment Automation
34 Copyright 2016. Confidential – Distribution prohibited without permission
If we had the index in the baseline (previous version) and no longer in Dev (i.e. - removed)
=> we should take it down from production…
(Deploy Change)
Deploying changes if needed
Development Baseline
Previous Label /
Production Golden Copy
Production
35 Copyright 2016. Confidential – Distribution prohibited without permission
Development Baseline
Previous Label /
Production Golden Copy
Production
BUT… If no index in baseline => someone else added it to Production…
we should protect the NEW index on production!!!
(Protect Target)
Or protecting target environment…
36 Copyright 2016. Confidential – Distribution prohibited without permission
Dealing with conflicts => merging changes
37 Copyright 2016. Confidential – Distribution prohibited without permission
Continuous Delivery Pipeline
 Define a process
 Automate the process
 Prevent/Alert out of process changes
38 Copyright 2016. Confidential – Distribution prohibited without permission
Database
Enforced
Source Control
Enhanced Security
and
Regulatory
Compliance
Database Merge and
Build Automation
Database Release
Automation
What does DBmaestro offer?
39 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
▪ Deployment Automation tool
▪ “Gets application X running in environment Y automatically”
TODO: Update with most
recent product description
40 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
▪ Package the deployment of database changes along with all your other
application components to give a unified picture
▪ Easily promote the same package (including database changes!) from one
environment to the next, handling environment-specific differences automatically
41 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
42 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
43 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
44 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Deploy offer?
45 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
▪ Release/pipeline orchestration tool for Continuous Delivery
▪ “Describe, execute and improve all the steps required to get your apps from development to
production”
TODO: Update with most
recent product description
46 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
TODO: Update with most
recent product description
47 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
▪ Define the entire dev-to-prod pipeline/release process to take into
account your current risk/comfort level for automated database
changes
▪ Invoke XL Deploy or DBmaestro directly to apply database changes
automatically
▪ Or add manual impact analysis/review gates if you require or prefer
additional checks
TODO: Rephrase to talk about
defining the flow for all the
changes (including the DB)
across all environments, i.e.
make this more relevant to a
DBA
48 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
▪ Also plan & execute additional database actions such as backups,
copies etc.
▪ Easily tweak your process over time as your CD situation changes
TODO: Drop?
49 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
TODO: Update screenshot
50 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
TODO: Update screenshot
51 Copyright 2016. Confidential – Distribution prohibited without permission
What does XL Release offer?
TODO: Update screenshot
52 Copyright 2016. Confidential – Distribution prohibited without permission
How do DBmaestro, XL Deploy & XL Release work together?
▪ You need to be able to package, deploy and promote database
changes just like other application code to fully do CD
▪ The combination of DBmaestro, XL Deploy & XL Release allows you
to do just that
53 Copyright 2016. Confidential – Distribution prohibited without permission
How DBmaestro, XL Deploy & XL Release work together?
▪ DBmaestro & XL Deploy: include database changes alongside your
code to give you a unified view and automation setup for deployments
▪ DBmaestro & XL Release: Define your delivery pipeline – including
the database – to give you exactly the level of automation and manual
validation that works for you by
TODO: Add some
logos/screenshots here?
54 Copyright 2016. Confidential – Distribution prohibited without permission
Useful resources
▪ About XebiaLabs:
www.xebialabs.com
www.xebialabs.com/products
▪ Stay informed:
blog.xebialabs.com
@XebiaLabs
youtube.com/xebialabs
▪ About DBmaestro:
www.DBmaestro.com
▪ Stay informed:
dbmaestro.com/blog/
@dbMaestro
linkedin.com/company/457315
TODO: Update resources
55 Copyright 2016. Confidential – Distribution prohibited without permission
Thank you!
Q & A
Andrew Phillips
aphillips@xebialabs.com
Yaniv Yehuda
yanivy@dbmaestro.com

More Related Content

PPTX
Geek Sync I In Database Automation We Trust
PPTX
DevOpsRoadTrip San Francisco Final Speaking Deck
PDF
Ship Faster Without Breaking Everything - XebiaLabs + SaltStack Webinar
PDF
DevOps MythBusters
PDF
DevOps is dead! Long Live PanOps! - Shahar Kedar, BigPanda - DevOpsDays Tel A...
PDF
Beyond the Scrum Team: Delivering "Done" at Scale
PPTX
Top 10 DBA Mistakes on Microsoft SQL Server
PDF
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
Geek Sync I In Database Automation We Trust
DevOpsRoadTrip San Francisco Final Speaking Deck
Ship Faster Without Breaking Everything - XebiaLabs + SaltStack Webinar
DevOps MythBusters
DevOps is dead! Long Live PanOps! - Shahar Kedar, BigPanda - DevOpsDays Tel A...
Beyond the Scrum Team: Delivering "Done" at Scale
Top 10 DBA Mistakes on Microsoft SQL Server
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery

Viewers also liked (15)

PDF
6 steps to start your Twitter Marketing
PPTX
Music institutions
PPTX
Continuous delivery and the challenges for the test automation
PPTX
Test 2
PDF
Blended classroom extract
PDF
du pont 2006 10K
PDF
officialschedule2015 logo
PDF
SSC-Marksheet
PDF
2016 Dei Gode Døma Omvendt undervisning
PPTX
Revised powerpoint slides
PDF
Plato College: Flipped Learning and Self-Assessment
PPTX
important Journal entry
PDF
Bibliotecas virtuales
PPTX
Nasal grafts vs flap
DOCX
Hacia un modelo socioeconómico del buen vivir. continuidades y rupturas. Mag ...
6 steps to start your Twitter Marketing
Music institutions
Continuous delivery and the challenges for the test automation
Test 2
Blended classroom extract
du pont 2006 10K
officialschedule2015 logo
SSC-Marksheet
2016 Dei Gode Døma Omvendt undervisning
Revised powerpoint slides
Plato College: Flipped Learning and Self-Assessment
important Journal entry
Bibliotecas virtuales
Nasal grafts vs flap
Hacia un modelo socioeconómico del buen vivir. continuidades y rupturas. Mag ...
Ad

Similar to Enterprise scale continuous delivery (20)

PPTX
Continuous Delivery & the Database- The Final Frontier
PPTX
Continuous Delivery & the Database - the Final Frontier
PPTX
Challenges and Best Practices of Database Continuous Delivery
PPTX
Challenges and best practices of database continuous delivery
PPTX
Webinar: "In database automation we trust"
PPTX
How Financial Institutions Must Enforce DevOps Organizational Policy
PPTX
Verification at scale: Fitting static code analysis into continuous integration
PPTX
In (database) automation we trust
PPTX
The challenges and pitfalls of database deployment automation
PPTX
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
PPTX
CollabNet Houston Workshop Live Enterpise agility_11.12.14
PPTX
DBmaestro's State of the Database Continuous Delivery Survey- Findings Revealed
PPTX
2019 State of DevOps Report: Database Best Practices for Strong DevOps
PPTX
Measuring Performance: See the Science of DevOps Measurement in Action
PDF
Delivering Better Software Faster (Without Breaking Everything)
PDF
Continuous Delivery: The New Normal. London Event.
PPTX
The Role of Automation in the Journey to Continuous Delivery
PPTX
Agile & DevOps - It's all about project success
PPTX
Windows 10 Rapid Release Management - Featuring Adaptiva
PDF
Relational Database CI/CD
Continuous Delivery & the Database- The Final Frontier
Continuous Delivery & the Database - the Final Frontier
Challenges and Best Practices of Database Continuous Delivery
Challenges and best practices of database continuous delivery
Webinar: "In database automation we trust"
How Financial Institutions Must Enforce DevOps Organizational Policy
Verification at scale: Fitting static code analysis into continuous integration
In (database) automation we trust
The challenges and pitfalls of database deployment automation
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
CollabNet Houston Workshop Live Enterpise agility_11.12.14
DBmaestro's State of the Database Continuous Delivery Survey- Findings Revealed
2019 State of DevOps Report: Database Best Practices for Strong DevOps
Measuring Performance: See the Science of DevOps Measurement in Action
Delivering Better Software Faster (Without Breaking Everything)
Continuous Delivery: The New Normal. London Event.
The Role of Automation in the Journey to Continuous Delivery
Agile & DevOps - It's all about project success
Windows 10 Rapid Release Management - Featuring Adaptiva
Relational Database CI/CD
Ad

More from DBmaestro - Database DevOps (14)

PDF
Unlocking the Potential of Database Automation
PDF
Continuous delivery best practices and essential tools
PPTX
Webinar - Devops platform for the evolving enterprise
PDF
DevOps for Database Solution
PDF
State of Database Continuous Delivery 2014
PDF
DevOps for Database 2015 Survey Infographic
PPTX
Protect your Database with Data Masking & Enforced Version Control
PPTX
Why retail companies can't afford database downtime
PPTX
Taking Database Development to the 21st Century
PPTX
manage databases like codebases
PPT
Tui Travel - Overcoming the Challenges of Agile Methods
PPTX
The Future of Change Management and DevOps for Dummies
PPTX
DevOps for Database webinar
PPTX
Version Control meets Database Control
Unlocking the Potential of Database Automation
Continuous delivery best practices and essential tools
Webinar - Devops platform for the evolving enterprise
DevOps for Database Solution
State of Database Continuous Delivery 2014
DevOps for Database 2015 Survey Infographic
Protect your Database with Data Masking & Enforced Version Control
Why retail companies can't afford database downtime
Taking Database Development to the 21st Century
manage databases like codebases
Tui Travel - Overcoming the Challenges of Agile Methods
The Future of Change Management and DevOps for Dummies
DevOps for Database webinar
Version Control meets Database Control

Recently uploaded (20)

PDF
System and Network Administraation Chapter 3
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Essential Infomation Tech presentation.pptx
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
top salesforce developer skills in 2025.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administraation Chapter 3
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms I-SECS-1021-03
How Creative Agencies Leverage Project Management Software.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How to Migrate SBCGlobal Email to Yahoo Easily
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Essential Infomation Tech presentation.pptx
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Understanding Forklifts - TECH EHS Solution
Wondershare Filmora 15 Crack With Activation Key [2025
top salesforce developer skills in 2025.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Which alternative to Crystal Reports is best for small or large businesses.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Enterprise scale continuous delivery

  • 2. 2 Copyright 2016. Confidential – Distribution prohibited without permission Before We Begin ▪ You will be on mute for the duration of the event ▪ Please type a message in the Questions box in the Control Panel if you can’t hear us (please check your speakers and GoToWebinar audio settings first) ▪ If you have questions during the session, please submit them on the Q&A bar on your GoToWebinar dashboard and we will address them at the end ▪ A recording of the full webinar will be put up online
  • 3. 3 Copyright 2016. Confidential – Distribution prohibited without permission Agenda ▪ Continuous Delivery at enterprise scale ▪ The reasons why the database is often left behind ▪ Best practices of Continuous Delivery for modern applications ▪ The way to achieve the optimal delivery pipeline – including the database ▪ Q&A
  • 4. 4 Copyright 2016. Confidential – Distribution prohibited without permission Presenters Yaniv Yehuda CTO, Co-Founder at DBmaestro Spent the last years raising awareness about the challenges around database development and deployment, and how to support database Continuous Delivery.
  • 5. 5 Copyright 2016. Confidential – Distribution prohibited without permission About DBmaestro ▪ The leading provider of DevOps for Database ▪ Simplify and automate database deployment processes in an agile environment and reduce critical application downtime
  • 6. 6 Copyright 2016. Confidential – Distribution prohibited without permission Presenters Andrew Phillips VP DevOps Strategy for XebiaLabs ▪ Lots of enterprise software development on high-performance systems ▪ Been on both sides of the “Dev…Ops” fence ▪ Active open source contributor and committer ▪ Regular Meetup, conference etc. presenter
  • 7. 7 Copyright 2016. Confidential – Distribution prohibited without permission About XebiaLabs ▪ We build software to support DevOps and Continuous Delivery at scale… ▪ …to accelerate your Business TODO: Update to latest company intro
  • 8. 8 Copyright 2016. Confidential – Distribution prohibited without permission DevOps & CD: a must for every company Adopters: Ship code 40x faster Complete those deployments 60x faster than their peers. Have 95% fewer failures and rollbacks DevOps Continuous Delivery Time to Market
  • 9. 9 Copyright 2016. Confidential – Distribution prohibited without permission Continuous Delivery moving ahead! ▪ Recently Conducted DBmaestro Survey
  • 10. 10 Copyright 2016. Confidential – Distribution prohibited without permission What does this mean for you? ▪ Need to move towards architectures and processes that allow changes to be made quickly and regularly ▪ But can’t afford to break things badly! ▪ Adoption of Continuous Delivery pipelines becoming more and more well-established
  • 11. 11 Copyright 2016. Confidential – Distribution prohibited without permission What does this mean for you? ▪ Need to move towards architectures and processes that allow changes to be made quickly and regularly ▪ But can’t afford to break things badly! ▪ Adoption of Continuous Delivery pipelines becoming more and more well-established ▪ Are you doing CD for the entire application?
  • 12. 12 Copyright 2016. Confidential – Distribution prohibited without permission What does this mean for you? ▪ Many organizations only consider the application code when talking about CD pipelines ▪ Uses established practices in packaging, verifying and deploying new code and promoting changes from one environment to the next
  • 13. 13 Copyright 2016. Confidential – Distribution prohibited without permission What does this mean for you? ▪ Many organizations only consider the application code when talking about CD pipelines ▪ Uses established practices in packaging, verifying and deploying new code and promoting changes from one environment to the next ▪ But what about your database? Suggested handover point from AP to YY here? Yaniv: Yes, exactly. Next slide is mine.
  • 14. 14 Copyright 2016. Confidential – Distribution prohibited without permission Only 13% are actually performing basic CD practices for the DB! Manual work: cant scale, cant match CD frequency not repeatable, prone to error Continuous Delivery is big and getting bigger, but... *2015 Dzone survey
  • 15. 15 Copyright 2016. Confidential – Distribution prohibited without permission What is the problem? ▪Root Causes for issues: −Challenging manual source control process −Static deployments code overrides and configuration drift −Dynamic deployments tools unaware of version control −No release automation red-flags – don’t know when to stop the line…
  • 16. 16 Copyright 2016. Confidential – Distribution prohibited without permission File Version Control Process Today:Two isolated processes DB Development Process Check-Out Script Modify Script Get updated Script from DB Check-In Script Compile Script in DB Debug Script in DB ? ? ? ? A A’ Version control is out of sync from the database and cannot act as a Single Source of Truth
  • 17. 17 Copyright 2016. Confidential – Distribution prohibited without permission 90%Rate this as a risk factor, yet 72%Admit database may not be in sync with the source repository
  • 18. 18 Copyright 2016. Confidential – Distribution prohibited without permission Scripts & version control  Challenges: − Code-overrides − Working on the wrong revisions − Scripts do not always find their way to the version control solution − Out of process updates go unnoticed − Hard to locate outdated update scripts  Playing safe? What we really need: − The upgrade script − The actual code of the object − A roll-back script
  • 19. 19 Copyright 2016. Confidential – Distribution prohibited without permission X 1.11.1.11.11.21.31.41.51.61.7 Int QA Stage Prod Database Deploy Script Dev Dev Dev Model 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 1.11.11.41.7 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 Out of Process Change X X X X X ? 1.1.1 X Challenge with static scripts… Configuration drift…
  • 20. 20 Copyright 2016. Confidential – Distribution prohibited without permission 60%Of those manually building scripts have to fix or tweak them regularly as part of a deployment process
  • 21. 21 Copyright 2016. Confidential – Distribution prohibited without permission Scripts are static… ▪ Scripts, unless super sophisticated: − Unaware of changes made in the target environment – of configuration drift... − Time passed from their coding to the time they are run − Potentially overriding production hot-fixes or work done in parallel by another team ▪ Content changes are very hard to manage − Metadata & lookup content does not practically fit into the VC − In most cases they are simply not managed
  • 22. 22 Copyright 2016. Confidential – Distribution prohibited without permission Comparing & Syncing 1.11.21.31.41.51.61.7 * Int QA Stage Prod Dev Dev Dev Model 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 1.1 1.4 1.4 1.7 1.1.1 1.7 1.1 1.1 1.11.41.7 Out of Process Change 1.1.11.7 1.1.11.7
  • 23. 23 Copyright 2016. Confidential – Distribution prohibited without permission Safe to automate? Sure… (?) Challenge with ‘Compare & Sync’
  • 24. 24 Copyright 2016. Confidential – Distribution prohibited without permission Safe to automate? No. Requires manual inspection… Challenge with ‘Compare & Sync’
  • 25. 25 Copyright 2016. Confidential – Distribution prohibited without permission 70%of those using compare & sync tools have to review and fix the results as they can't always trust them to automatically deploy correctly
  • 26. 26 Copyright 2016. Confidential – Distribution prohibited without permission A compare & sync tool: ▪ Is unaware of any changes that occurred before the time it ran ▪ Has no knowledge of changes that took place at the target environment ▪ Does not leverage version control for more information ▪ Unable to deal with conflicts & merges between different teams ▪ Requires manual inspection ▪ Requires detailed knowledge regarding each change as part of the process So…no automation… We fear for automating problems into production and a major risk!!! Challenges
  • 27. 27 Copyright 2016. Confidential – Distribution prohibited without permission The Solution to the challenges
  • 28. 28 Copyright 2016. Confidential – Distribution prohibited without permission ModernVC integrated DB process
  • 29. 29 Copyright 2016. Confidential – Distribution prohibited without permission Revision history Actions Standard IDE Change Management Enforced and integrated to existing process
  • 30. 30 Copyright 2016. Confidential – Distribution prohibited without permission Dealing with challenges… ▪Integrated Database Version Control process − Leverage proven version control best practices • Forcing check in & out for changes • Labels • etc.. − No code-overrides − Always working with the correct revision − All changes are documented − Always know who did what, when, why and from where − No out-of-process changes − Supporting structure, code and content ▪ No time spent on manual coding of the change scripts
  • 31. 31 Copyright 2016. Confidential – Distribution prohibited without permission Leverage Version control knowledge into Deployment decisions
  • 32. 32 Copyright 2016. Confidential – Distribution prohibited without permission 1.11.21.31.41.51.61.7 * Int QA Stage Prod Dev Dev Dev Model 1.1 1.2 1.2 1.3 1.3 1.4 1.1 1.7 1.1.1 1.7 1.1 1.1 1.11.41.7 Out of Process Change 1.1.11.7 1.1.11.7 Validate 1.4 1.5 1.5 1.6 1.6 1.7 Configuration Drift prevention / conflict identification and Validated execution 1.4 1.5 1.5 1.6 1.6 1.7 OR Baseline aware analysis Validated execution / Build & deploy on demand Validate
  • 33. 33 Copyright 2016. Confidential – Distribution prohibited without permission ■ Understand the nature of the changes ■ Raise red flags on conflicts ■ Support out-of-process changes ■ Utilize baseline aware analysis Safety Net Deployment Automation
  • 34. 34 Copyright 2016. Confidential – Distribution prohibited without permission If we had the index in the baseline (previous version) and no longer in Dev (i.e. - removed) => we should take it down from production… (Deploy Change) Deploying changes if needed Development Baseline Previous Label / Production Golden Copy Production
  • 35. 35 Copyright 2016. Confidential – Distribution prohibited without permission Development Baseline Previous Label / Production Golden Copy Production BUT… If no index in baseline => someone else added it to Production… we should protect the NEW index on production!!! (Protect Target) Or protecting target environment…
  • 36. 36 Copyright 2016. Confidential – Distribution prohibited without permission Dealing with conflicts => merging changes
  • 37. 37 Copyright 2016. Confidential – Distribution prohibited without permission Continuous Delivery Pipeline  Define a process  Automate the process  Prevent/Alert out of process changes
  • 38. 38 Copyright 2016. Confidential – Distribution prohibited without permission Database Enforced Source Control Enhanced Security and Regulatory Compliance Database Merge and Build Automation Database Release Automation What does DBmaestro offer?
  • 39. 39 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer? ▪ Deployment Automation tool ▪ “Gets application X running in environment Y automatically” TODO: Update with most recent product description
  • 40. 40 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer? ▪ Package the deployment of database changes along with all your other application components to give a unified picture ▪ Easily promote the same package (including database changes!) from one environment to the next, handling environment-specific differences automatically
  • 41. 41 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer?
  • 42. 42 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer?
  • 43. 43 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer?
  • 44. 44 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Deploy offer?
  • 45. 45 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? ▪ Release/pipeline orchestration tool for Continuous Delivery ▪ “Describe, execute and improve all the steps required to get your apps from development to production” TODO: Update with most recent product description
  • 46. 46 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? TODO: Update with most recent product description
  • 47. 47 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? ▪ Define the entire dev-to-prod pipeline/release process to take into account your current risk/comfort level for automated database changes ▪ Invoke XL Deploy or DBmaestro directly to apply database changes automatically ▪ Or add manual impact analysis/review gates if you require or prefer additional checks TODO: Rephrase to talk about defining the flow for all the changes (including the DB) across all environments, i.e. make this more relevant to a DBA
  • 48. 48 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? ▪ Also plan & execute additional database actions such as backups, copies etc. ▪ Easily tweak your process over time as your CD situation changes TODO: Drop?
  • 49. 49 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? TODO: Update screenshot
  • 50. 50 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? TODO: Update screenshot
  • 51. 51 Copyright 2016. Confidential – Distribution prohibited without permission What does XL Release offer? TODO: Update screenshot
  • 52. 52 Copyright 2016. Confidential – Distribution prohibited without permission How do DBmaestro, XL Deploy & XL Release work together? ▪ You need to be able to package, deploy and promote database changes just like other application code to fully do CD ▪ The combination of DBmaestro, XL Deploy & XL Release allows you to do just that
  • 53. 53 Copyright 2016. Confidential – Distribution prohibited without permission How DBmaestro, XL Deploy & XL Release work together? ▪ DBmaestro & XL Deploy: include database changes alongside your code to give you a unified view and automation setup for deployments ▪ DBmaestro & XL Release: Define your delivery pipeline – including the database – to give you exactly the level of automation and manual validation that works for you by TODO: Add some logos/screenshots here?
  • 54. 54 Copyright 2016. Confidential – Distribution prohibited without permission Useful resources ▪ About XebiaLabs: www.xebialabs.com www.xebialabs.com/products ▪ Stay informed: blog.xebialabs.com @XebiaLabs youtube.com/xebialabs ▪ About DBmaestro: www.DBmaestro.com ▪ Stay informed: dbmaestro.com/blog/ @dbMaestro linkedin.com/company/457315 TODO: Update resources
  • 55. 55 Copyright 2016. Confidential – Distribution prohibited without permission Thank you! Q & A Andrew Phillips aphillips@xebialabs.com Yaniv Yehuda yanivy@dbmaestro.com