Exadata for Oracle DBAs. Longtime Oracle DBA



Similar documents
Exadata: from Beginner to Advanced in 3 Hours. Arup Nanda Longtime Oracle DBA (and now DMA)

Inge Os Sales Consulting Manager Oracle Norway

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

Enkitec Exadata Storage Layout

Exadata Database Machine Administration Workshop NEW

Exadata and Database Machine Administration Seminar

Expert Oracle Exadata

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

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

2009 Oracle Corporation 1

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

Ultimate Guide to Oracle Storage

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

Safe Harbor Statement

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

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

Main Memory Data Warehouses

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

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

Capacity Management for Oracle Database Machine Exadata v2

Oracle Big Data, In-memory, and Exadata - One Database Engine to Rule Them All Dr.-Ing. Holger Friedrich

Oracle Cloud Storage and File system

Expert Oracle Exadata

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

<Insert Picture Here> Oracle Exadata Database Machine Overview

How To Use Exadata

Novinky v Oracle Exadata Database Machine

Oracle Database 11g: RAC Administration Release 2

About the Author About the Technical Contributors About the Technical Reviewers Acknowledgments. How to Use This Book

SUN ORACLE DATABASE MACHINE

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

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

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

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

Who am I? Copyright 2014, Oracle and/or its affiliates. All rights reserved. 3

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

Why and How You Should Be Using Policy-Managed RAC Databases

HDS UCP for Oracle key differentiators and why it should be considered. Computacenter insight following intensive benchmarking test

Virtualized Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips Kai Yu Oracle Solutions Engineering Dell Inc

Exadata Database Machine

Tuning Exadata. But Why?

Advanced Oracle DBA Course Details

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

SUN ORACLE DATABASE MACHINE

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

Oracle Storage Options

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

ORACLE DATABASE ADMINISTRATOR RESUME

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

TUT NoSQL Seminar (Oracle) Big Data

SUN ORACLE EXADATA STORAGE SERVER

ORACLE EXADATA DATABASE MACHINE X2-8

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database In-Memory A Practical Solution

Automatic Data Optimization

Oracle - Engineered for Innovation. Thomas Kyte

High Availability Databases based on Oracle 10g RAC on Linux

Oracle BI EE Implementation on Netezza. Prepared by SureShot Strategies, Inc.

Overview: X5 Generation Database Machines

Internet Services. CERN IT Department CH-1211 Genève 23 Switzerland

High Performance Oracle RAC Clusters A study of SSD SAN storage A Datapipe White Paper

Ground up Introduction to In-Memory Data (Grids)

Aaron Werman.

Tushar Joshi Turtle Networks Ltd

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

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

ORACLE EXADATA STORAGE SERVER X2-2

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

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte

HP Oracle Database Platform / Exadata Appliance Extreme Data Warehousing

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

Rob Zoeteweij CUSTOMER CASE CONFIGURATION MANAGEMENT PROVISIONING & AUTOMATED PATCHING

An Oracle White Paper July Oracle ACFS

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

Oracle 11g New Features - OCP Upgrade Exam

Oracle Database Cloud Exadata Service

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

Top 10 Things You Always Wanted to Know About Automatic Storage Management But Were Afraid to Ask

How Oracle Exadata Delivers Extreme Performance

ORACLE CONFIGURATION SERVICES EXHIBIT

Oracle Database Public Cloud Services

Oracle Big Data SQL Technical Update

An Integrated Analytics & Big Data Infrastructure September 21, 2012 Robert Stackowiak, Vice President Data Systems Architecture Oracle Enterprise

High Availability Infrastructure of Database Cloud: Architecture, Best Practices. Kai Yu Oracle Solutions Engineering, Dell Inc.

CÓDIGO DESCRIPCIÓN LUGAR HORAS Ene Feb Mar Abr. CAS-6001 Administración Oracle 11g OCP (SQL+Admon I+Admon II)

<Insert Picture Here> Oracle 11g R2 The best Database for SAP Customers Relationship and Technology Update

<Insert Picture Here> Managing Storage in Private Clouds with Oracle Cloud File System OOW 2011 presentation

ORACLE 11g AND 12c DATABASE CONSOLIDATION AND WORKLOAD SCALABILITY WITH EMC XTREMIO 3.0

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

ORACLE IaaS SERVICE DESCRIPTIONS

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

<Insert Picture Here> Oracle Cloud Storage. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Oracle Recovery Manager

Using RMAN to restore a database to another server in an ASM environment

Transcription:

Exadata for Oracle DBAs Longtime Oracle DBA

Why this Session? I m an Oracle DBA Familiar with RAC, 11gR2 and ASM About to become a Database Machine Administrator (DMA) How much do I have to learn? How much of my own prior knowledge I can apply? What s different in Exadata? What makes it special, fast, efficient? Do I have to go through a lot of training? 2

What is Exadata Is an appliance containing Storage Flash Disks Database Servers Infiniband Switches Ethernet Switches KVM (some models) But is not an appliance. Why? It contains additional software to make it a better database machine That s why Oracle calls it a Database Machine (DBM) Arup And Nanda DMA Database Machine Administrator 3

