Understanding Service Level Agreements for Database Development

This excerpt from the upcoming book, SQL Server 2008 Administration in Action, introduces the role of service-level agreements (SLAs) as part of a DBA's overall strategy to maintaining reliable Microsoft SQL Server networks.

By Rod Colledge
Wed, November 05, 2008

CIO — As a DBA, your job is to provide database systems that are reliable, secure and available when required. In order to achieve these goals, you must understand your customer's service requirements, usually conveyed through Service Level Agreements.

Far too many DBAs have no idea what their Service Level Agreements are, or if it's possible to meet them. Good DBAs know what they are, obtain budget to design and implement systems to meet them, and ensure they're met through Disaster Recovery planning and testing.

Let's take a look at what's typically included in Service Level Agreements, understand the ramifications of an availability target, and how we can ensure the SLAs are achievable.

Typical Service Level Agreements

Whilst every organization will have different Service Level Agreements, most fall into similar groups or categories. Common ones for SQL Server systems are as follows:

  • System Availability. e.g. The database servers must be available 7 days a week, from 6am to midnight

  • Acceptable Data Loss. e.g. No more than 15 minutes of data entry can be lost

  • Recovery Time. e.g. In the event of a disaster, the systems should be back up and running within one hour.

  • Performance. e.g. Transaction response time should not exceed 2 seconds.

Specific statements such as those presented above are required in order to design systems and processes to meet expectations. What's important at this point is understanding the need to make design and infrastructure decisions in the context of meeting Service Level Agreements.

How Many Nines?

System Availability, a common SLA item, is often measured in terms of the amount of 9's in the availability percentage target, with "Five Nines" representing 99.999% system availability. This translates to a 5 minute maintenance window, or allowed downtime, per year, or 0.8 seconds per day! In contrast, a 99% target represents 1.7 hours per week. Removal of each "nine" from the uptime target significantly reduces the cost of building an environment that meets the target, as Table 1 helps demonstrate.

Table 1: How Many 9s Do You Need?

This table shows the sharp decrease in downtime for each additional 9 in the availability target. 99% availability allows for about 3.5 days downtime per year. 99.999% allows 5 minutes!

Availability Target Downtime Per Year (Approx.)
90 percent 36 days
99 percent 3.5 days
99.9 percent 8 hours
99.99 percent 52 minutes
99.999 percent 5 minutes

Perhaps the real question for a business is not "How much down time is acceptable?" or "How fast should the system be?" but "How much are you prepared to spend?" In posing this question, you should prepare an options paper with various configurations that list the corresponding cost and benefits as they relate to the Service Level Agreements.

A common entry in options papers relates to backup and recovery technology, an example of which is highlighted in Table 2. In this example, two backup options are presented along with their corresponding costs. The first option is a sophisticated Storage Area Network snapshot backup technology that allows near instant backup and recovery. The next option is the standard SQL Server backup and recovery. In both cases, the advantages and costs are presented.

Table 2: What Will It Cost?

Option papers that highlight the cost of various options, such as this example for backup and recovery, help in achieving realistic expectations when developing service level agreements.

Item/Cost SAN Snapshot Backup Native SQL Backup
  Licensing $29,000 --
  Training $13,000 --
  Storage $45,000 $10,000
Total Cost $87,000 $10,000
Benefits Near-instant recovery Reduced complexity
Recovery Time about 5 minutes about 45 minutes

Options papers containing examples such as this present clear choices and sharpens the debate on what's really important. After all, what's the point in spending lots of money building and maintaining a "Five Nines" system when an hour of downtime per week is perfectly acceptable?

Fortunately, SQL Server 2008 introduces a number of new and enhanced features that assist you in meeting your Service Level Agreements.

Ensuring Service Level Agreements Can Be Met

It's often the case that despite your best efforts, the Service Level Agreements cannot be met, and you won't discover this until disaster strikes. In order to feel comfortable with the agreements in place, it's crucial that you anticipate and plan for disaster.

