Exadata Distinctives 988 Bobby Durrett US Foods. What is Exadata? Complete Oracle database platform Disk storage system Unique to Exadata – intelligent.

Slides:



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

Extreme Performance with Oracle Data Warehousing
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.
Exadata Goals Ideal Oracle Database Platform
Exadata for Oracle DBAs Arup Nanda Longtime DBA and now DMA.
Tuning: overview Rewrite SQL (Leccotech)Leccotech Create Index Redefine Main memory structures (SGA in Oracle) Change the Block Size Materialized Views,
Introduction to SQL Tuning Brown Bag Three essential concepts.
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
© Bharati Vidyapeeths Institute of Computer Applications and Management, New Delhi © Bharati Vidyapeeths Institute of Computer Applications and.
Exadata Distinctives Brown Bag New features for tuning Oracle database applications.
OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
Oracle Exadata for SAP.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1.
Living with Exadata Presented by: Shaun Dewberry, OS Administrator, RDC Tom de Jongh van Arkel, Database Administrator, RDC Komaran Hansragh, Data Warehouse.
10 REASONS Why it makes a good option for your DB IN-MEMORY DATABASES Presenter #10: Robert Vitolo.
1. Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
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.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Oracle Financial Services Analytical Applications on Oracle Exadata:
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1 Preview of Oracle Database 12 c In-Memory Option Thomas Kyte
Russ Houberg Senior Technical Architect, MCM KnowledgeLake, Inc.
Oracle BIWA SIG Basics Worldwide association of 2000 professionals interested in Oracle Database-centric business intelligence, data warehousing, and analytical.
The Sun Oracle Database Machine Barry Hodges Senior Solution Architect Oracle New Zealand.
Executing Explain Plans and Explaining Execution Plans Craig Martin 01/20/2011.
Selecting and Implementing An Embedded Database System Presented by Jeff Webb March 2005 Article written by Michael Olson IEEE Software, 2000.
Intel ® Server Configurator Tool Training Guide. Intel® Server Configurator Tool Enhancements New Website look consistent with Intel style for ease of.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Tutorial 11 Installing, Updating, and Configuring Software
M ODULE 2 D ATABASE I NSTALLATION AND C ONFIGURATION Section 1: DBMS Installation 1 ITEC 450 Fall 2012.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 2: Managing Hardware Devices.
Oracle Database Administration Lecture 6 Indexes, Optimizer, Hints.
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
March 19981© Dennis Adams Associates Tuning Oracle: Key Considerations Dennis Adams 25 March 1998.
Business Intelligence Appliance Powerful pay as you grow BI solutions with Engineered Systems.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
Outline Introduction to Oracle Memory Structures SGA, PGA, SCA The Specifics of the System Global Area (SGA) Structures Overview of Program Global Areas.
1 Chapter 13 Parallel SQL. 2 Understanding Parallel SQL Enables a SQL statement to be: – Split into multiple threads – Each thread processed simultaneously.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
1 Chapter 9 Tuning Table Access. 2 Overview Improve performance of access to single table Explain access methods – Full Table Scan – Index – Partition-level.
Query Processing – Implementing Set Operations and Joins Chap. 19.
Database Systems, 8 th Edition SQL Performance Tuning Evaluated from client perspective –Most current relational DBMSs perform automatic query optimization.
Introduction to Exadata X5 and X6 New Features
Oracle RAC - Designing Applications for Scalability Presented by: Christo Kutrovsky.
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
Same Plan Different Performance Mauro Pagano. Consultant/Developer/Analyst Oracle  Enkitec  Accenture DBPerf and SQL Tuning Training Tools (SQLT, SQLd360,
JET INFOSYSTEMS The main approach to Big Data parallel processing: Oracle way Aleksey Struchenko Database Department Leader.
From Disk to Memory It’s 2016 Folks!
Flash Storage 101 Revolutionizing Databases
Sangam-AIOUG 2016 (11th ,12th Nov) Suvendu
OTN Yatra 2016 (23rd ,24th April) Suvendu
Exadata for Oracle DBAs
Database Performance Tuning and Query Optimization
Introduction of Week 3 Assignment Discussion
Blazing-Fast Performance:
Oracle Storage Performance Studies
Steve Hood SimpleSQLServer.com
Chapter 4 Indexes.
CH 4 Indexes.
CH 4 Indexes.
Four Rules For Columnstore Query Performance
Chapter 11 Database Performance Tuning and Query Optimization
Hybrid Buffer Pool The Good, the Bad and the Ugly
Presentation transcript:

Exadata Distinctives 988 Bobby Durrett US Foods

What is Exadata? Complete Oracle database platform Disk storage system Unique to Exadata – intelligent disk storage CPU, memory, network hardware Operating system Database software Fully installed and configured

V2 Cell Storage servers Intel-based Linux servers with disk drives 14 cell servers per rack 7 on top, 7 on bottom 12 disks per server 3 Infiniband network switches 2 in middle 1 on bottom 8 Intel Linux database servers 4 on bottom, 4 on top

What is standard about Exadata? Off the shelf hardware Intel x86 processors Standard Sun disk drives, memory Infiniband network adapters and switches PCIe Flash Cards Linux operating system Oracle Database 11.2 Enterprise Edition

What is unique about Exadata? Storage Servers have Oracle database specific features Smart Scan – returns only needed data Storage Indexes – only accesses needed disk blocks Hybrid Columnar Compression – fits data into fewer disk blocks Exadata Smart Flash Cache IO Resource Manager

Rows, Columns, and Blocks A SQL table is a collection of rows – one row per sale A row is a list of columns – date, product, customer, amount,… A table is broken up into equal sized blocks each with a number of rows = block size/row size = 8000 bytes/80 bytes = 100 rows per block Results of queries are a subset of the columns and a subset of the rows of a table

Query select sale_date, product_name, customer_name, amount from sales, products, customers where sales.product_number=products.product_number and sales.customer_number=customers.customer_number and sale_date between to_date('01/01/2012','MM/DD/YYYY') and to_date('01/31/2012','MM/DD/YYYY') and product_type = 'Cheese' and customer_state = 'FL';

Plan | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | | 0 | SELECT STATEMENT | | | | 10 (100)| | |* 1 | HASH JOIN | | 4 | 232 | 10 (10)| 00:00:01 | |* 2 | HASH JOIN | | 4 | 136 | 7 (15)| 00:00:01 | |* 3 | TABLE ACCESS STORAGE FULL| PRODUCTS | 2 | 34 | 3 (0)| 00:00:01 | |* 4 | TABLE ACCESS STORAGE FULL| SALES | 4 | 68 | 3 (0)| 00:00:01 | |* 5 | TABLE ACCESS STORAGE FULL | CUSTOMERS | 2 | 48 | 3 (0)| 00:00:01 |

Predicates Predicate Information (identified by operation id): access("SALES"."CUSTOMER_NUMBER"="CUSTOMERS"."CUSTOMER_NUMBER") 2 - access("SALES"."PRODUCT_NUMBER"="PRODUCTS"."PRODUCT_NUMBER") 3 - storage("PRODUCT_TYPE"='Cheese') filter("PRODUCT_TYPE"='Cheese') 4 - storage(("SALE_DATE">=TO_DATE(' :00:00', 'syyyy-mm-dd hh24:mi:ss') AND "SALE_DATE"<=TO_DATE(' :00:00', 'syyyy-mm-dd hh24:mi:ss'))) filter(("SALE_DATE">=TO_DATE(' :00:00', 'syyyy-mm-dd hh24:mi:ss') AND "SALE_DATE"<=TO_DATE(' :00:00', 'syyyy-mm-dd hh24:mi:ss'))) 5 - storage("CUSTOMER_STATE"='FL') filter("CUSTOMER_STATE"='FL')

Columns Column Projection Information (identified by operation id): (#keys=1) "PRODUCT_NAME"[VARCHAR2,12], "SALE_DATE"[DATE,7], "AMOUNT"[NUMBER,22], "CUSTOMER_NAME"[VARCHAR2,17] 2 - (#keys=1) "PRODUCT_NAME"[VARCHAR2,12], "SALE_DATE"[DATE,7], "AMOUNT"[NUMBER,22], "SALES"."CUSTOMER_NUMBER"[NUMBER,22] 3 - "PRODUCTS"."PRODUCT_NUMBER"[NUMBER,22], "PRODUCT_NAME"[VARCHAR2,12] 4 - "SALE_DATE"[DATE,7], "SALES"."PRODUCT_NUMBER"[NUMBER,22], "SALES"."CUSTOMER_NUMBER"[NUMBER,22], "AMOUNT"[NUMBER,22] 5 - "CUSTOMERS"."CUSTOMER_NUMBER"[NUMBER,22], "CUSTOMER_NAME"[VARCHAR2,17]

SGA and PGA

Direct Path

Comparison of three db server types Compare three types of database servers to demonstrate features unique to Exadata DB server with directly attached disk drives DB server attached to a Storage Area Network (SAN) Exadata With Smart Scan Without Smart Scan

Observations about the three server types DB server with disks looks like Exadata Cell server Indexes Compression memory cache – bypassed at times returns small subset of full data DB server with SAN looks like full Exadata system Storage server High speed network Database servers

More observations about the three server types DB server with SAN differs from full Exadata system Full database blocks copied over SAN network Results only copied over Exadata network Database server caches blocks from SAN Database server does not cache results from cell server Exadata Smart Scan can be turned off Without Smart Scan Exadata works just like DB server with SAN

How to Use Exadata Smart Scan Queries that would run a FULL table scan on a normal database server will run a Smart Scan on Exadata. Normal query tuning involves deciding between FULL and INDEX scans. Use same methods that encourage FULL scans on normal databases to cause Smart Scans on Exadata.

Moving an existing application to Exadata Try these to encourage Smart Scans: ALTER INDEX … INVISIBLE; OPTIMIZER_INDEX_COST_ADJ = (> 100) FULL hint Use this parameter to temporarily disable Smart Scans: CELL_OFFLOAD_PROCESSING=FALSE All of these options can be tested without changing the application

Why use Exadata? New set of performance enhancing features All other Oracle features still available Easy to use new features Reuse existing SQL tuning skills – FULL or INDEX scans

Other Considerations Hierarchy of storage performance Normal RAM – 1000x faster than disk – 10ns Flash Cache – 10x faster than disk – 1 ms Disk – 10 ms Storage Indexes are Automatic You don’t have to do anything to use them Not easy to figure out when they will be used

Other Considerations Decrease SGA, increase PGA Reduce sga_max_size, sga_target Increase pga_aggregate_target OR Set workarea_size_policy = MANUAL Set hash_area_size = 1 gig (large)

Other Considerations Databases tuned for Exadata may not perform well if cloned to normal database server Tables compressed with HCC on Exadata will need to be uncompressed unless you have a tool such as ZFS storage Queries that normally run Smart Scans will run FULL scans Poor performance of TEMP space reallocation If you have an environment with queries that use a large amount of temp space and can run on any RAC node you may get poor performance as space is moved from one node’s sort segment to that of another node Newer X3-8 may address this – 2 node RAC

Other Considerations HCC and tables > 255 columns We hit several bugs related to tables with > 255 columns Newest release resolves most of these Newness issues Getting more stable with latest releases Blogs, books, documentation, training improving More people becoming skilled in Exadata

Training Recommendations RAC class/book/experience Exadata class from Oracle

Questions?