Safe Harbor Statement

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

Oracle Database In-Memory The Next Big Thing

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

Oracle Database In-Memory A Practical Solution

An Oracle White Paper July Oracle Database In-Memory

Oracle Database In- Memory & Rest of the Database Performance Features

2009 Oracle Corporation 1

Oracle InMemory Database

Inge Os Sales Consulting Manager Oracle Norway

Under The Hood. Tirthankar Lahiri Vice President Data Technologies and TimesTen October 28, #DBIM12c

Overview: X5 Generation Database Machines

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

Oracle MulBtenant Customer Success Stories

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

Distributed Architecture of Oracle Database In-memory

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

ORACLE DATABASE 12C IN-MEMORY OPTION

Query Acceleration of Oracle Database 12c In-Memory using Software on Chip Technology with Fujitsu M10 SPARC Servers

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

Automatic Data Optimization

Upcoming: Oracle Database 12.1 Support Update for Linux on System z

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

Oracle Database 12c Plug In. Switch On. Get SMART.

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

Oracle: Database and Data Management Innovations with CERN Public Day

Query Optimization in Oracle 12c Database In-Memory

Common Anti Patterns for Optimizing Big Data Oracle Databases

An Oracle White Paper February, Oracle Database In-Memory Advisor Best Practices

Exadata for Oracle DBAs. Longtime Oracle DBA

Oracle EXAM - 1Z Oracle Database 11g Release 2: SQL Tuning. Buy Full Product.

Oracle Database In-Memory

When to Use Oracle Database In-Memory

Expert Oracle Exadata

Oracle Database 10g: New Features for Administrators

1. This lesson introduces the Performance Tuning course objectives and agenda

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

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

<Insert Picture Here> Oracle Exadata Database Machine Overview

1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle

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

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

SAP HANA PLATFORM Top Ten Questions for Choosing In-Memory Databases. Start Here

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Database 11g: Performance Tuning DBA Release 2

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

Application-Tier In-Memory Analytics Best Practices and Use Cases

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

Oracle Database 10g: Administration Workshop II Release 2

Integrating Apache Spark with an Enterprise Data Warehouse

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

ORACLE EXADATA STORAGE SERVER X4-2

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

Oracle s In-Memory Database Strategy for OLTP and Analytics

Performance Verbesserung von SAP BW mit SQL Server Columnstore

Capacity Management for Oracle Database Machine Exadata v2

SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

<Insert Picture Here>

Tuning Exadata. But Why?

ENHANCEMENTS TO SQL SERVER COLUMN STORES. Anuhya Mallempati #

Introduction to Database as a Service

SQL 2016 and SQL Azure

Novinky v Oracle Exadata Database Machine

How To Use Exadata

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Performance Tuning DBA Release 2. 5 Jours [35 Heures]

Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events

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

Oracle Database In-Memory: A Dual Format In-Memory Database

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

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

Oracle 11g New Features - OCP Upgrade Exam

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

Expert Oracle Exadata

IBM Data Retrieval Technologies: RDBMS, BLU, IBM Netezza, and Hadoop

Main Memory Data Warehouses

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

SUN ORACLE EXADATA STORAGE SERVER

Cost Effective Data Management for Oracle Utilities Applications

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

Is there any alternative to Exadata X5? March 2015

Risk-Free Administration for Expert Database Administrators

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

Oracle DBA Course Contents

Oracle Database In- Memory Op4on in Ac4on

DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management

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

ORACLE DATABASE 12c FOR SAP: ROADMAP, BASE CERTIFICATION FEATURES AND OPTIONS

<Insert Picture Here> Oracle In-Memory Database Cache Overview

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

ORACLE INSTANCE ARCHITECTURE

How Oracle Exadata Delivers Extreme Performance

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

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

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

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

ORACLE DATABASE 10G ENTERPRISE EDITION

ORACLE EXADATA DATABASE MACHINE X5-2

Transcription:

Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. 2

