SlideShare a Scribd company logo
Oracle Exadata
Alexandru Tică
DBA Lounge, Iași, April 2016
What is Exadata?
“A wonderful blend of
hardware and software”.
Jonathan Lewis
How does it look like? (part 1)
How does it look like? (part 2)
Source: http://oraclefromguatemala.blogspot.ro/2013/04/los­sabores­y­colores­de­oracle­exadata.html
S
S S
S
DB DB DB
DB
X2­8 Full 
Rack
How does it look like? (part 3)
The Exadata rack, available at SCC.
Oracle 11.2
3 cell/storage servers
2 DB servers
Eth + IB switches 
+ KVM
Just a quarter RAC!
Exadata timeline (1)
2008
V1
Exa what? WTF is this?
Exadata timeline (2)
2008
V1
2009
V2
OLTP and DW?
Interesting!
2008
V1
2009
V2
2010
X2
Exadata timeline (3)
Bravo!
2008
V1
2009
V2
2010
X2
2012
X3
Exadata timeline (4)
2013
X4
2008
V1
2009
V2
2010
X2
2012
X3
Exadata timeline (5)
Consolidation, DbaaS, cloud…
What’s the difference?
2013
X4
2015
X5
2008
V1
2009
V2
2010
X2
2012
X3
Exadata timeline (6)
Wasn’t supposed
to be good at
everything?
Money, money, money...
Source: 
http://www.oracle.com/us/products/database/exadata­vs­
ibm­1870172.pdf
Source: http://dbareactions.com/post/51674494263/when­we­
went­shopping­for­oracle­licensing
Spot the differences
VS
What’s Wrong on Non-Exadata?
HDD
SAN
NAS
ORACLE Instance IO Sub­system
IO traffic
Optimization?
1. Bigger pipe
2. Less IO traffic
Exadata Architecture – The Big Picture
Cell Server 1 Cell Server 2 Cell Server 3
DB Server1 DB Server2
iDB / RDS
Oracle Linux
Oracle 11.2
ASM
Oracle Linux
cellsrv
DB side
Storage side
Exadata Magic
Smart Scan HCC
Smart Flash Cache
IO Resource Manger
DEMO 1 - Magic Switch: ON/OFF
640mil rows
Magic OFF
Magic ON
select count(*) from vanzari
where valoare < 100;
cell_offload_processing
~10x
faster
Smart Scan Magic
DB Node
Cell Node 1 Cell Node 2 Cell Node 3
select sum(valoare)
from vanzari where
tara = ‘RO’;
ASM
IDB protocol
Get blocks from
VANZARI
Info about the
query.
Direct path read?
Column projection
Predicate filtering
Storage indexes
Filtereddata
Column Projection
● Instead of returning whole Oracle blocks, the storage layer
will pump in just the needed column values.
● The IO traffic is reduced.
● For JOINs, besides columns from the SELECT list, the ones
from the join are also transferred.
YES, “SELECT *” when just some columns are 
needed isn’t a good idea on Exadata too! 
DEMO: Column projection
Predicate Filtering
● Instead of pushing full Oracle blocks from the storage to the
Oracle instance, only those records matching the predicate
will be pumped in to the wire.
● The IO traffic is reduced (the filtering is done on the storage
side)
● Does work for joins too using bloom filters, but on the storge
servers.
Storage Indexes Explained
VANZARI
table
1MB 1MB
1MB1MB1MB1MB1MB1MB 1MB
1MB1MB1MB1MB1MB
1MB 1MB 1MB1MB1MB1MB1MB
min max min max
Storage 1
Storage 2
Storage 3
select count(*)
from vanzari where
vanzari <= 1000;
Perfect for:
=, <, >, BETWEEN,
<=, >=, IN,
IS NULL, IS NOT NULL
DEMO: Storage Indexes
Do You Want to Drop all DB Indexes?
Think twice!
● There are many scenarios where SI can’t be used (e.g.
get the MIN or MAX for a column)
● SI is a transient in-memory structure. Restart a storage
server and you lost all storage indexes on that server
● The decision to create a SI is fully automated and it
depends on the workload.
● A SI can’t be used to enforce a PK constraint
● SI are limited to only 8 columns/table
● No integration between SI and CBO
● There’s no such thing as functional SI.
● A SI can’t be used for FK columns to avoid locking
issues
Smart Flash Scan
4 cards x 4 disks x
24GB = 384GB on
every storage cell
Controlling the SFC
CELL_FLASH_CACHE
NONE
DEFAULT
KEEP
on segment level
DB Developer
Friendly Side
DBA 
Admin
Ugly Side
cellcli
on storage level
CREATE 
FLASHCACHE
ALTER CELL 
DROP 
FLASHCACHE
DEMO: Smart Flash Cache
HCC: Hybrid Columnar Compression
Compression
Type
Description Expected
Ratio
QUERY LOW LZA compression algorithm. Low CPU
and low compression.
4x
QUERY HIGH ZLIB (gzip) compression. 6x
ARCHIVE LOW ZLIB (gzip) but with a higher
compression level.
7x
ARCHIVE HIGH BZIP2 compression. CPU intensive,
high compression rate.
12x
HCC Pitfalls
● Only tables can be compressed. Indexes are not included.
● Exadata inter-operability only. Pay attention when restoring
HCC data on a non-exadata machine..
● Not good for OLTP.
● May consume a lot of CPU (for compression, but for de-
compression too).
● It’s not a true columnar model, so wasn’t really designed
having the performance idea in mind
HCC Demo
IO Resource Manager
● Tight integration with Database Resource Manager
● Provides IO prioritization
● Can be enforced across different databases hosted on the
same Exadata machine
● A very important component for consolidated/shared
architectures
● In old versions of Exadata, only physical disks were
managed by IORM. Flash disks were not handled by IORM.
However, this is not true starting with 11.2.3.3.0.
● Workload optimization: low_latency, high_throughput,
balanced, auto
IORM Architecture
IORM Demo
● Smart file creation
● Improved RMAN Incremental Backups
● Improved RMAN restores
● Flash cache compression (from 11.2.3.3.0)
● Automatic HDD scrubbing and repair
Other Exadata Goodies
Things I don’t Like
● The Exadata official documentation was not public
accessible. It’s fixed now via a patch: Patch 10386736:
Storage Application for the Grid Environment 11.2.3.2.0 for
Linux x86-64 - DOCUMENTATION FOR EXADATA 11.2
● It’s a closed engineered product. However, according to Kevin
Closson, Exadata was originally intended to be an open
hardware stack.
● The lack of good integration of CBO with Exadata storage
(Bug 10248538: OPTIMIZER COST MODEL NOT EXADATA-
AWARE)
● Big room for performance instability (storage indexes, flash
cache, direct path read etc.)
● The huge price
Q & A

