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



Similar documents
Exadata Database Machine Administration Workshop NEW

Exadata and Database Machine Administration Seminar

Exadata for Oracle DBAs. Longtime Oracle DBA

Expert Oracle Exadata

2009 Oracle Corporation 1

Inge Os Sales Consulting Manager Oracle Norway

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

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

Automatic Data Optimization

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

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

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

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

How To Use Exadata

Overview: X5 Generation Database Machines

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

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

<Insert Picture Here> Oracle Exadata Database Machine Overview

Expert Oracle Exadata

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

High Availability Databases based on Oracle 10g RAC on Linux

Oracle Database In-Memory The Next Big Thing

Exadata Database Machine

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

SUN ORACLE DATABASE MACHINE

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

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

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

Safe Harbor Statement

Capacity Management for Oracle Database Machine Exadata v2

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

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

Oracle Database Cloud Exadata Service

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

ORACLE EXADATA STORAGE SERVER X4-2

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

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

Enkitec Exadata Storage Layout

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

SUN ORACLE DATABASE MACHINE

Main Memory Data Warehouses

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

ORACLE EXADATA STORAGE SERVER X2-2

ORACLE EXADATA DATABASE MACHINE X4-2

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

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

ORACLE EXADATA DATABASE MACHINE X5-2

Novinky v Oracle Exadata Database Machine

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

Ultimate Guide to Oracle Storage

ORACLE DATA SHEET RELATED PRODUCTS AND SERVICES RELATED PRODUCTS

SUN ORACLE EXADATA STORAGE SERVER

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

Oracle Database 11g: RAC Administration Release 2

Aaron Werman.

How Oracle Exadata Delivers Extreme Performance

Tuning Exadata. But Why?

Extreme Data Warehouse Performance with Oracle Exadata

DATABASE ADMINISTRATION (DBA) SERVICES

Oracle - Engineered for Innovation. Thomas Kyte

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

Oracle 11g New Features - OCP Upgrade Exam

ORACLE EXADATA DATABASE MACHINE X2-8

Oracle Aware Flash: Maximizing Performance and Availability for your Database

Oracle Database In-Memory A Practical Solution

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

Oracle Database 11g: New Features for Administrators

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

<Insert Picture Here>

Maximum Availability Architecture

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

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

Module 14: Scalability and High Availability

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

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

ORACLE EXADATA DATABASE MACHINE X3-2

Oracle Database 11g R1 & R2: New Features for Administrators

Database Decisions: Performance, manageability and availability considerations in choosing a database

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

An Oracle White Paper July Expanding the Storage Capabilities of the Oracle Database Appliance

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

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

Introduction to Database as a Service

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

TUT NoSQL Seminar (Oracle) Big Data

Instant-On Enterprise

Is there any alternative to Exadata X5? March 2015

An Oracle White Paper November Hybrid Columnar Compression (HCC) on Exadata

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

Oracle Database Public Cloud Services

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

MySQL performance in a cloud. Mark Callaghan

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

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

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Informatica Data Replication FAQs

ORACLE SUPERCLUSTER T5-8

Cost/Benefit Case for IBM PureData System for Analytics

ORACLE DATABASE ADMINISTRATOR RESUME

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

Transcription:

Applying traditional DBA skills to Oracle Exadata Marc Fielding March 2013

About Me Senior Consultant with Pythian s Advanced Technology Group 12+ years Oracle production systems experience starting with Oracle 7 3+ years with Exadata Blogger and conference presenter www.pythian.com/news/author/f ielding Occasionally on twitter: @mfild

About Pythian Recognized Leader: Global industry-leader in remote database administration services and consulting for Oracle, Oracle Applications, MySQL and Microsoft SQL Server Work with over 250 multinational companies such as Forbes.com, Fox Sports, Nordion and Western Union to help manage their complex IT deployments Expertise: Pythian s data experts are the elite in their field. We have the highest concentration of Oracle ACEs on staff 9 including 2 ACE Directors and 2 Microsoft MVPs. Pythian holds 7 Specializations under Oracle Platinum Partner program, including Oracle Exadata, Oracle GoldenGate & Oracle RAC Global Reach & Scalability: Around the clock global remote support for DBA and consulting, systems administration, special projects or emergency response 3

Why this presentation? 4

So you have Exadata. What next? Underpinning Exadata are well-known Oracle technologies SQL*Plus works just like on any other Oracle system RAC and Grid Infrastructure, 11gR2 ASM is there Services, SCAN, etc no different than other Oracle RAC environemnts 5

So what is different? It s an engineered system: you run the same hardware as other Exadata customers Oracle development has tested on the exact same configuration It s a good thing: much fewer obscure OS issues, driver issues etc Single point of contact at Oracle support hardware and software And yeah, there are are a few new concepts 6