Anatomy of an Oracle Database Instance SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' Combination of Memory Areas Background Processes UPDATE CUSTOMERS SET BONUS = 1M WHERE STATUS ='ANGRY' datafile1 datafile2 Storage 4

Query Processing JILL SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' datafile1 datafile2 Database Block Storage 5

RAC Database datafile1 datafile2 Storage 6

Components for Performance CPU Memory Network I/O Controller Storage has been and will continue to be the bane of all databases. Simply put, less I/O better performance Disk 7

What about SAN Caches? Success of SAN caches is built upon predictive analytics They work well, if a small percentage of disk is accessed most often The emphasis is on disk; not data Most database systems are way bigger than caches need to get the data to the memory to process I/O at the disk level is still high Caches are excellent for filesystems or very small databases 8

What about In-Memory DBs Memory is still more expensive How much memory is enough? You have a 100 MB database and 100 MB buffer cache The whole database will fit in the memory, right? NO! Oracle database fills up to 7x DB size buffer cache http://arup.blogspot.com/2011/04/can-i-fit-80mb-database-completelyin.html 9

The Solution A typical query may: Select 10% of the entire storage Use only 1% of the data it gets To gain performance, the DB needs to shed weight It has to get less from the storage Filtering at the storage level The storage must be cognizant of the data CPU Memory SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' Filtering should be Applied Here Network I/O Controller Disk 10

The Magic #1 CPU Memory Network I/O Controller Disk idb The communication between CPU and Disk carries the information on the query columns and predicates. This occurs as a result of a special protocol called idb. 11

Magic #2 Storage Cell Server idb Cells are Sun Blades Run Oracle Enterprise Linux Software called Exadata Storage Server (ESS) which understands idb Disk1 Disk2 Disk3 12

Magic #3 Storage Indexes Storage Indexes store in memory of the Cell Server the areas on the disk and the MIN/MAX value of the column and whether NULL exists. They eliminate disk I/O. Disk1 Disk2 Disk3 SELECT FROM TABLE WHERE COL1 = 1 MIN = 3 MAX = 5 MIN = 4 MAX = 5 MIN = 1 MAX = 2 MIN = 3 MAX = 5 Storage Index Disk4 13

Magic #4 Flash Cache These are flash cards presented as disks; not memory to the Storage Cells. They are similar to SAN cache; but Oracle controls what goes on there and how long it stays. datafile1 datafile2 Storage 14

Components CPU Memory Network I/O Controller Disk Database Node (Sun Blade. OEL) Oracle 11gR2 RAC InfiniBand Switch Storage Cell Exadata Storage Server Disks, Flash 15

Put Together: One Full Rack RAC Cluster Database Database Node Database 1 Node Database 1 Node 1 Node 1 InfiniBand Switch Database Node 8 Network Switch Cell 1 Cell 14 Cell 1 Cell 1 Cell 1 Clients connect to the database nodes. 16

Disk Layout Compute Nodes Storage Cell Disks (hard and flash) are connected to the cells. The disks are partitioned at the cell Some partitions are presented as filesystems The rest are used for ASM diskgroups All these disks/partitions are presented to the compute nodes 17

Cell Node Disk Presentation filesystem filesystem 18

Command Components Compute Nodes Storage Cell Linux Commands vmstat, mpstat, fdisk, etc. ASM Commands SQL*Plus, ASMCMD, ASMCA Database Commands startup, alter database, etc. Clusterware Commands CRSCTL, SRVCTL, etc. Linux Commands vmstat, mpstat, fdisk, etc. CellCLI command line tool to manage the Cell 5-part Linux Commands article series http://bit.ly/k4mkqs 4-part Exadata Command Reference article series http://bit.ly/lljfl0 19

One Cluster? One Cluster QA1 QA2 QA3 Prod1 Prod2 Prod3 Dev1 Int1 QA1 QA2 Prod4 Prod1 Prod2 Prod3 Dev1 Int1 QA1 QA2 QA3 Prod1 Prod2 Prod3 Dev1 Int1 Dev2 20

Many Clusters? QA Cluster Prod Cluster Dev Int QA1 QA2 QA3 Prod1 Prod2 Prod3 Dev1 Int1 QA Cluster Prod Cluster Dev Int 21

Disk Failures Datafile block1 Cell 1 Cell 2 block1 block1 22

Other Questions Q: Do clients have to connect using Infiniband? A: No; Ethernet is also available Q: How do you back it up? A: Normal RMAN Backup, just like an Oracle Database Q: How do you create DR? A: Data Guard is the only solution Q: Can I install any other software? A: Nothing on Cells. On nodes yes Q: How do I monitor it? A: Enterprise Manager, CellCLI, SQL Commands 23

Summary Exadata is an Oracle Database running 11.2 The storage cells have added intelligence about data placement The compute nodes run Oracle DB and Grid Infra Nodes communicate with Cells using idb which can send more information on the query Smart Scan, when possible, reduces I/O at cells even for full table scans Cell is controlled by CellCLI commands DMA skills = 60% RAC DBA + 15% Linux + 20% CellCLI + 5% miscellaneous 24

Thank You! Blog: Arup.Blogspot.com Twitter: arupnanda Email: arup@proligence.com 25