Database In-Memory Ashish Gandotra Senior Solution Specialist

Oracle Database In-Memory Goals Real Time Analytics Accelerate Mixed Workload OLTP No Changes to Applications Trivial to Implement 100x 2x 4

Breakthrough: Dual Format Database Memory SALES Row Format Memory SALES Column Format BOTH row and column formats for same table Simultaneously active and transactionally consistent Analytics & reporting use new in-memory Column format OLTP uses proven row format 5

Why is an In-Memory scan faster than the buffer cache? Buffer Cache SELECT COL4 FROM MYTABLE; X X X X X RESULT Row Format 6

Why is an In-Memory scan faster than the buffer cache? IM Column Store SELECT COL4 FROM MYTABLE; Column Format X X X X RESULT 7

Program Agenda Configuring the In-Memory Column Store Populating the In-Memory Column Store Querying the In-Memory Column Store Managing the In-Memory Column Store on RAC Monitoring the In-Memory Column Store 8

Configuring : In-Memory Column Store System Global Area SGA Buffer Cache Shared Pool Redo Buffer Large Pool Other shared Memory Components In-Memory Area

Configuring : In-Memory Column Store SELECT * FROM V$SGA; NAME VALUE ------------------ --------- Fixed Size 2927176 Variable Size 570426808 Database Buffers 4634022912 Redo Buffers 13848576 In-Memory Area 1024483648 Controlled by INMEMORY_SIZE parameter Minimum size of 100MB SGA_TARGET must be large enough to accommodate Static Pool

Program Agenda Configuring the In-Memory Column Store Populating the In-Memory Column Store Querying the In-Memory Column Store Managing the In-Memory Column Store on RAC Monitoring the In-Memory Column Store 11

Populating : In-Memory Column Store Populate is the term used to bring data into the In-Memory column store Populate is used instead of load because load is commonly used to mean inserting new data into the database Populate doesn t bring new data into the database, it brings existing data into memory and formats it in an optimized columnar format Population is completed by a new set of background processes ORA_W001_orcl Number of processes controlled by INMEMORY_MAX_POPULATE_SERVERS 13

