Virtualization of Oracle Evolves to Best Practice for Production Systems



Similar documents
The Status of Flash for Practitioners

VMware Dominant in Multi-Hypervisor Data Centers

Big Data Database Revenue and Market Forecast,

TOP FIVE REASONS WHY CUSTOMERS USE EMC AND VMWARE TO VIRTUALIZE ORACLE ENVIRONMENTS

Enterprise Flash vs. HDD Projections

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Wikibon Storage Projections to an All-flash Datacenter in 2016

Monitoring Databases on VMware

IS IN-MEMORY COMPUTING MAKING THE MOVE TO PRIME TIME?

Latency vs. Capacity Storage Projections

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

WHITE PAPER 1

EMC VPLEX FAMILY. Continuous Availability and data Mobility Within and Across Data Centers

The Benefits of Converged VDI Appliances

Infrastructure Leadership for Oracle Intense Environments

The Challenges of Enabling Low-cost Enterprise Cloud Storage Services

Evolving Datacenter Architectures

EMC PERFORMANCE OPTIMIZATION FOR MICROSOFT FAST SEARCH SERVER 2010 FOR SHAREPOINT

FlashSoft Software from SanDisk : Accelerating Virtual Infrastructures

EMC VPLEX FAMILY. Continuous Availability and Data Mobility Within and Across Data Centers

Fax Server Cluster Configuration

Cloud Sure - Virtual Machines

Running Highly Available, High Performance Databases in a SAN-Free Environment

Virtual SAN Design and Deployment Guide

EMC VFCACHE ACCELERATES ORACLE

SQL Server Virtualization

Nutanix Tech Note. Configuration Best Practices for Nutanix Storage with VMware vsphere

COMPARISON OF VMware VSHPERE HA/FT vs stratus

Diablo and VMware TM powering SQL Server TM in Virtual SAN TM. A Diablo Technologies Whitepaper. May 2015

VMware vsphere 4.1. Pricing, Packaging and Licensing Overview. E f f e c t i v e A u g u s t 1, W H I T E P A P E R

Technical Paper. Moving SAS Applications from a Physical to a Virtual VMware Environment

NEXT GENERATION EMC: LEAD YOUR STORAGE TRANSFORMATION. Copyright 2013 EMC Corporation. All rights reserved.

Answering the Requirements of Flash-Based SSDs in the Virtualized Data Center

MaxDeploy Ready. Hyper- Converged Virtualization Solution. With SanDisk Fusion iomemory products

FLASH ARRAY MARKET TRENDS

Techniques for implementing & running robust and reliable DB-centric Grid Applications

Red Hat Enterprise linux 5 Continuous Availability

Cloud Infrastructure Licensing, Packaging and Pricing

EMC XtremSF: Delivering Next Generation Performance for Oracle Database

Symantec Storage Foundation High Availability for Windows

VirtualclientTechnology 2011 July

IOS110. Virtualization 5/27/2014 1

Exadata and Database Machine Administration Seminar

Promise of Low-Latency Stable Storage for Enterprise Solutions

MAKING YOUR VIRTUAL INFRASTUCTURE NON-STOP Making availability efficient with Veritas products

Optimize VDI with Server-Side Storage Acceleration

Avoid Paying The Virtualization Tax: Deploying Virtualized BI 4.0 The Right Way. Ashish C. Morzaria, SAP

Veritas Cluster Server from Symantec

WHITE PAPER. VMware vsphere 4 Pricing, Packaging and Licensing Overview

Virtualized Disaster Recovery from VMware and Vision Solutions Cost-efficient, dependable solutions for virtualized disaster recovery and business

Exadata Database Machine Administration Workshop NEW

Building the Virtual Information Infrastructure

Symantec Cluster Server powered by Veritas

Infrastructure Matters: POWER8 vs. Xeon x86

SAN Conceptual and Design Basics

WHITE PAPER The Storage Holy Grail: Decoupling Performance from Capacity

Silver Peak Virtual Appliances

VMware vsphere 4. Pricing, Packaging and Licensing Overview W H I T E P A P E R

