Arup Nanda Longtime Oracle DBA (and now DMA)

Similar documents
Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA)

Referring to Fig 1, suppose the user wants to select the rows of all the customers who are angry. The following query would make it happen:

Should You Drop Indexes on Exadata?

Exadata Database Machine Administration Workshop NEW

Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia

Exadata Database Machine Administration Workshop

Exadata Database Machine: 12c Administration Workshop Ed 2

B. Using Data Guard Physical Standby to migrate from an 11.1 database to Exadata is beneficial because it allows you to adopt HCC during migration.

Exadata Database Machine: 12c Administration Workshop Ed 2 Duration: 5 Days

Exadata Database Machine: 12c Administration Workshop Ed 2

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

Exdata Database Machine: 12c Administration Workshop Ed 2

Exadata Database Machine: 12c Administration Workshop Ed 1

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

ORACLE RAC DBA COURSE CONTENT

Exadata Database Machine Administration Workshop

Oracle - Exadata Database Machine: 12c

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

<Insert Picture Here> Controlling resources in an Exadata environment

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

<Insert Picture Here> Exadata MAA Best Practices Series Session 6: Migrating to Exadata

Oracle Exadata Course Content

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

<Insert Picture Here> Controlling resources in an Exadata environment

Oracle 1Z0-515 Exam Questions & Answers

<Insert Picture Here> Introducing Exadata X3

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

1Z Oracle Exadata X5 Administration Exam Summary Syllabus Questions

Under the Hood of Oracle Database Appliance. Alex Gorbachev

Exadata. Presented by: Kerry Osborne. February 23, 2012

Real World Exadata. Presented by: Kerry Osborne. March 7, 2012

RACifying Multitenant

Oracle Exadata Recipes

Oracle Database 11g: RAC Administration Release 2 NEW

The Oracle Database Appliance I/O and Performance Architecture

What you will learn. interface clients. Learn To:

Oracle EXAM - 1Z Oracle Exadata Database Machine Administration, Software Release 11.x Exam. Buy Full Product

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle #1 for Data Warehousing. Data Warehouses Growing Rapidly Tripling In Size Every Two Years

What is and What is not Exadata Engineered System

<Insert Picture Here> Exadata MAA Best Practices Series Session 1: E-Business Suite on Exadata

1Z Oracle Real Application Clusters 12c Essentials Exam Summary Syllabus Questions

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

<Insert Picture Here> South Fla Oracle Users Group Oracle/Sun Exadata Database Machine June 3, 2010

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Exadata Implementation Strategy

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

Introduction. Published in IOUG Select Magazine

Oracle Exadata Performance

Oracle Exadata X7. Uwe Kirchhoff Oracle ACS - Delivery Senior Principal Service Delivery Engineer

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

Key to A Successful Exadata POC

Oracle RAC Course Content

Tips and Tricks on Successful Upgrade to 11gR2

Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich

<Insert Picture Here> Exadata MAA Best Practices Series Session 12: Exadata Patching & Upgrades

Non-Production Databases. Oracle Recovery Manager. Presented By: Jeff Branan - Database Architect

Exadata Implementation Strategy

Exadata Database Machine Security Tina Rose Platform Integration MAA Team, Exadata Development

Oracle Exam 1z0-027 Oracle Exadata Database Machine X3 Administration Version: 6.13 [ Total Questions: 72 ]

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Leveraging Oracle ASM Cluster File System for Private Cloud Storage. Kai Yu Oracle Solutions Engineering Dell Inc

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

Real-World Performance Training Exadata and Database In-Memory

Networking for the Cloud DBA. Arup Nanda Longtime Oracle DBA And Explorer of New Things

International Journal of Computer Engineering and Applications,

<Insert Picture Here> Oracle Exadata Database Machine Introduction and hardware

Data Warehouse Appliance: Main Memory Data Warehouse

Big Spatial Data Performance With Oracle Database 12c. Daniel Geringer Spatial Solutions Architect

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Effect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital. Arup Nanda

1Z Primavera P6 Enterprise Project Portfolio Management Essentials.

Steps Create Physical Standby Database Oracle 9i

Multitenant Databases. Arup Nanda Longtime Oracle DBA

Oracle Database 10G. Lindsey M. Pickle, Jr. Senior Solution Specialist Database Technologies Oracle Corporation

JapanCert 専門 IT 認証試験問題集提供者

Partitioning WWWH What, When, Why & How

Oracle Clustering: Oracle 11g Real Application Clusters for Administrators

