Capacity Management for Oracle Database Machine Exadata v2



Similar documents
Application of Predictive Analytics for Better Alignment of Business and IT

Inge Os Sales Consulting Manager Oracle Norway

2009 Oracle Corporation 1

Exadata Database Machine

Oracle Exadata: The World s Fastest Database Machine Exadata Database Machine Architecture

How To Build An Exadata Database Machine X2-8 Full Rack For A Large Database Server

<Insert Picture Here> Oracle Exadata Database Machine Overview

Main Memory Data Warehouses

Oracle Exadata Database Machine for SAP Systems - Innovation Provided by SAP and Oracle for Joint Customers

Exadata and Database Machine Administration Seminar

News and trends in Data Warehouse Automation, Big Data and BI. Johan Hendrickx & Dirk Vermeiren

SUN ORACLE DATABASE MACHINE

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> Best Practices for Extreme Performance with Data Warehousing on Oracle Database

An Oracle White Paper May Exadata Smart Flash Cache and the Oracle Exadata Database Machine

SUN ORACLE EXADATA STORAGE SERVER

How To Use Exadata

SUN ORACLE DATABASE MACHINE

Overview: X5 Generation Database Machines

An Oracle White Paper April A Technical Overview of the Sun Oracle Database Machine and Exadata Storage Server

An Oracle White Paper June A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

ORACLE EXADATA DATABASE MACHINE X2-8

An Oracle White Paper December A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

An Oracle White Paper September A Technical Overview of the Sun Oracle Exadata Storage Server and Database Machine

An Oracle White Paper October A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

Oracle Database In-Memory The Next Big Thing

Maximum Availability Architecture

Exadata Database Machine Administration Workshop NEW

Data Warehousing. Jens Teubner, TU Dortmund Winter 2015/16. Jens Teubner Data Warehousing Winter 2015/16 1

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

Exadata for Oracle DBAs. Longtime Oracle DBA

Applying traditional DBA skills to Oracle Exadata. Marc Fielding March 2013

Novinky v Oracle Exadata Database Machine

Oracle Database - Engineered for Innovation. Sedat Zencirci Teknoloji Satış Danışmanlığı Direktörü Türkiye ve Orta Asya

Exadata Performance, Yes You Still Need to Tune Kathy Gibbs Senior Database Administrator, CONFIO Software

Aaron Werman.

Oracle Database Cloud Exadata Service

DELL s Oracle Database Advisor

An Oracle White Paper December Exadata Smart Flash Cache Features and the Oracle Exadata Database Machine

Benchmarking Cassandra on Violin

Expert Oracle Exadata

HP Oracle Database Platform / Exadata Appliance Extreme Data Warehousing

Oracle Aware Flash: Maximizing Performance and Availability for your Database

Performance Baseline of Hitachi Data Systems HUS VM All Flash Array for Oracle

EMC VMAX3 SERVICE LEVEL OBJECTIVES AND SNAPVX FOR ORACLE RAC 12c

An Oracle White Paper January Improving SAS Customer Intelligence Solution Performance with Oracle SPARC SuperCluster

MACHINE X2-8 ORACLE EXADATA DATABASE ORACLE DATA SHEET FEATURES AND FACTS FEATURES

Oracle Exadata Database Machine Aké jednoznačné výhody prináša pre finančné inštitúcie

Safe Harbor Statement

HP ProLiant DL580 Gen8 and HP LE PCIe Workload WHITE PAPER Accelerator 90TB Microsoft SQL Server Data Warehouse Fast Track Reference Architecture

SAP HANA - Main Memory Technology: A Challenge for Development of Business Applications. Jürgen Primsch, SAP AG July 2011

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

ORACLE EXADATA STORAGE SERVER X4-2

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

Optimizing Storage for Better TCO in Oracle Environments. Part 1: Management INFOSTOR. Executive Brief

ORACLE SUPERCLUSTER T5-8

MACHINE X2-22 ORACLE EXADATA DATABASE ORACLE DATA SHEET FEATURES AND FACTS FEATURES

ORACLE DATA SHEET RELATED PRODUCTS AND SERVICES RELATED PRODUCTS

Converged storage architecture for Oracle RAC based on NVMe SSDs and standard x86 servers

How to Migrate your Database to Oracle Exadata. Noam Cohen, Oracle DB Consultant, E&M Computing

How To Store Data On An Ocora Nosql Database On A Flash Memory Device On A Microsoft Flash Memory 2 (Iomemory)

