Refresh a 1TB+ database in under 10 seconds…

Slides:



Advertisements
Similar presentations
Notes: Update as of 1/13/2010. Vulnerabilities are included for SQL Server 2000, SQL Server 2005, SQL Server Oracle (8i, 9i, 9iR2, 10g, 10gR2,11g),
Advertisements

Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Barracuda Backup Service Data Backup and Disaster Recovery.
Barracuda Networks Confidential1 Barracuda Backup Service Integrated Local & Offsite Data Backup.
Chapter 2 Administrating DB Engine. Database Engine  The Database Engine is the core service for storing, processing, and securing data.  It provides.
IBM TotalStorage ® IBM logo must not be moved, added to, or altered in any way. © 2007 IBM Corporation Break through with IBM TotalStorage Business Continuity.
About Veeam (rhymes with Team) 8.4M virtual machines worldwide ensured by Veeam availability solutions 1,750 Veeam employees Veeam customers in 200.
STEALTH Content Store for SharePoint using Windows Azure  Boosting your SharePoint to the MAX! "Optimizing your Business behind the scenes"
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
EMC ITEMPOINT FOR MICROSOFT EXCHANGE SERVER
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Microsoft SQL Server 2008 Spotlight on Cost 12 Ways to Reduce Costs with Microsoft SQL Server 2008 Name Title Microsoft Corporation.
Website s Azure Websites is an enterprise class cloud solution for developing, testing and running web apps. Azure Websites allows you to focus on what.
© 2009 IBM Corporation Maximize Cost Savings While Improving Visibility Into Lines of Business Wendy Tam, CDC Product Marketing Manager
Alwayson Availability Groups
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
To provide the world with a next generation storage platform for unstructured data, enabling deployment of mobile applications, virtualization solutions,
Clint Wyckoff | Microsoft Product Strategy Veeam Software: Availability Strategies for Microsoft Azure and Hyper-V, A Deep Dive.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
Secure SQL Database with TDE Thomas Chan SQL Saturday Raleigh.
Refresh a 1TB+ database in under 10 seconds… BY ANDRZEJ PILACIK.
Sql Server Architecture for World Domination Tristan Wilson.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
ProStoria DATA-AS-A-SERVICE FOR DEVOPS. Agenda: ProStoria presentation Contact data.
Redmond Protocols Plugfest 2016 Kevin Farlee Senior Program Manager SQL Server AlwaysOn in SQL Server 2016.
2 This document was developed prior to the product’s release to manufacturing, and as such, we cannot guarantee that all details included herein will.
Get to know SQLDocKit!. Monitoring and administration solutions for SharePoint, Office 365, Windows Servers, Remote Desktop Services, and Citrix admins.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Commvault and Nutanix October Changing IT landscape Today’s Challenges Datacenter Complexity Building for Scale Managing disparate solutions.
Barracuda Backup Easy Cloud-Connected Backup Version 5.4 | July 2014.
Veeam software Risk Mitigation and Protection
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Dev and Test Solution reference architecture.
EMC: Redefining ERP and ROI with a Virtualized SAP HANA® Deployment
Data Platform Modernization
Data Platform and Analytics Foundational Training
Wilson Trailer Approach to Disaster Recovery
Dev and Test Solution reference architecture.
Dev and Test Solution reference architecture.
Get to know SQL Manager SQL Server administration done right 
2016 Citrix presentation.
Dev and Test Solution reference architecture.
Planning an Effective Upgrade from SQL Server 2008
Dev and Test Solution reference architecture.
Installation and database instance essentials
Uptime All The Time: Doing Business In The Cloud
Contained DB? Did it do something wrong?
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Data Platform Modernization
Migrating your SQL Server Instance
Dell Data Protection | Rapid Recovery: Simple, Quick, Configurable, and Affordable Cloud-Based Backup, Retention, and Archiving Powered by Microsoft Azure.
Dev and Test Solution reference architecture.
Backup to Basics Tom Fox
DAT381 Team Development with SQL Server 2005
AlwaysOn Availability Groups
Kovaion Consulting IT Services Portfolio Date : Apr-2015
Andy Puckett – Sales Engineer
Your Data Any Place, Any Time
Windows Azure Hybrid Architectures and Patterns
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
Make Your Maintenance Plans…
Mark Quirk Head of Technology Developer & Platform Group
SQL Server Data Mobility
UpgradeX and CloudSuite
The DBA Quit and now you’re it:
Presentation transcript:

Refresh a 1TB+ database in under 10 seconds… Andrzej Pilacik

Who am I? Database Manager / Solution Architect at Bracebridge Capital 15 years of experience in Database Platforms, SQL Server 7.0 - 2016, Oracle, PostgreSQL Microsoft Certified Professional - SQL Server Working with large data in Healthcare, Insurance, and Financial Sectors www.apdba.info andrzej.pilacik@outlook.com @cypisek77

Bracebridge Capital is a hedge fund founded in 1994 that pursues an absolute return strategy using a broad array of investment instruments We manage approximately $10 billion in capital for global investors including endowments & foundations, pensions, high net worth individuals, fund of funds, and ourselves Approximately 100 employees are located at our office in Boston’s Back Bay Our senior investment professionals have worked at the firm for an average of more than 16 years We have a strong track record and are well respected within the industry Data Collection & Management Emerging Markets Corporate Credit Security Modeling & Analytics TRADING TEAM OF 24 QUANTITATIVE RESEARCH TEAM OF 18 Treasury & Agency Risk Management Software Development Structured Products