VMware for SMB environments(min st year)

Hard Partitioning and Virtualization with Oracle Virtual Machine. An approach toward cost saving with Oracle Database licenses

EMC SOLUTIONS TO OPTIMIZE EMR INFRASTRUCTURE FOR CERNER

Providing Self-Service, Life-cycle Management for Databases with VMware vfabric Data Director

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Databases Going Virtual? Identifying the Best Database Servers for Virtualization

Copyright 1

CERNER EMR: OPTIMIZING IT INFRASTRUCTURES

EMC BACKUP-AS-A-SERVICE

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

Benchmarking Hadoop & HBase on Violin

Technology Insight Series

Getting the Most Out of Virtualization of Your Progress OpenEdge Environment. Libor Laubacher Principal Technical Support Engineer 8.10.

Removing Performance Bottlenecks in Databases with Red Hat Enterprise Linux and Violin Memory Flash Storage Arrays. Red Hat Performance Engineering

What s New in VMware vsphere 4.1 Storage. VMware vsphere 4.1

SOLUTIONS PRODUCTS INDUSTRIES RESOURCES SUPPORT ABOUT US ClearCube Technology, Inc. All rights reserved. Contact Support

EMC Virtual Infrastructure for Microsoft Applications Data Center Solution

All-Flash Arrays Weren t Built for Dynamic Environments. Here s Why... This whitepaper is based on content originally posted at

Veritas Storage Foundation High Availability for Windows by Symantec

Deploying Affordable, High Performance Hybrid Flash Storage for Clustered SQL Server

The case for cloud-based disaster recovery

The Value of Oracle Database Appliance (ODA) for ISVs

Rackspace Cloud Databases and Container-based Virtualization

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Nimble Storage VDI Solution for VMware Horizon (with View)

Overview: X5 Generation Database Machines

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

Oracle Database 11g: RAC Administration Release 2

IBM XIV Gen3 Storage System Storage built for VMware vsphere infrastructures

EMC XTREMIO EXECUTIVE OVERVIEW

Hypervisor-based Replication

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

White Paper. Recording Server Virtualization

EMC Unisphere for VMAX Database Storage Analyzer

VMware Best Practice and Integration Guide

Nimble Storage for VMware View VDI

Comparing TCO for Mission Critical Linux and NonStop

<Insert Picture Here> Oracle VM and Cloud Computing

NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions

VMware Virtual SAN Backup Using VMware vsphere Data Protection Advanced SEPTEMBER 2014

Accelerate the Performance of Virtualized Databases Using PernixData FVP Software

Transcription:

Wikibon.com - http://wikibon.com by David Floyer - 2 May 2013 http://wikibon.com/virtualization-of-oracle-evolves-to-best-practice-for-production-systems/ 1 / 15