THE SUMMARY. ARKSERIES - pg. 3. ULTRASERIES - pg. 5. EXTREMESERIES - pg. 9

PSAM, NEC PCIe SSD Appliance for Microsoft SQL Server (Reference Architecture) September 11 th, 2014 NEC Corporation

ORACLE EXADATA STORAGE SERVER X2-2

Flash Performance for Oracle RAC with PCIe Shared Storage A Revolutionary Oracle RAC Architecture

An Oracle White Paper October Oracle Database Appliance

PostgreSQL Business Intelligence & Performance Simon Riggs CTO, 2ndQuadrant PostgreSQL Major Contributor

Oracle Big Data SQL Technical Update

Cisco UCS and Fusion- io take Big Data workloads to extreme performance in a small footprint: A case study with Oracle NoSQL database

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies

Is there any alternative to Exadata X5? March 2015

System Architecture. In-Memory Database

Performance and scalability of a large OLTP workload

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Oracle Database 12c Built for Data Warehousing O R A C L E W H I T E P A P E R F E B R U A R Y

Cintra Software & Services Proven Trusted Experienced Specialized Oracle Global Partner

An Oracle White Paper August Oracle WebCenter Content 11gR1 Performance Testing Results

TUT NoSQL Seminar (Oracle) Big Data

The Evolution of Microsoft SQL Server: The right time for Violin flash Memory Arrays

Proactive database performance management

Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems

Comprehending the Tradeoffs between Deploying Oracle Database on RAID 5 and RAID 10 Storage Configurations. Database Solutions Engineering

Oracle Database Public Cloud Services

Oracle Database 11g for Data Warehousing and Business Intelligence

Safe Harbor Statement

Everything you need to know about flash storage performance

Performance Tuning and Optimizing SQL Databases 2016

Oracle Database In-Memory A Practical Solution

Expert Oracle Exadata

XTM Web 2.0 Enterprise Architecture Hardware Implementation Guidelines. A.Zydroń 18 April Page 1 of 12

Maximum performance, minimal risk for data warehousing

ORACLE EXADATA DATABASE MACHINE X5-2

Enkitec Exadata Storage Layout

Instant-On Enterprise

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option

Transcription:

Capacity Management for Oracle Database Machine Exadata v2 Dr. Boris Zibitsker, BEZ Systems NOCOUG 21 Boris Zibitsker Predictive Analytics for IT 1

About Author Dr. Boris Zibitsker, Chairman, CTO, BEZ Systems. Boris and his colleagues developed modeling technology supporting multitier distributed systems based on Oracle RAC, Teradata, DB2, and SQL Server. Boris consults, and speaks frequently on this topic at many conferences across the globe. Boris Zibitsker Predictive Analytics for IT 3

Outline Overview of Oracle Database Machine V2 architecture Capacity management challenges for DB Machine Role of predictive analytics How to justify strategic capacity planning decisions How to justify tactical performance management actions How to justify operational workload management actions Summary Boris Zibitsker Predictive Analytics for IT 4

Oracle DB Machine Exadata v2 Architecture Massively Parallel Grid RAC DB Server Grid Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 7 Node 8 InfiniBand Switch/Network 4 Gb/sec Exadata Cell 1 Exadata Cell 2 Exadata Cell 3 Exadata Cell 14 Flash Cache Flash Cache Flash Cache Flash Cache Exadata Storage Server Grid Smart Scans Hybrid Columnar Compression Storage Indexes Flash Cache Exadata Cell Disk Storage Capacity: 12 x 6 GB SAS disks (7.2 TB/cell @ 1 TB total) 12 x 2TB SATA disks (24 TB/cell @ 336 TB total) 4 x 96 GB Sun Flash Cards (384GB/cell @ total 5TB) Boris Zibitsker Predictive Analytics for IT 5

Capacity Management Challenges for DB Machine Data collection Workload characterization How to set realistic SLO Performance prediction How to justify DB Machine How to justify server consolidation What will be the impact of new application implementation How to justify strategic capacity planning decisions tactical performance management actions operational workload management actions OLTP, DW, ETL, Arch, New Appl. Boris Zibitsker Predictive Analytics for IT 6

Response Time, Throughput and Cost Affect Capacity Management Decisions RAC CPU Wait RAC CPU Service RAC Delay InfiniBand CPU Service Exadata CPU Wait Exadata CPU Service Exadata Flash Cash RT Exadata Disk Wait Exadata Disk Service How do Smart Scan, Columnar Compression, Flash Cache affect the response time of each workload? What should be done proactively to support acceptable response time and throughput for each workload? Boris Zibitsker Predictive Analytics for IT 7