es T tpassport 㗴㓸 ఝ Ȉ ʼ ȋ ȿ Ⱥ ɺ ɖ ȳ ఝ Ȉ ʼ ȋ Ʌ ɣ ɉ ᐕ䬶ήᢱㅴ 䬨䭚䬢䬷䬺ឭଏ䬨䭚 *VVR YYY VGUVRCUURQTV LR

Enterprise Manager Snap Clone Snapshot your data without snapping your storage David Wolf Director of Product Management

Oracle 10g on Solaris to Oracle RAC 11gR2 on Linux Upgrade

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

Maximize Database Join and Sort Performance Utilizing Exadata Flash

Rapid database cloning using SMU and ZFS Storage Appliance How Exalogic tooling can help

Toad for Oracle Suite 2017 Functional Matrix

ORACLE 11g R2 New Features

ORACLE REFERENCE 11GR2 MANUAL DOCUMENT

Oracle Database In-Memory

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Author A.Kishore Convert 11gR2 non-rac database to RAC database using rconfig

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Essentials. Buy Full Product.

Pass4Sure.1z0-027 {72q}

RAC Performance Monitoring and Diagnosis using Oracle Enterprise Manager. Kai Yu Senior System Engineer Dell Oracle Solutions Engineering

Oracle 12c Features You Should Know. Arup Nanda Longtime Oracle DBA

1Z Oracle. Oracle Exadata Database Machine 2014 Certified Implementation Specialist

ORACLE APPLICATIONS OS FOR DBAs SCRIPTS INTERVIEW QA. ASMSNMP user in ASM 11g (user creation/password

Transcription:

Arup Nanda Longtime Oracle DBA (and now DMA) Why this Session? If you are an Oracle DBA Familiar with RAC, 11gR2 and ASM about to be a Database Machine Administrator (DMA) How much do you have to learn? How much of you own prior knowledge I can apply? What s different in Exadata? What makes it special, fast, efficient? Do you 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? additional software to make it a better database machine Components can be managed independently That s why Oracle calls it a Database Machine (DBM) And 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

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

Components for Performance CPU Memory Network I/O Controller 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-completely-in.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 Checking Storage Index Use select name, value/1024/1024 as stat_value from v$mystat s, v$statname n where s.statistic# = n.statistic# and n.name in ( 'cell physical IO bytes saved by storage index', 'cell physical IO interconnect bytes returned by smart scan ) Output STAT_NAME STAT_VALUE ---------- ---------- SI Savings 5120.45 Smart Scan 1034.00 14

Why Not? Pre-requisite for Smart Scan Direct Path Full Table or Full Index Scan > 0 Predicates Disabling Smart Scans Simple Comparison cell_offload_processing = Operators true; Other Reasons _kcfis_storageidx_disable Cell is not offload capable d = true; The diskgroup attribute cell.smart_scan_capable set to FALSE; Not on clustered tables, IOTs, etc. 15 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 16

Magic #5 Process Offloading Bloom Filters Functions Offloading Get the functions that can be offloaded V$SQLFN_METADATA Decompression (Compression handled by Compute Nodes) Virtual Columns 17 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 18

Put Together: One Full Rack RAC Cluster Database Database Database Node Database 1 Node 8 Node Database 1 Node 1 Node 1 InfiniBand Network Switch Switch Cell 1 Cell 14 Cell 1 Cell 1 Cell 1 Clients connect to the database nodes. 19 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 20

Disk Presentation filesystem filesystem Cell Node 21 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 22

Administration Skills Skill Needed System Administrator 15% Storage Administrator 0% Network Administrator 5% Database Administrator 60% Cell Administration 20% DBA Sys Admin Network Admin Cell Admin 23 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 24

Many Clusters? QA Cluster Prod Cluster Dev Int QA1 QA2 QA3 Prod1 Prod2 Prod3 Dev1 Int1 QA Cluster Prod Cluster Dev Int 25 Disk Failures Datafile block1 Cell 1 Cell 2 block1 block1 26

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 27 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 28

Resources My Articles 5-part Linux Commands article series http://bit.ly/k4mkqs 4-part Exadata Reference article series http://bit.ly/lljfl0 OTN Page on Exadata http://www.oracle.com/technetwork/database/exadata/index. html Tutorials http://www.oracle.com/technetwork/tutorials/index.html OTN Exadata Forum https://forums.oracle.com/forums/forum.jspa?forumid=829 Exadata SIG http://www.linkedin.com/groups?home=&gid=918317 29 Thank You! My Blog: arup.blogspot.com My Tweeter: arupnanda 30