Populating : In-Memory Column Store ALTER TABLE sales INMEMORY; ALTER TABLE sales NO INMEMORY; CREATE TABLE customers PARTITION BY LIST (PARTITION p1 INMEMORY, (PARTITION p2 NO INMEMORY); New INMEMORY ATTRIBUTE Following segment types are eligible Tables Partitions Subpartition Materialized views Following segment types not eligible IOTs Hash clusters Out of line LOBs Pure OLTP Features

Populating : In-Memory Column Store CREATE TABLE ORDERS PARTITION BY RANGE (PARTITION p1 INMEMORY NO MEMCOMPRESS PARTITION p2 INMEMORY MEMCOMPRESS FOR DML, PARTITION p3 INMEMORY MEMCOMPRESS FOR QUERY, : PARTITION p200 INMEMORY MEMCOMPRESS FOR CAPACITY ); Different levels FOR DML Use on tables or partitions with very active DML activity FOR QUERY Default mode for most tables FOR CAPACITY For less frequently accessed segments Easy to switch levels as part of ILM strategy

Identifying : Tables With INMEMORY Attribute SELECT table_name, inmemory FROM USER_TABLES; TABLE_NAME INMEMORY ------------ -------- CHANNELS DISABLED COSTS CUSTOMERS DISABLED PRODUCTS ENABLED SALES TIMES DISABLED New INMEMORY column in *_TABLES dictionary tables INMEMORY is a segment attribute USER_TABLES doesn t display segment attributes for logical objects Both COSTS & SALES are partitioned => logical objects INMEMORY attribute also reported in *_TAB_PARTITIONS

Identifying : Tables With INMEMORY Attribute SELECT segment_name name, population_status status FROM v$im_segments; NAME STATUS ------------ -------- PRODUCTS COMPLETED SALES STARTED New view v$im_segments Indicate: Objects populated in memory Current population status Can also be used to determine compression ratio achieved

Oracle Compression Advisor And In-Memory Easy way to determine memory requirements Use DBMS_COMPRESSION Applies MEMCOMPRESS to sample set of data from a table Returns estimated compression ratio

Oracle In-Memory Advisor New In-Memory Advisor Analyzes existing DB workload via AWR & ASH repositories Provides list of objects that would benefit most from being populated into IM column store

Program Agenda Configuring the In-Memory Column Store Populating the In-Memory Column Store Querying the In-Memory Column Store Managing the In-Memory Column Store on RAC Monitoring the In-Memory Column Store 24

Oracle In-Memory Column Store Storage Index Example: Find sales from stores with a store_id of 8 or higher Memory Min 1 Max 3 Min 4 Max 7 Each column is the made up of multiple column units Min / max value is recorded for each column unit in a storage index SALES Column Format Min 8 Max 12 Min 13 Max 15 Storage index provides partition pruning like performance for ALL queries 25

Identifying : INMEMORY Table Scan Optimizer fully aware Cost model adapted to consider INMEMORY scan New access method TABLE ACCESS IN MEMORY FULL Can be disabled via new parameter INMEMORY_QUERY

DateKey Amount Date DateKey Joining and Combining Data Also Dramatically Faster Example: Find all orders placed on Christmas eve DATE_DIM Datekey is 24122013 LINEORDER Converts joins of data in multiple tables into fast column scans Joins tables 10x faster Type=d.d_date='December 24, 2013' Sum 29

Identifying : INMEMORY Joins Bloom filters enable joins to be converted into fast column scans Tried and true technology originally released in 10g Same technique used to offload joins on Exadata

Program Agenda Configuring the In-Memory Column Store Populating the In-Memory Column Store Querying the In-Memory Column Store Managing the In-Memory Column Store on RAC Monitoring the In-Memory Column Store 47

Scale-Out In-Memory Database to Any Size Scale-Out across servers to grow memory and CPUs In-Memory queries parallelized across servers to access local column data Scale-out policy is a segment level (table, partition, sub partition) property 48

Scale-Out In-Memory Database to Any Size ALTER TABLE sales INMEMORY DISTRIBUTE BY PARTITION; ALTER TABLE COSTS INMEMORY DISTRIBUTE AUTO; Policy is user-specifiable Controlled by DISTRIBUTE subclause Distribute by rowid range Distribute by partition Distribute AUTO 49

In-Memory Speed + Capacity of Low Cost Disk DRAM PCI FLASH DISK Hottest Data Active Data Cold Data Size not limited by memory Data transparently accessed across tiers Each tier has specialized algorithms & compression Speed of DRAM I/Os of Flash Cost of Disk

In-Memory & Partitioning For Seamless Scale Out Oracle smart enough to access data across tiers in the most efficient way 51

Oracle Database In-Memory: Unique Fault Tolerance Only Available on Engineered Systems Similar to storage mirroring Duplicate in-memory columns on another node Enabled per table/partition Application transparent Downtime eliminated by using duplicate after failure 52

Program Agenda Configuring the In-Memory Column Store Populating the In-Memory Column Store Querying the In-Memory Column Store Managing the In-Memory Column Store on RAC Monitoring the In-Memory Column Store 59

New In-Memory Central Screen in EM New In-Memory Central Screen in EM Object map integrated with 12c heatmap feature In-Memory Area (GB) :4.00 In-Memory Area Used (GB) :1.79

New In-Memory Central Screen in EM

New In-Memory Central Screen in EM

In-Memory Query in SQL Monitor

Summary: Oracle Database In-Memory Powering the Real-Time Enterprise DATA- DRIVEN AGILE Extreme Performance: Analytics & OLTP Extreme Scale-Out & Scale-Up Extreme Availability Extreme Simplicity EFFICIENT 73

75