Exadata for Oracle DBAs

Slides:



Advertisements
Similar presentations
Extreme Performance with Oracle Data Warehousing
Advertisements

Exadata Embracing Change What is familiar and what is new? The statements and opinions expressed here are my own and do not necessarily represent those.
ITEC474 INTRODUCTION.
Exadata for Oracle DBAs Arup Nanda Longtime DBA and now DMA.
Exadata Distinctives Brown Bag New features for tuning Oracle database applications.
Living with Exadata Presented by: Shaun Dewberry, OS Administrator, RDC Tom de Jongh van Arkel, Database Administrator, RDC Komaran Hansragh, Data Warehouse.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
10 REASONS Why it makes a good option for your DB IN-MEMORY DATABASES Presenter #10: Robert Vitolo.
Introduction to DBA.
Dot2Data Solutions Pvt. Ltd. A Databases Services Consultancy  It is like an appliance containing - Storage, Flash Disks, Database Servers, Infinib and.
Delphix User Experience
Harvard University Oracle Database Administration Session 2 System Level.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Simplify your Job – Automatic Storage Management Angelo Session id:
© 2009 Oracle Corporation. S : Slash Storage Costs with Oracle Automatic Storage Management Ara Vagharshakian ASM Product Manager – Oracle Product.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1 Preview of Oracle Database 12 c In-Memory Option Thomas Kyte
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
Re-defining Database Storage Management
The Sun Oracle Database Machine Barry Hodges Senior Solution Architect Oracle New Zealand.
Bob Thome, Senior Director of Product Management, Oracle SIMPLIFYING YOUR HIGH AVAILABILITY DATABASE.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
Business Intelligence Appliance Powerful pay as you grow BI solutions with Engineered Systems.
1.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Cloudera Kudu Introduction
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
Introduction to Exadata X5 and X6 New Features
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
REMINDER Check in on the COLLABORATE mobile app Oracle Performance Management with vCenter Operations Manager and Oracle Enterprise Manager (OEM) Adapter.
Same Plan Different Performance Mauro Pagano. Consultant/Developer/Analyst Oracle  Enkitec  Accenture DBPerf and SQL Tuning Training Tools (SQLT, SQLd360,
Exadata Distinctives 988 Bobby Durrett US Foods. What is Exadata? Complete Oracle database platform Disk storage system Unique to Exadata – intelligent.
1 Patterns PRESENTER Y V RaviKumar Oracle ACE & Oracle Certified Master (OCM) PRESENTER Y V RaviKumar Oracle ACE & Oracle Certified Master (OCM)
Carlos Bossy Quanta Intelligence SQL Server MCTS, MCITP BI CBIP, Data Mining Real-time Data Warehouse and Reporting Solutions.
JET INFOSYSTEMS The main approach to Big Data parallel processing: Oracle way Aleksey Struchenko Database Department Leader.
CPS216: Data-intensive Computing Systems
CS 540 Database Management Systems
High Availability Linux (HA Linux)
CS 440 Database Management Systems
Exadata and ZFS Storage at Nielsen
BDII Performance Tests
Oracle 11g Real Application Clusters Advanced Administration
Oracle Database Monitoring and beyond
Database Performance Tuning and Query Optimization
Introduction of Week 6 Assignment Discussion
Oracle Storage Performance Studies
Chapter 15 QUERY EXECUTION.
Case studies – Atlas and PVSS Oracle archiver
ASM-based storage to scale out the Database Services for Physics
What’s new in SQL Server 2016 Availability Groups
Akshay Tomar Prateek Singh Lohchubh
Scalable Database Services for Physics: Oracle 10g RAC on Linux
Oracle Memory Internals
Troubleshooting Techniques(*)
11 Simplex or Multiplex?.
Four Rules For Columnstore Query Performance
Chapter 11 Database Performance Tuning and Query Optimization
Large Object Datatypes
Performance And Scalability In Oracle9i And SQL Server 2000
Database administration
Copyright © JanBask Training. All rights reserved Get Started with Hadoop Hive HiveQL Languages.
Vendor Software Lessons From Consulting Vendor Software.
Presentation transcript:

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

Exadata for Oracle DBAs 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? Exadata for Oracle DBAs

Exadata for Oracle DBAs 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 Exadata for Oracle DBAs

Anatomy of an Oracle Database Server Instance Combination of Memory Areas Background Processes Buffer cache SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' DBWR PMON UPDATE CUSTOMERS SET BONUS = 1M WHERE STATUS ='ANGRY' Storage datafile1 datafile2 Exadata for Oracle DBAs

RAC Database Oracle Clusterware (CRS) Server2 Server1 Buffer cache DBWR DBWR PMON PMON Oracle Clusterware (CRS) Storage datafile1 datafile2 Exadata for Oracle DBAs

Exadata for Oracle DBAs Query Processing Server CUSTID NAME STATUS 1 JOHN HAPPY 2 JILL ANGRY 3 JOE 500 JIM JILL Buffer cache SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' DBWR PMON Storage Database Block datafile1 datafile2 Exadata for Oracle DBAs

Components for Performance CPU Memory Less I/O = better performance Network I/O Controller Disk Exadata for Oracle DBAs

Exadata for Oracle DBAs 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 Exadata for Oracle DBAs

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 Exadata for Oracle DBAs

Filtering should be Applied Here 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 Network I/O Controller Disk SELECT NAME FROM CUSTOMERS WHERE STATUS ='ANGRY' Filtering should be Applied Here Exadata for Oracle DBAs

Get NAME … STATUS = ‘ANGRY’ The Magic #1 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. CPU iDB Memory Get NAME … STATUS = ‘ANGRY’ Network I/O Controller Disk Exadata for Oracle DBAs

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

Magic #3 Storage Indexes Cell Server 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. ESS Disk1 Disk2 Disk3 MIN = 3 MAX = 5 MIN = 4 MAX = 5 MIN = 1 MAX = 2 MIN = 3 MAX = 5 SELECT … FROM TABLE WHERE COL1 = 1 1 2 3 4 Storage Index Disk4 Exadata for Oracle DBAs

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 Exadata for Oracle DBAs

Exadata for Oracle DBAs Why Not? Pre-requisite for Smart Scan Direct Path Full Table or Full Index Scan > 0 Predicates Simple Comparison Operators Other Reasons Cell is not offload capable The diskgroup attribute cell.smart_scan_capable set to FALSE; Not on clustered tables, IOTs, etc. Disabling Smart Scans cell_offload_processing = true; _kcfis_storageidx_disabled = true; Exadata for Oracle DBAs

Exadata for Oracle DBAs 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. Server Buffer cache DBWR PMON Flash Storage datafile1 datafile2 Exadata for Oracle DBAs

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 Exadata for Oracle DBAs

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

Put Together: One Full Rack RAC Cluster Database Node 1 Database Node 8 Database Node 1 Database Node 1 Database Node 1 Clients connect to the database nodes. InfiniBand Switch Network Switch Cell 1 Cell 14 Cell 1 Cell 1 Cell 1 Disk1 Disk 12 Disk1 Disk1 Flash Exadata for Oracle DBAs

Exadata for Oracle DBAs Disk Layout 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 Compute Nodes Storage Cell Disk1 Disk 12 Disk1 Disk1 Flash Exadata for Oracle DBAs

Exadata for Oracle DBAs Disk Presentation Node ASM Diskgroup ASM Disk filesystem Griddisk Disk Celldisk filesystem Cell LUN LUN Partition 1 Partition 2 Physical Disk Exadata for Oracle DBAs

Exadata for Oracle DBAs Command Components Linux Commands – vmstat, mpstat, fdisk, etc. Compute Nodes ASM Commands – SQL*Plus, ASMCMD, ASMCA Database Commands – startup, alter database, etc. Disk1 Clusterware Commands – CRSCTL, SRVCTL, etc. Storage Cell Linux Commands – vmstat, mpstat, fdisk, etc. CellCLI – command line tool to manage the Cell Disk1 Disk 12 Disk1 Disk1 5-part Linux Commands article series http://bit.ly/k4mKQS 4-part Exadata Command Reference article series http://bit.ly/lljFl0 Flash Exadata for Oracle DBAs

Administration Skills Needed System Administrator 15% Storage Administrator 0% Network Administrator 5% Database Administrator 60% Cell Administration 20% Exadata for Oracle DBAs

Exadata for Oracle DBAs One Cluster? 1 2 3 4 5 6 7 8 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 Exadata for Oracle DBAs

Exadata for Oracle DBAs Many Clusters? 1 2 3 4 5 6 7 8 QA Cluster Prod Cluster Dev Int QA1 QA2 QA3 Prod1 Prod2 Prod3 Dev1 Int1 1 2 3 4 5 6 7 8 QA Cluster Prod Cluster Dev Int Exadata for Oracle DBAs

Exadata for Oracle DBAs Disk Failures Datafile block1 Cell 1 Cell 2 block1 block1 Exadata for Oracle DBAs

Exadata for Oracle DBAs 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 Exadata for Oracle DBAs

Exadata for Oracle DBAs 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 Exadata for Oracle DBAs

Exadata for Oracle DBAs 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 Exadata for Oracle DBAs

Exadata for Oracle DBAs Thank You! My Blog: arup.blogspot.com My Tweeter: arupnanda Exadata for Oracle DBAs