Introduction Eighteen months ago Wikibon published research on virtualizing Oracle entitled Damn the Torpedoes: Virtualize Oracle as Fast as Possible. Wikibon recommended organizations not to...wait for Oracle to announce support for virtualization but to take an aggressive yet pragmatic approach, moving towards virtualization as the standard for all production systems. [Note: The research discusses virtualization generally and non-oracle hypervisors specifically]. Wikibon has checked in again with its community with more than 15 hours of in-depth interviews to find out if any practitioners had been torpedoed by virtualizing Oracle. Wikibon found widespread virtualization of test and development and production systems, with Oracle taking a more pragmatic approach to support. Often users had a small skirmish while the Oracle sales teams tried to suggest Oracle VM and/or Exadata, followed by resigned acceptance. The reaction to Exadata is summed up by a senior IT executive: if we go down the Exadata path, now my DBA becomes my storage and operating system engineer. And that is a difficult pill to swallow. What we have done, however, is to take the Exadata concept the x86 server, the storage layer and the highspeed interconnect integration and we have built our own architectural model along those lines. Levels Of Oracle Database Services Our research shows that Oracle database customers are implementing virtualization as a means of tranforming their IT infrastructure to offer an "as-a-service" capability. Wikibon found three good service approaches to virtualizing Oracle: 1. Hypervisor-only Service: Using hypervisor services to recover an Oracle instance on another VM if necessary (e.g., VMware vsphere SRM to another server in the event of a server failure); This service is suitable for test and development and for production applications with few users who can tolerate short outages (99.9% availability). 2. Hypervisor with Oracle Clusterware or other cluster software: This service is suitable for business-critical production applications with high-availability requirements (99.95% availability). 3. Hypervisor with full Oracle RAC: This approach is suitable for mission critical production applications, which cannot be down for any length of time (99.99+% availability). [Note: Availability figures cited are from an application/user point of view and NOT a reflection of infrastructure availability (i.e. the server or storage array). The three approaches allow greater flexibility in choosing the appropriate hardware and software to meet the necessary recovery objectives for Oracle applications. Some installations used all three approaches, others only the first and/or second approach. For larger organizations, Wikibon recommends that all three approaches be offered as Oracle services. The Cost Of Deploying An Oracle Traditional "Core" Figure 1 shows the cost of deploying a single traditional "core" of processing, including the cost of the processors, storage, infrastructure software, and database software (Oracle Enterprise Edition). This would be typical of database services 1 & 2 above. Service 3 is more expensive because of the increased cost of the Oracle RAC feature. The key conclusion from Figure 1 is that the three-year cost to deploy a core is $27,716 and the cost of Oracle database software and maintenance is 82% of the total ($22,863). Wikibon's research found that smaller organizations understood this well. While the principle is understood by larger organizations, in practice the budget for Oracle database products is usually held within the application development department. Operations management is responsible for the remaining 15% of the cost and often believes that their job is to optimize that 15%. So, there is little incentive to tackle this problem. As a result, we consider optimization to be both a 2 / 15

technical and an organizational challenge. But as we will see below, our model shows that by optimizing "core" components for performance, there is a path for organizations to minimize the overall cost of deploying Oracle database applications. Figure 1 Total Cost of a Single Server Core Implementing Oracle Database Enterprise Edition Source: Wikibon, April 2013 3 / 15

Optimizing For CPU IO Wait Time Wikibon's deep discussions with database and infrastructure professionals led to our creating a technical and financial model to illustrate the correct virtualized configuration that would optimize the total cost rather than just the infrastructure cost. One of the largest impacts on virtualized server cost is CPU IO wait time, as shown in Figure 2. The red area in the chart shows the impact of CPU IO wait time, which is the time waiting for IOs to complete. This goes up significantly in a virtualized environment because of the blending of IO from different virtual machines, which makes the IOs look more random. Figure 2 The Impact of CPU IO Wait time Source: Wikibon, February 2013 The two optimal ways of reducing CPU IO wait time to improve IO response time are: 1. Reducing the number of IOs that need to access persistent storage (i.e., disk) by increasing the CPU RAM memory. The size of RAM, however, is limited by two issues: Recovery time in the case of server failure becomes longer the larger the memory; The server L1 & L2 cache hit rates can be reduced if the RAM memory is too large, which can reduce the throughput of the server. 2. Reducing the IO latency and variance by improving the IO subsystem. This is especially important in database applications with high write loads and complex schemas. The ultimate throughput constraint on databases is the locking rate, and throughput can be significantly increased by improving: IO latency, the average response time, IO variance. Long occasional IO times (e.g., a cache miss to disk, or a disk recovery) can have a significant impact on locking, as all the IOs waiting for locks to resolve will wait as well. Figure 5 in the footnotes illustrates the difference in variability between flash and traditional arrays. 4 / 15

Figure 3 shows the "core" cost when the system is optimized for overall cost and performance. The processor cost is increased to include more RAM memory and to improve the balance between cores and clock speed. Database processing is almost always applied to mission- or business-critical applications, so our model assumes that a Tier 1 storage array is deployed in both the traditional core and the optimized core. Traditional storage IO times are about 10-15ms. The cost of primary storage has been doubled to reduce the latency to under 2ms and to reduce variance. The reduction is achieved by ensuring that the important IO is in flash memory in the primary storage. Because IO variance is very important for database IO (see Impact of Flash-only Arrays on Storage Access Time Variability for details of the Wikibon research), caching approaches to reducing IO latency are not sufficient, since caching increases IO variance significantly and applies only to the read IOs, and not the write IOs critical to database performance. The model assumes that a tiered storage approach is taken, where critical data can be pinned in flash storage if required. EMC's VMAX was used as the Tier 1 reference model because it has the highest share of mission-critical Oracle storage. As well, FastVP was assumed in the optimized configuration to enable data to be pinned to flash. Overall, the percentage of flash in optimized primary storage is assumed to be about 20%. Tables 1 & 2 in the footnotes show the detailed costings and assumptions behind Figures 1 & 3. The additional cost of server and storage enhancements increased the cost/core from $27,716/core to $32,661/core, and increase of 17.8%. However, as in shown in Figure 3, the overall cost is significantly reduced because the number of cores can be reduced from 192 to 120, a decrease of 37.5%. 5 / 15

Figure 3 The Cost Breakdown of an Optimized "Core" to Minimize the Overall Cost of Deploying Oracle Databases (Base Infrastructure Using EMC VMAX) Source: Wikibon, April 2013. 6 / 15

The Cost Impact Of Optimizing Database Infrastructure The financial and technical model compares the difference in cost of deploying a traditional infrastructure for database service for a level 2 database service with deploying a hypervisor with some cluster software. Our model assumes that the hypervisor is extended function VMware, while the cluster software is Oracle Clusterware. Our model shows that the reduction in the number of cores required by optimizing the infrastructure is significant. The traditional approach assumes the need for 192 cores (12 servers with 2 sockets per server and 8 cores per socket). By reducing the IO response time to <2ms and ensuring the IO variance is as low as possible, the IO wait time is drastically reduced, and the impact of occasional IO storms on database locking is significantly less. Figure 5 in the footnotes shows the difference in variability between flash and traditional disk-based arrays. The optimized structure would require 120 cores (10 servers, 2 sockets per server and 6 cores per socket). Figure 4 shows the financial impact of this approach - with the traditional deployment of 192 cores being about $1.4 million more expensive over 3 years (26% Higher Budget Cost) than an optimized configuration. 7 / 15

Figure 4 Traditional DB Deployment compared with Latency Optimized DB Deployment for Service Level 2 Deployment Source: Wikibon, April 2013. Organizational Challenges To Optimizing Infrastructure Costs 8 / 15

The organizational challenges to deploying a virtualized and optimized database service are significant. The traditional approach is to take each application as a project, driven by the application group and justified by the line of business. The estimates for database selection, software licenses and infrastructure required are made and signed off for each project. IT Operations is often only peripherally involved until testing and implementation. The database administrators are tasked with ensuring that these critical applications continue to run. However, this approach is very costly and provides an environment which is more difficult to change and less available. Best practice is now to provide a virtualized database service or services to support the databases. The benefits of this type of approach include: Ability to optimize the use of very expensive software resources such as Oracle databases, and ensure that licenses are utilized or redeployed efficiently. Ability to use hypervisor services such as vmotion, vstorage Motion and SRM to provide lower cost high availability environments (99.95%) for applications that can tolerate a few short outages per year. Ability to test systems before purchasing new licenses and ensure that only what is required is purchased "just-in-time" Easier enablement of testing and change to the infrastructure, because of separation of virtual machines from physical hardware The deployment of 10 physical servers with 120 cores could be accomplished as three groups of three servers (with one backup server), with Oracle instances running under VMware on each. A primary VM on one group would have a secondary VM on another group. Conclusions And Recommendations Wikibon concludes that servers have become powerful enough and the virtualization management software stable enough that best practice for deploying x86 Oracle databases is to create an optimized and virtualized server and storage infrastructure for each level of Oracle service required. Pragmatically, IT organizations should start at the simplest service but have a clear objective that all future applications requiring Oracle services should be deployed on the Oracle database service. CIOs will need to adjust the budget and responsibilities within IT for operational database systems, so that there are clear responsibilities for optimizing the infrastructure and utilization of Oracle licenses, and for meeting the availability and performance service level agreements. CIOs should put pressure on ISVs to ensure that their applications are fully supported running in a virtualized database environment and that all future applications or application upgrades are fully supported. The time to ensure that Oracle agrees to support virtualization for its applications is at the time of selection, not deployment. IT operations should ensure that the best quality servers are used for the database services and that flash is aggressively used to minimize IO response times and variance. DBAs and application managers should have access to the database performance monitoring tools and reports, especially IO performance. Many of the organizations surveyed by Wikibon did not have tools to determine where Oracle products were deployed. CIOs should put a priority on ensuring they have a total handle on what Oracle licenses are deployed where and which application can be switched to other databases - this will assist organizations in their negotiations with Oracle. Software fromiquate and others can support this initiative and will more than pay for itself when negotiating with Oracle. CIOs should either take individual responsibility for establishing an end-to-end strategy for negotiating with Oracle or assign an experienced senior manager to manage the progress and the outcome. Wikibon is working on updating its advice on negotiating with Oracle. Action Item: The single most difficult change required to achieve Oracle high availability optimization is aligning budget responsibilities for virtualized Oracle Database Services. CIOs should assign clear responsibility at a senior level for: Determining the different Oracle Service offerings required by the applications, including levels of high availability, Development & test, the recovery objective SLAs met by each level of service; and compliance objectives; 9 / 15

Determining the impact of Oracle application unavailability; Defining the business cases for levels of Oracle database services and defining the recovery objectives in line with the costs and benefits by application; Determining the overall budget for each Oracle database service, including licensing, local and remote infrastructure hardware & software, & overall administration costs; Separating out the server infrastructure for Oracle database services to minimize Oracle license costs; Establishing the default of using Oracle database service, and putting in place a process for Oracle License negotiation will lead to very significant savings to IT and the organization. Footnotes: 10 / 15

11 / 15

Table1 Traditional DB Deployment compared with Latency Optimized DB Deployment for Service Level 2 Virtualized Oracle Deployment Source: Wikibon, April 2013 12 / 15

13 / 15

Table2 Assumptions for Comparison of Traditional DB Deployment compared with Latency Optimized DB Deployment for Service Level 2 Oracle DB Virtualized Deployment Source: Wikibon, April 2013. Figure 5: Comparison of Flash-only arrays and Traditional Array Storage Access Time Variability Source: Wikibon 2013, The results in the table are based on a Monte Carlo model of storage variability. The chart is a 14 / 15

representative snapshot illustration of the first 250 points in a simulation of 30,915 iterations; the lines connecting the points are there to help differentiate the shape of the point distribution - the area underneath the line has no statistical meaning. Figure 5 shows a Monte Carlo simulation of IO RT and Variability of flash storage vs traditional HDD storage. The "snapshot" chart of the first 250 points in a simulation of 30,916 iterations shows the increase in variability of IO with HDD. Because of the high degree of serialization in most database applications, high variability in IO leads to must higher and more much more variable lock release times, increased timeouts and significantly decreased user experience and productivity. For databases in general, variability (in this case, measured as the percentage IOs completing outside 4 times the average response time) is an important metric. It shows that in the case of flash, the percentage of IOs with access times greater than 4ms (4 x average of 1ms) is 0%. Performance is unlikely to be an issue in such an environment. In the case of traditional hard disk, the percentage is about 3%. Database performance becomes compromised with a high percentage of long IO requests (e.g., over 48ms), because pauses of this type will hang up threads in the database, as well as pause an application server waiting for responses. High IO variance, together with high database complexity and high locking rates leads to erratic performance and failure of threads, processes and applications. This in turn leads to higher operational costs and maintenance costs for database and application software, as well as longer function upgrade cycles. LEGAL 2007-2015 SiliconANGLE Media, Inc. All rights reserved. This document and its contents is restricted for the private use of Wikibon Premium Members. External use without written permission is forbidden. 15 / 15 Powered by TCPDF (www.tcpdf.org)