Major bits Management switch KVM InfiniBand switches Compute servers Empty space Storage servers 7

How you buy Exadata Full Rack Half Rack Quarter Rack Eighth Rack Database servers 8 4 2 2 Usable storage (High Capacity) 224 TB 252 TB 108 TB 54 TB X3-8: big servers 80 cores each Multi-rack expansion Storage expansion High capacity/high performance 8

The bits you know already Database servers: Xeon-based servers running Oracle Linux 5 2, 4, 8- or more-node 11gR2 RAC cluster Clustered ASM instances Ordinary Ethernet connections to the outside 9

The secret sauce InfiniBand networking Gives amazing latency: forget 1ms, try 1µs Great capacity too: 40gbps Used for RAC interconnect and storage access replaces fiber channel Storage servers: also Linux servers But they run Exadata-specific software Take I/O requests from database servers and send to disk Also have understanding of database concepts 10

Differences from SAN/NAS 11

Smart Scans (1) Somewhat analogous to parallel query Multiple parallel processes Communicate with shadow processes with SQLtype constructs rows, columns etc Save communication capacity by only sending the data you need, not entire data blocks Select col1 from big_table; Sends only col1 data, for example Also more complex actions like predicate evaluation, decryption, bloom filter joins 12

Smart Scans (2) Put processing closer to the storage Inherently parallel: processing happens on all storage servers that might have matching data Only apply to bulk, direct path operations usually full table scans Excludes Index range scans Table access by index rowid Blocks with uncommitted changes LOBs 13

Storage Indexes Used in conjunction with smart scans Can avoid doing I/O entirely Split storage up into 1m storage regions Track high/low values Work best with pre-sorted data Example: select * from tab where col1 < 20; 2-99 4-57 33-60 90-120 14

Hybrid Columnar Compression New storage type with superb compression ratios: 10x or more Group blocks into compression units Store columns together instead of rows Typical databases have repeated values: the infamous Y / N column for example Then apply well-known compression like bzip2 or gzip on top 15

Hybrid Columnar Compression Much like smart scans, data must be loaded in bulk: CREATE TABLE AS SELECT, INSERT /*+APPEND*/, SQL*Loader direct path, etc Otherwise data will get OLTP compression instead CPU overhead to compress/decompress (though smart scans can offload decompression) Locks affect entire compression units rather than single rows 16

Recommendations: HCC Best for data that is inserted in large batches (data warehouses for example) Also useful with time-based partitions: recompress old, no-longer-modified data There are 4 levels; ARCHIVE HIGH has significant CPU overhead so use for data that s rarely accessed Use DBMS_COMPRESSION to predict compression ratios, and see results afterwards 17

Flash cache Unlike the data warehouse-focused features we ve covered, flash cache is designed for OLTP Flash memory has 5x better read latency than hard drives Transparent to applications Smart enough not to cache RMAN backup I/O, ASM secondary extents, and other nonrepeatable reads DBAs can use resource manager and SQL to prioritize cache objects 18

Flash cache: recommendations With new Exadata X3, you may fit entire DB in flash. Enjoy! Entirely different from the similarly-named Database Smart Flash Cache in 11gR2 You can put ASM disks on flash, but ASM redundancy reduces usable space You can use back-end commands to actually see what s being cached 19

I/O Resource Management You can use DBRM in Oracle 11g to manage CPU time, and manage runaway queries But what if your system is bottlenecked on I/O In Exadata, just turn on IORM and your CPU priorities apply to I/O too Can also allocate I/O capacity across databases 20

Management tools: what to expect Command-line tools all there: SQL*Plus etc For storage servers, a new tool: cellcli to manage storage servers cellcli can be combined with dcli to run a command on multiple machines. cellcli changes to one storage server aren t visible to others OEM 12c Cloud Control can now do most common tasks 21

Backups 23

Disaster recovery Storage-level replication and similar tools cannot be used with Exadata Data guard is the overwhelming favourite Active data guard works well with Exadata It s possible to have a non-exadata standby database, but columnar compression is an issue must ALTER TABLE MOVE before accessing data Most common approach: two datacenters with identically configured Exadata machines 24

Patching 25

Diagnostic tools 26

Organizational support models 29

But overall As a DBA, you ll still be doing much the same work as you re used to on Exadata Performance tuning, backups, code deployments, disaster recovery all exist in Exadata land 30

Gaining Exadata skills Not many of us have datacenters in our basements to try out new technologies Get familiar with underlying technologies: RAC, and real ASM with redundancy, direct-attach disk But there are plenty of resources: Exadata courses: Oracle university workshop, and others Exadata books, particularly Expert Oracle Exadata Conference presentations even if you can t attend, try and download the slides 31

Thanks and Q&A Contact info fielding@pythian.com +1-877-PYTHIAN To follow us pythian.com/blog @mfild @pythian linkedin.com/company/pythian