More Related Content

PDF
My First 100 days with an Exadata (PPT)
PPT
Exadata architecture and internals presentation
PDF
Exadata_X10M-Hardware-Overview.pdf
PDF
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
PPTX
Zero to Snowflake Presentation
PDF
Exadata master series_asm_2020
PDF
Migration to Oracle Multitenant
PDF
Understanding oracle rac internals part 1 - slides
My First 100 days with an Exadata (PPT)
Exadata architecture and internals presentation
Exadata_X10M-Hardware-Overview.pdf
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Zero to Snowflake Presentation
Exadata master series_asm_2020
Migration to Oracle Multitenant
Understanding oracle rac internals part 1 - slides

What's hot (20)

PDF
Oracle Performance Tuning Fundamentals
PPTX
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
PPTX
Snowflake Datawarehouse Architecturing
PPTX
Intro to Exadata
PDF
Presentation implementing oracle asm successfully
PDF
How to Use EXAchk Effectively to Manage Exadata Environments
PDF
Enabling a Data Mesh Architecture with Data Virtualization
PPTX
Oracle Database Performance Tuning Basics
PDF
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
PDF
Understanding oracle rac internals part 2 - slides
PDF
MAA Best Practices for Oracle Database 19c
PDF
Best Practices for Oracle Exadata and the Oracle Optimizer
PPT
Dataguard presentation
PDF
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
PDF
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
PPTX
Data Observability Best Pracices
PDF
Standard Edition High Availability (SEHA) - The Why, What & How
PPTX
Oracle RAC features on Exadata
PPTX
AWR and ASH Deep Dive
DOC
Analyzing awr report
Oracle Performance Tuning Fundamentals
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Snowflake Datawarehouse Architecturing
Intro to Exadata
Presentation implementing oracle asm successfully
How to Use EXAchk Effectively to Manage Exadata Environments
Enabling a Data Mesh Architecture with Data Virtualization
Oracle Database Performance Tuning Basics
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Understanding oracle rac internals part 2 - slides
MAA Best Practices for Oracle Database 19c
Best Practices for Oracle Exadata and the Oracle Optimizer
Dataguard presentation
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
Data Observability Best Pracices
Standard Edition High Availability (SEHA) - The Why, What & How
Oracle RAC features on Exadata
AWR and ASH Deep Dive
Analyzing awr report
Ad