DBAs often make the mistake of defining disaster too narrowly. Small events can have just as big of an impact as the larger, less likely ones. An appropriate Disaster Recovery plan is one that anticipates a variety of disasters and implements processes to test that the recovery plans are valid through simulation. The next section, Planning for Disaster, addresses these topics.

Continue Reading

Backup is one of the most frequently performed storage tasks; however, the perceived level of cost and complexity is rising dramatically for an activity that has been in practice for many decades. This Gartner research sponsored by HP + Intel details the challenges associated with the current state of backup and recovery, and presents the top best practices for improving the backup process.
This online eBook provides insight and advice on how to build an effective disaster recovery strategy in the evolving world of virtual infrastructures, while mitigating the impact of so-called 'Black Swan' events in the datacenter. Practical, how-to best practices, real customer success testimonials and links to additional resources.
This report outlines five trends that enterprises are architecting to better equip their DR solutions today including: secondary site configuration and separation, cloud recovery, tiers of applications and causes of disasters.
This paper breaks down attack sources into four categories: external, malicious insiders, accidental insiders, and unknown.
This paper covers power utilization, intelligent power management and industry best practices for energy efficiency. Extreme Networks® takes a lifecycle approach to power efficiency, management and recycling, offering savings to our customers and promoting a greener world.
With increasing data growth, comes increased need for data security.  The existing DLP model, with a focus on compliance/enforcement is not sufficient as the data discovery and classification capabilities are not granular enough.  Read this paper to find how you can efficiently and accurately manage your risk by rapidly inventorying and classifying your data and then developing remediation workflows that support business needs. 
A simple, cost-effective disaster-recovery solution for virtual environments is high on the agenda for IT organizations as they virtualize more business-critical applications with VMware. VMware vCenter™ Site Recovery Manager-the market-leading disaster-recovery product-ensures the simplest and most reliable disaster protection for all virtualized applications. VMware vCenter Site Recovery Manager provides centralized management of recovery plans, enables nondisruptive testing and automates site-failover processes.
Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn about VMware customer, Navicure, and their experiences testing and evaluating the recovery manager, their progress in implementing it in their environment and their advice other customers considering using vCenter.
Virtualizing business-critical applications is an essential step in your journey to the cloud. Microsoft SQL Server, Exchange and SharePoint, and Oracle applications, are often the backbone of business IT. The benefits of virtualizing these applications extend far beyond mere consolidation. Understanding how VMware improves quality of service and agility while reducing costs will help you make the case for taking virtualization to the next level in your company.
Applications are changing - they're increasingly web-oriented, global in nature and run from multiple device types. Additionally, the volume of data is growing exponentially every year. How do you ensure your applications have fast, accurate, up-to-date information in this new world? Modern applications are data-intensive; delivering data the old way using monolithic databases isn't working. What's needed is a modern approach to data. One that scales-out as needed and delivers predictable high performance, but without sacrificing data consistency or integrity.
Real-time, global data updates have become a critical business requirement for financial-services firms. Overnight or hourly batch jobs can cause erroneous results and missed opportunities. New regulatory requirements dictate real-time reporting of liquidity; traders want access to real-time market and risk positions; and the time windows for relevancy of cross-selling and marketing opportunities are getting shorter. To deal with these issues and new requirements, firms need to be able to react quickly to changes in data. Quick reactions require near-instant access to data, risk analysis and deeper computational analysis for effective decision making. View this webcast to learn how to achieve real-time awareness by managing ever-increasing data volumes and transaction rates.
This video webcast is designed to help those with little to no virtualization experience understand why virtualization and VMware are so important to driving down both capital and operational costs. The session will start with the introduction of the key concepts and technologies of virtualization, introduce the vSphere Hypervisor, and build up to an overview of VMware vSphere® 5, the world's most robust and complete virtualization platform. This session will also discuss new solutions such as the vSphere Storage Appliance and VMware GO that are making it easier than ever before to get started with virtualization.
Newsletter Sign-Up »

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all Newsletters | Privacy Policy
Resource Center