Response Time Response Time Depends on Many Factors, including Arrival Rate of Requests and Server Utilization Utilization of the server depends on arrival rate of requests and time required to serve an average request Response time of the average request depends on the service time and server utilization When arrival rate and server utilization are low then time waiting for service is low and the response time is equal to service time When workload activity is growing it increases contention for the server and significantly increases the response time How can you manage if you do not know what will be an impact of expected growth? Variable queueing time Constant service time Arrival rate Boris Zibitsker Predictive Analytics for IT 8

Response Time How to Decide When and What Should be changed to Support SLO for each Workload? Gut feelings Rules of thumb Benchmarks Regression analysis Analytical models SLO? Arrival rate Boris Zibitsker Predictive Analytics for IT 9

Simplified Analytical Model of the Database Machine Multiple Workloads With Different Profiles & SLOs RAC DB Server Grid Infiniband Switch Network Exadata Storage Server Grid Client Rejected Requests Arriving Requests 75 Max? 15 1 2 6 CPU CPU CPU 5 Max? 25 1 2 25 CPU CPU Users n Active Sessions Memory Rejected Requests n Active Sessions Flash Disk Disk Up to 8 servers 2 Intel quad-core Xeons each 14 storage servers 1 TB raw SAS or 336 TB raw SATA disk 4 x 96GB PCI Express Flash Cards per Exadata Server 5TB+ flash storage Boris Zibitsker Predictive Analytics for IT 1

Input and Output of Modeling and Optimization Workloads Hardware Software SLAs Optimization Modeling What if? OS Oracle RAC Exadata Plan Options What is the best decision? Boris Zibitsker Predictive Analytics for IT 11

Case Study How to justify capacity planning, performance management and workload management decisions to support workloads SLOs effectively? 1. What will be the impact of workload growth, and when will the current system be out of capacity? 2. What will be the impact of implementing Oracle DB Machine v2? 3. What will be the impact of hardware upgrade? 4. What will be the impact of performance tuning? 5. What will be the impact of changing workload concurrency? 6. What will be the impact of changing workload priority? 7. What will be the impact of new application? 8. What will be the impact of limiting CPU utilization? AS1 OLTP ARK AS2 DW Sales MKT HR JVM1 JVM2 JVM3 JVM4 ETL DBMS1 DBMS2 Sales HR MKT Boris Zibitsker Predictive Analytics for IT 12

How Will Workload and Database Size Growth Affect Performance of Each Workload in Current Multi-tier Distributed Environment 4.5 4 3.5 3 2.5 2 1.5 1.5 Predicted Relative Response Time SLO Sales Marketing HR Archive_2 Archive_1 ETL 1 2 3 4 5 6 7 8 9 1 11 12 Predicted Relative Throughput 1.8 1.6 1.4 1.2 1.8.6.4.2 SLO 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_2 Archive_1 ETL Boris Zibitsker Predictive Analytics for IT 13

How Will Server Consolidation on Oracle DB Machine Affect Each Workload s Performance? ARK ETL AS1 OLTP Sales MKT HR JVM1 JVM2 JVM3 JVM4 AS1 OLTP ARK AS2 DW Sales MKT HR JVM1 JVM2 JVM3 JVM4 ETL Node 1 Node 8 InfiniBand Switch/Network DBMS1 DBMS2 Exadata Cell 1 Exadata Cell 14 Sales HR MKT Flash Cache Flash Cache Current Multi-tier Distributed System with OLTP & DataWarehouse workloads Boris Zibitsker Predictive Analytics for IT 14

Exadata Smart Scan Reduces Volume of Data Returned to Server Traditional Scan Processing Exadata Smart Scan Processing Boris Zibitsker Predictive Analytics for IT 15

Mb/SQL Request How will Smart Scan Reduce Volume of Data Returned to Each Server by each Workload? Smart scan will have different impact on volume of data send to RAC server We will use models to predict how smart scan will affect the response time and throughput for each workload Traditional Scan Processing Exadata Smart Scan Processing Database size OLTP (1 1.5) DW (2 1 ) Archiving ( 5 5) Boris Zibitsker Predictive Analytics for IT 16

How will Exadata Hybrid Columnar Compression Affect Performance of Each Workload? Data is stored by column and then compressed Factors affecting a compression ratio: Table size Data cardinality Read/write ratio Boris Zibitsker Predictive Analytics for IT 17