Similar to Exadata (20)

PPTX
Oracle Exadata X2-8: A Critical Review
PDF
My First 100 days with an Exadata (WP)
PPTX
Super scaling singleton inserts
PPTX
Storage 101 for VMware admins 2015
PPTX
Barcamp presentation
PPTX
7 Reasons Not to Put an External Cache in Front of Your Database.pptx
PPTX
Replacing Your Cache with ScyllaDB
PPTX
Sql server engine cpu cache as the new ram
PDF
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
PDF
Oracle database maximum performance on Exadata
PPTX
Storage and performance- Batch processing, Whiptail
PDF
Replacing Your Cache with ScyllaDB by Felipe Cardeneti Mendes and Tomasz Grabiec
PDF
Ukoug 2011 mysql_arch_for_orcl_dba
PPTX
Scylla Summit 2018: Make Scylla Fast Again! Find out how using Tools, Talent,...
PDF
Meetup Oracle Database MAD_BCN: 4 Saborea Exadata
PPT
Large Scale SQL Considerations for SharePoint Deployments
PPT
Exadata
ODP
The Adventure: BlackRay as a Storage Engine
PPTX
SQLintersection keynote a tale of two teams
PDF
Introduction to Memoria
Oracle Exadata X2-8: A Critical Review
My First 100 days with an Exadata (WP)
Super scaling singleton inserts
Storage 101 for VMware admins 2015
Barcamp presentation
7 Reasons Not to Put an External Cache in Front of Your Database.pptx
Replacing Your Cache with ScyllaDB
Sql server engine cpu cache as the new ram
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
Oracle database maximum performance on Exadata
Storage and performance- Batch processing, Whiptail
Replacing Your Cache with ScyllaDB by Felipe Cardeneti Mendes and Tomasz Grabiec
Ukoug 2011 mysql_arch_for_orcl_dba
Scylla Summit 2018: Make Scylla Fast Again! Find out how using Tools, Talent,...
Meetup Oracle Database MAD_BCN: 4 Saborea Exadata
Large Scale SQL Considerations for SharePoint Deployments
Exadata
The Adventure: BlackRay as a Storage Engine
SQLintersection keynote a tale of two teams
Introduction to Memoria
Ad

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
RMMM.pdf make it easy to upload and study
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Institutional Correction lecture only . . .
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
102 student loan defaulters named and shamed – Is someone you know on the list?
O7-L3 Supply Chain Operations - ICLT Program
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
RMMM.pdf make it easy to upload and study
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Institutional Correction lecture only . . .
VCE English Exam - Section C Student Revision Booklet
2.FourierTransform-ShortQuestionswithAnswers.pdf
Insiders guide to clinical Medicine.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester

Exadata