January 24, 2018

Cost of Data Outage

Introduction 


I spend most of my professional life consulting for Internet/Mobility/SaaS companies across Southeast Asia, MiddleEast and US as MySQL Architect, I am accountable for MySQL Infrastructure Operations, Site Reliability, Performance, Scalability and High Availability of my customer MySQL Infrastructure. My customers are from diversified industries like Mobile Advertisement Networks, Online Commerce, Mobile Social Media Gaming and SaaS, The DATA is business for them and Database Infrastructure Outage is the worst thing which could ever happen so “Maximum MySQL Availability” is something I am very serious about !!! Being an MySQL consultant I get to meet new customers almost every week and most of them ask me a very common question “How we can be Optimal, Scalable an Highly Available ? ” , I will ask them back “what can be maximum duration (in hours) of MySQL outage you could ever afford? ” Many of them will reply “We have  to be available 24*7*365”, WOW, Great to hear but in real life it’s IMPOSSIBLE !!! Being an independent MySQL consultant I am very serious about my professional reputation and I always feel comfortable in sharing good, bad and ugly side of MySQL infrastructure operations! There are some customers who appreciate being upfront and some who consider me pessimistic but eventually I will be signing common MySQL Infrastructure Operations Management SLA for all of them mentioning Possible MySQL Outage Scenarios , Time-To-Recover , Recovery & Healing, HealthCheck/Diagnostics/Forensics, Performance, Scalability and Emergency Response / On-Call . In this post I am addressing Cost-of-Data-Outage.    


Cost-of-Data-Outage is expensive for every corporation from all directions like revenue, brand reputation and eventually customer experience. Think about travel booking site going offline during holiday season or Ad-Network going down during shopping festival, The damage is not just limited to web/mobile property but even to strategic partners involved in it like hotels signed-up with travel site or E-commerce platform partnered with Ad-Network so everyone consider “Data Outage” serious but can you ever promise anyone 100% availability of your data infrastructure, The honest answer will be NO!!! This doesn’t mean we are ignorant about “Data Outage” but to architect & implement “Maximum Availability Architecture” you need to know Cost-of-Data-Outage. Building Self Healing / Auto Failover, Fault Tolerant, Highly Available and Responsive MySQL Infrastructure Operations is expensive ($$$), Resource Intensive and Operationally Complex so plan carefully for Budget, People, Roadmap and Housekeeping/Operations while concluding MySQL Maximum Availability Strategy.

What are possible Data Outage scenarios in MySQL Infrastructure?

 

The following are few possible (most common) Data Outage Scenarios in a MySQL Infrastructure:

  1. Human error: The most common and even more dangerous because there is no limit (intentional or not) for an individual/group to damage your data.
  2. Business: Often the potential internet marketing and consumer psychology are mistaken/underestimated. The poor capacity planning & sizing can bring down your MySQL infrastructure in no time !!!
  3. Natural Catastrophe: This could be just anything Flood, Earthquake, Tsunami, Fire etc. Man still get defeated often by mother nature unfortunately !!!
  4. Planned Outage: The advancement in Hardware is so compelling (PCIe SSDs are much faster than HDDs) so upgrades are unavoidable

What I consider while planning for MySQL Maximum Availability ?

 

I never standardise MySQL Infrastructure Operations (Performance, Scalability High Availability and 24*7 MySQL DBA Services ) for any of my customers!! They are completely different from each other for me (though all of them use either MySQL GA / Percona Server / MariaDB / WebScaleSQL). The following are few questions which I will have the answer before engaging personally to MySQL Infrastructure Operations of my customers:

  1. MySQL flavour (MySQL GA / Percona Server / MariaDB / WebScaleSQL)
  2. The current MySQL DBA Operations, SLA, Emergency Support and On-Call DBA
  3. The current MySQL data growth rate / day
  4. MySQL Infrastructure Operations Trending Report (generally two weeks of history data will be sufficient in most of the cases )
  5. MySQL Health Check, Diagnostics & Forensics Report
  6. Immediate goals & accomplishments for MySQL Infrastructure Operations
  7. MySQL Infrastructure Operations Roadmap

How typical MySQL Maximum Availability Project Plan will look like ?

*** This is only the to show my readers how typical Maximum MySQL Availability Project Plan will look like !!!

  1. 24*7 Service Operations (Monitoring & Trending MySQL ), MySQL Infrastructure Operations Workflow (Emergency Support & On-Call) and MySQL Operations SLA (escalation and maximum accepted duration in closing tickets successfully)
  2. Planned MySQL HealthCheck, Diagnostics and Forensics Audit to be proactive !!
  3. Planned MySQL Tuning Schedule
  4. MySQL Backup Strategy, Execution and Sanity Testing of MySQL Backups
  5. MySQL High Availability Architecture, Implementation and Operations
  6. Planned MySQL Outage (hardware upgrades)
  7. MySQL Upgrade Plan

Now what is really the Cost-of-Data-Outage ? 

The answer for this question is not just limited to a number but much beyond  that, It is about Customer Experience, Employee Satisfaction (people hate to work for frequently going down websites), Investor Faith, Partner Loyalty, Brand Value and last but not the least REVENUE!!!

What should I do to achieve Maximum MySQL Availability ?

  1. Hire / Contract professional MySQL DBA or MySQL Consulting company ?
  2. Invest for your in-house MySQL DBA training / research , MySQL is growing faster so staying updated is key to gain maximum benefits
  3. Sponser your MySQL DBAs for Conferences, They enjoy learning and networking with peers and industry experts
About Shiv Iyer 12 Articles
Independent and vendor neutral MySQL, MariaDB and Percona Server consultant with core expertise in performance, scalability and high availability. Shiv is a frequent speaker in Open Source Software conferences worldwide. Shiv currently is the founder and principal of MinervaSQL, An boutique private-label MySQL, MariaDB and Percona Server consulting and remote DBA services company with several customers worldwide. Shiv in the past worked for companies like MySQL AB, SUN, Oracle, AOL, Nike, eBay, PayPal, PalominoDB (acquired by Pythian) and Percona in Sr. MySQL consulting and professional services roles. To engage MinervaSQL for MySQL consulting and professional services, please send email to shiv@minervasql.com