CPU Utilization by Request #IOs/SQL Request How Exadata Hybrid Columnar Compression Affects the # of I/Os, and CPU Utilization for Each Workload Compression ratios depends on workload s profile: OLTP (1 - - 6) DSS (5 -- 3) Archive (1 -- 5) Regression analysis shows the impact of Compression on #IO/SQL Request and CPU utilization We will use models to predict how compression will it affect the response time and throughput of each workload Before Compression After Compression Database size Before Compression After Compression Database size Boris Zibitsker Predictive Analytics for IT 18

I/O Response Time How Will Smart Flash Cache Size Will Affect Performance of Each Workload? Disk IO Service Time is about 3 ms and it can handle up to 3 IOPS Disk utilization as well as Flash Cache utilization depends on IO Rate and I/O Service time : Udisk = IO Rate * I/O Service Time I/O Response time depends on I/O Service Time and Disk or Flash Cache Utilization : Flash Cache Service Time is small allowing 1mln iops and scan 5gb/sec I/O Response Time = I/O Service Time ( 1 Udisk ) Disk Flash Cache min DBA control: Alter Table Customer Storage (cell_flash_cache_keep/default/none) A lot of value for OLTP workloads Cost is a limitation Flash Cache max 3 IOPS #IOPS Boris Zibitsker Predictive Analytics for IT 19

Exadata I/O Resource Management in Multi- Database Environment How to optimize allocation of I/O resources / bandwidth to different Databases and Workloads Database Sales 4% I/O resources OLTP 7% of I/O recourses ETL : 3% of I/O resources Database Marketing: 35% of I/O resources Interactive: 45% of I/O resources Batch: 55% of I/O resources Database HR: 25% of I/O resources Boris Zibitsker Predictive Analytics for IT 2

What will be an Impact on Cost/Performance as a Result of Moving Data between ASM Disk Groups: Super Hot, Hot and Cold ASM Disk Group Super Hot based on Logical Flash Disks ASM Disk Group Hot ASM Disk Group Cold Boris Zibitsker Predictive Analytics for IT 21

Predicted Server Consolidation Impact on DB Machine.6.5.4.3.2.1 Sales Response Time Components 1 2 3 4 5 6 7 8 9 1 11 12 Marketing Response Time Components.5.4.3.2.1 Sales Response Time Components! 1 2 3 4 5 6 7 8 9 1 11 12 Marketing Response Time Components 3 2.5 2 1.5 1.5 1 2 3 4 5 6 7 8 9 1 11 12 4 3 2 1 1 2 3 4 5 6 7 8 9 1 11 12 5 4 3 2 1 HR Response Time Components 1 2 3 4 5 6 7 8 9 1 11 12 5 4 3 2 1 HR Response Time Components! 1 2 3 4 5 6 7 8 9 1 11 12 Boris Zibitsker Predictive Analytics for IT 22

What Will be the Impact of Increasing Number of Exadata Cells? 3 25 2 15 1 5 3.5 3 2.5 2 1.5 1.5 Relative Response Time 1 2 3 4 5 6 7 8 9 1 11 12 Relative Throughput 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_2 Archive_1 ETL Sales Marketing HR Archive_2 Archive_1 ETL Boris Zibitsker Predictive Analytics for IT 23

Predicted Impact of Adding Exadata Cells on Sales Response Time.8 Sales DB Machine Response Time.7.6.5.4.3 RAC Node Exadata Cell.2.1 1 2 3 4 5 6 7 Boris Zibitsker Predictive Analytics for IT 24

How to Predict New Application Implementation Impact Stress Testing Production DB Machine New Application Copy New Workload Build Model of the Test System Build Model of the Production System Predict how new application will affect performance of existing applications Predict how new application will perform in production environment Boris Zibitsker Predictive Analytics for IT 25

Predicted Impact of Database Tuning Relative Response Time 6 5 4 3 2! Sales Marketing HR Archive_1 1 1 2 3 4 5 6 7 8 9 1 11 12 ETL Archive_2 Relative Throughput 7 6 5 4 3 2 1! 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_1 ETL Archive_2 New Index? Materialized view? Data Compression? Boris Zibitsker Predictive Analytics for IT 26

