Database provisioning requests are the bane of many DBA’s working lives. Developers want to work with realistic data, DBAs want to protect Production and secure data.
But copying databases for development and test is a job that gets 'delegated up'; DBAs, IT Managers, those with the keys to Production find themselves performing the task, and the development team is often blocked while it takes place.
The same people are often responsible for ensuring the copy is appropriate for the environment (permissions, configuration data, sensitive data), so have to perform semi-manual tasks and maintain brittle scripts to do so.
In the session delivered at PASS Summit 2016, Redgate’s Data Platform MVP Grant Fritchey and Richard Macaskill showed how Redgate's new tool SQL Clone enables self-service or easy automation of database copies and is near-instant at the time of need, using a fraction of the disk space.
Find out more about SQL Clone: https://www.red-gate.com/products/dba/sql-clone/
3. Explore Everything PASS Has to Offer
FREE ONLINE WEBINAR EVENTS FREE 1-DAY LOCAL TRAINING EVENTS
LOCAL USER GROUPS
AROUND THE WORLD
ONLINE SPECIAL INTEREST
USER GROUPS
BUSINESS ANALYTICS TRAINING
VOLUNTEERING OPPORTUNITIES
PASS COMMUNITY NEWSLETTER
BA INSIGHTS NEWSLETTERFREE ONLINE RESOURCES
4. Session Evaluations
ways to access
Go to passSummit.com Download the GuideBook App
and search: PASS Summit 2016
Follow the QR code link displayed
on session signage throughout the
conference venue and in the
program guide
Submit by 5pm
Friday November 6th to
WIN prizes
Your feedback is
important and valuable. 3
7. 1. Encourage you to give your developers necessary data
for more accurate development and testing
2. Provide a mechanism for automating and managing
provisioning of development and test databases
3. Enable you to better support a DevOps approach within
your environment
Goals
7
8. • Matching production volumes
• Mirroring data distribution of real data
• Repeatable testing
• Accurate testing and evaluation
Problems: Realistic Data
8
9. • Multiple teams and multiple branches
• Realistic data
• Isolated environments
• 8x the amount of production data
Problems: Drive space
9
10. • Multiple development teams
• Multiple developers per team
• Multiple branches of code
• Main branch
• Hot fixes
• New Development
• Testing teams for each
Problems: Shared Environments
10
11. • Business regulations are increasing
• Health Care
• Banking
• Insurance
• Mens rea
• International compliance (GDPR)
• Cost of data breaches!
Problems: Regulatory Compliance
11
12. It’s not just about regulations & jail…
• Email
• Customer info
• Special needs for testing or business
Problems: General Data Cleanliness
12
13. • More development teams, more testing teams and more
projects
• Must meet more and growing list of requirements
• Same DBA team
Do More With The Same You
13
14. “SQL Clone is a SQL Server database cloning tool that allows
you to create editable copies of databases within seconds
while using very little additional disk space.”
What Is SQL Clone?
14
15. How Does SQL Clone Work?
15
1. Create a data image of a live SQL
Server database or backup
2. Create clones from your data image
on any machine that can access the
file
3. Save changes to the diff file
4. Create a data image of the clone to
persist changes
16. Give your team their own local production-like database in seconds using a
fraction of the disk space.
Allow developers to work in isolated environments to work faster without
overwriting each others changes.
Test against realistic data and server settings to identify issues before they
reach production
Automate provisioning for testing on realistic data and scenarios
Create clones during application debug to test code against realistic data
Reduce time to analysis and fix issues in production faster
What Can SQL Clone Do For You?
16
18. • Clean the data as necessary
• Create a SQL Clone database
copy
• Share that copy, including
realistic data, with all teams
Solutions: Realistic Data
18
19. • Clones are small (save up to 99% of disk space)
• Differential storage only
• Refresh of an environment resets space used
Solutions: Drive Space
19
20. Isolated Environments!
• Multiple clones per data image
• Multiple environments
• Clones are very small
• Creating clones takes seconds
Solutions: Shared Environments
20
21. • Clean data in a clone or a copy of
database
• Create new data image
• Distribute the cleaned data image as
clones
• Works with database internal
processes such as Dynamic Data
Masking (if your security is the same)
Solutions: Regulatory Compliance
21
22. Clean data prior to clone process
OR
1. Create a clone from a data image
2. Clean the clone
3. Create a data image of the cleaned
clone
4. Clone the new data image
Solutions: General Data Cleanliness
22
23. • Faster than normal restores
• Smaller than normal restores
• Fully automatable
• Self-service
Solutions: Do More
23
25. Database provisioning doesn’t need to be an ad hoc, all
consuming task anymore!
Driving forces for change:
• Faster coherent development
• More accurate testing
• Regulatory pressures
• Faster diagnosis
Conclusion
26. 1. Encourage you to give your developers necessary data
for more accurate development and testing
2. Provide a mechanism for automating and managing
provisioning of development and test databases
3. Enable you to better support a DevOps approach within
your environment
Goals
26
27. Session Evaluations
ways to access
Go to passSummit.com Download the GuideBook App
and search: PASS Summit 2016
Follow the QR code link displayed
on session signage throughout the
conference venue and in the
program guide
Submit by 5pm
Friday November 6th to
WIN prizes
Your feedback is
important and valuable. 3
28. Thank You
Learn more from Richard
Macaskill
sqlclone@red-gate.com or follow @Redgate #sqlclone