Database Platform Challenges Complicated Environments (multiple hardware and software layers) Increasing need for higher RTO and RPO Increasing data footprint Increasing demand for instant data Constant Change Increasing cost of hardware and licensing Balancing budgets Our beloved Developers

Rule # 1 NO MAGIC !!!

Problem at hand… Creation of multiple read/write SQL Server Environments 1-10TB+ database size Mixed database load (OLTP (30%), OLAP (70%)) Production environment with a limited, ever moving maintenance window SQL Server recovery model – nothing other than SIMPLE Daily creation of 1-10 DEV / 1-5 TEST / 1 UAT / 1 PROD (RO) environments On-demand environment restores Magic 24/7

World in SQL Server Read/Write Environment Delivery Time consuming restores Backup and Recovery model dependent Limited to Read-only (Log Shipping, Mirroring, AlwaysOn) Storage footprint SQL Editions and licensing Custom coding Increasing need for higher RTO and RPO Log Shipping Mirroring AlwaysOn Decreasing DBA maintenance window

World in SQL Server Increasing data footprint Unpredictable data growth Operational data growth Unmanageable maintenance window Increasing demand for instant data Data Warehousing Data availability 24/7 Read/write demands Instant data refreshes Constant Change Custom solutions – code maintenance Legacy code support Windows / SQL Server patching SQL Version support

World in SQL Server Increasing cost of hardware and licensing SQL Server Licensing (Enterprise Core model) Windows Licensing (Core model) Cheaper / Faster hardware – reality check Balancing budgets Ever increasing maintenance costs Ever increasing licensing costs Shifting costs

SQL Server ways… Scalability… Restores / Log shipping / Mirroring / AlwaysOn DB Size Backup Time Backup Size Restore Time 1 TB 15 min 110GB (compressed) – 8 files ~ 24 min 1.5 TB 21 min 140GB (compressed) – 8 files ~ 33 min 2.0 TB 40 min 175GB (compressed) – 8 files ~ 43 min Daily Restores Log Shipping (Read Only - Sometimes) - Full Mirror (Read Only or SNAP - RW) - Full AlwaysOn (Read Only) - Full

What now? Full SSD storage solution with an innovative, simplified future path Evaluation of storage vendors Pure Storage, Solid Fire, EMC Support of current HA/DR solutions Snapshot technology *** Performance degradation (NO MAGIC) Flexibility Consistency in recoverability Support for an API Future development of the technology “We” chose to go with EMC XtremIO brick

What now? if (works) { SUCCESS; } else { URLT;

Semi-Magic ways… Production Multiple Environments PROD UAT1 DEV1 Enterprise SP1 Developer SP1

Semi-Magic ways… DR SQL Restores PRODUCTION PROD UAT1 UAT2 Enterprise SP1 DR DEV1 DEV2 Developer SP1 Enterprise SP1 DR LUNS SNAPSHOTS of DR LUNS SQL Restores

Semi-Magic way… Procedure EMC XtremIO Snapshots Initial Setup Start SQL Server Stop SQL Server D: System D: System D: System E: Data E: Data E: Data F: Tlog F: Tlog F: Tlog X: System (SNAP) T: TempDB T: TempDB T: TempDB Y: Data (SNAP) Z: Tlog (SNAP) Q: TempDB (SNAP)

Semi-Magic ways… Procedure cont. EMC XtremIO Snapshots Subsequent Runs Start SQL Server Stop SQL Server D: System D: System (SNAP) D: SQLBin (SNAP Refresh) E: Data E: Data (SNAP) E: Data (SNAP Refresh) F: Tlog F: Tlog (SNAP) F: Tlog (SNAP Refresh) T: TempDB T: TempDB (SNAP) T: TempDB (SNAP Refresh)

Semi-Magic ways… Post Refresh Cleanup Procedures Use of custom SQL Framework SQL Agent (Jobs, Alerts, Operators, Proxies) Database settings (Recovery, Encryption) Security (Logins, Roles, Credentials, Audits) Server Management (Resource Governor, Policies, Extended Events and traces, Maintenance Plans, Mail, DTC) Server Objects (Triggers, Linked Servers, Endpoints, Backup Devices) Replication SSIS, SSRS Custom Rule Automation Verification procedures Delivery Automation On-Demand Magic

Semi-Magic ways… Framework Development PowerShell Framework Integration Custom PowerShell Modules Server Control Service Control File Control Windows Security Control Security API (Password Management in KeePass) https://github.com/PSKeePass/PoShKeePass (jkdba) Storage API (EMC XIO) SQL Server Native PS API Idera Diagnostic Manager API Nagios Monitoring API

Snapshots of existing SQL Luns Time analysis of Snapshot LUN creation 10GB Delta 500GB Delta Refresh Time 1 TB Database < 1 sec < 10 sec Refresh Time 1.5 TB Database Refresh Time 2 TB Database

Refresh a 10TB+ database in under 60 seconds…

Questions? Thank you