Predicted Impact of Reducing ETL Concurrency From 11 to 1 Starting P3 1.4 1.2 1.8.6.4.2 Relative Response Time Sales Marketing HR Archive_1 ETL 12 1 8 6 4 2 Oracle RAC CPU Utilization% 1 2 3 4 5 6 7 8 9 1 11 12 Marketing Archive_2 ETL Archive_1 Sales System_D1 1 2 3 4 5 6 7 8 9 1 11 12 2.5 Relative Throughput Disk Utilization % 2 1.5 1 Sales Marketing HR Archive_1 4 3 2 1 Marketing ETL Archive_1 Sales.5 ETL Archive_2 1 2 3 4 5 6 7 8 9 1 11 12 System_D1 HR 1 2 3 4 5 6 7 8 9 1 11 12 Boris Zibitsker Predictive Analytics for IT 27

Probability f(x) # Requests # Requests # Requests Limit Concurrency Reduces Contention but Increase # of Requests Waiting for the Thread Unconstrained # Requests waiting for Thread Threshold # Requests being processed = MPL Time # Requests being processed = MPL Time Approximation of the Multiprogramming (MPL) Distribution f ( x) dx 1 # Requests x = MPL # Requests waiting for Thread f ( x) dx AvgMPLInternal Limit Threshold # Requests being processed = MPL Limit f ( x) dx AverageWaitngQueue Time Boris Zibitsker Predictive Analytics for IT 28

Predicted Impact of Changing Workloads Priority 1.4 1.2 1.8.6.4.2 Relative Response Time 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_1 ETL 1.6 1.4 1.2 1.8.6.4.2 Relative Response Time 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_1 ETL Reducing ETL Priority from.9 to.1 Starting P3 Increasing Marketing and Sales Priority from 2 to 11 Starting P3 Boris Zibitsker Predictive Analytics for IT 29

Predicted Impact of Limiting CPU Consumption by ETL Workload to 5%? 5 Relative Response Time 4 Sales 3! Marketing HR 2 Archive_1 1 ETL Archive_2 1 2 3 4 5 6 7 8 9 1 11 12 2.5 2 1.5 1.5 Relative Throughput 1 2 3 4 5 6 7 8 9 1 11 12 Sales Marketing HR Archive_1 ETL Archive_2 Boris Zibitsker Predictive Analytics for IT 3

Role of Modeling and Optimization Justify Capacity Planning, Performance Management and Operational Workload Management Actions SLOs, SLAs Decisions Optimization Modeling System Workloads Control Boris Zibitsker Predictive Analytics for IT 31

Organizing Continuous Proactive Performance Management Process Actual A2E? Expected Boris Zibitsker Predictive Analytics for IT 32

Conclusion 1. Oracle Database Machine smart scan, columnar data compression and flash memory affect scalability of OLTP and DW workloads differently 2. Capacity management decisions based on gut feelings can be misleading 3. Rules of thumb do not take into consideration specifics of your environment 4. Benchmarks produce the most accurate results, but benchmarks are expensive, time consuming and not flexible 5. We demonstrated a value of predictive analytics in evaluating options and justification of capacity planning, performance management and workload management decisions 6. Collaborative efforts between business people and IT in workload forecasting and evaluation of results helps to understand how complex system works 7. Prediction results set realistic expectations and enable comparison of the actual results with expected 8. It reduces an uncertainty and minimizes risk of surprises Boris Zibitsker Predictive Analytics for IT 33

Thank you! Contact Information boris@bez.com www.bez.com bezsys.blogspot.com Boris Zibitsker Predictive Analytics for IT 34

References B. Zibitsker, A. Lupersolsky, IOUG 29, Modeling and Optimization in Virtualized Multi-tier Distributed Environment B. Zibitsker, IOUG 28. Reducing Risk of Surprises in Changing Multi-tier Distributed Oracle RAC Environment B. Zibitsker, DAMA 27, Enterprise Data Management and Optimization B. Zibitsker, CMG 28, 29 Hands on Workshop on Performance Prediction for Virtualized Multi-tier Distributed Environments J. Buzen, B. Zibitsker, CMG 26, Challenges of Performance Prediction in Multi-tier Parallel Processing Environments B, Zibitsker, G. Sigalov, A. Lupersolsky Modeling and Proactive Performance Management of Multi-tier Distributed Environments, International conference Mathematical methods for analysis and optimization of information and telecommunication networks" B. Zibitsker, C. Garry, CMG 29, "Capacity Management Challenges for the Oracle Database Machine: Exadata v2 Oracle Enterprise Manager Grid Control documentation library at: http://www.oracle.com/technology/documentation/oem.html Boris Zibitsker Predictive Analytics for IT 35