Professional Documents
Culture Documents
Agenda
Oracle Exadata Database Machine
Oracle Reference Architecture
Oracle Staging Area Practices for Data Loading
Oracle Foundation Layer 3NF Data Model
All Tiers
Warehousing
Disk
OLTP
Flash
DB Consolidation
Memory
DB Consolidation
Tier Unification
Lower Costs
Increase Utilization
Reduce Management
Cost of Disk
IOs of Flash
Speed of DRAM
Exadata Innovations
Exadata Storage Server Software
Intelligent Storage
Data
remains
compressed
for scans
and in Flash
primary
Benefits
Multiply
backup
test
standby
devt
Compressed
3. Create indexes
4. Gather Statistics
Tmp_ sales
Table
Sales Table
Sales Table
May 18th
2008
May 18th
2008
May 19th
2008
May 19th
2008
May 20th
2008
May 20th
2008
May 21st
2008
May 21st
2008
May 22nd
2008
May 22nd
2008
May 23rd
2008
May 23rd
2008
May 24th
2008
May 24th
2008
Database Grid
8 Dual-processor x64
database servers
14 High-performance low-cost
storage servers
OR
2 Eight-processor x64
database servers
InfiniBand Network
Partitioning
Range partition large fact tables typically on date column
Consider data loading frequency
Is an incremental load required?
How much data is involved, a day, a week, a month?
Partition pruning for queries
What range of data do the queries touch - a quarter, a year?
Partition Pruning
Sales Table
Select sum(sales_amount)
From SALES
to_date(05/20/2008,MM/DD/YYYY)
And
to_date(05/23/2008,MM/DD/YYYY);
Only the 3
relevant
partitions are
accessed
Customer
WHERE
s.cust_id=c.cust_id;
Hash
Partitioned
Part 1
Sub part 1
Part 1
Sub part 2
Part 2
Sub part 2
Part 2
Sub part 3
Part 3
Sub part 3
Part 3
Sub part 4
Part 4
Sub part 4
Part 4
Select sum(sales)
where salesdate=
22-Jan-2010
Sum
Index
1
3
Min B = 1
Max B =5
5
5
8
Select * from Table where B<2 Only first set of rows can match
Min B = 3
Max B =8
3
Maintain summary information about table data in memory
Benefits Multiply
Converting Terabytes to Gigabytes
10 TB of User Data
1 TB of User Data
10 TB of User Data
20 GB of User Data
5 GB of User Data
No Indexes
10 TB
of User
Data
With
Storage
Indexes
IM Reference Architecture
Access & Performance Layer
The second phase joins this row set to the dimension tables
The join back to the dimension tables done using a hash join
s.prod_id = p.prod_id
And
s.time_id = t.time_id
And
And
c.cust_city = BOSTON
p.product = UMBRELLA
And
t.month
= MAY
And
t.year
= 2008;
Select SUM(quanity_sold)
From Sales s
Where s.cust_id IN
(Select c.cust_id From Customers c Where c.cust_city = BOSTON)
And
s.prod_id IN
s.time_id IN
(Select t.time_id From Times t Where t.month =MAY And t.year =2008);
Summary Management
Improve Response Time with Materialized Views
Region
SQL Query
Date
Query
Rewrite
Products
Relational Star
Schema
Sales by
Region
Sales by
Date
Sales by
Product
Sales by
Channel
Channel
Materialized Views
SQL Query
Summaries
Date
Query Rewrite
Automatic
Refresh
Products
Channel
Custom Solutions
Key Implementation Tasks
Assemble Hardware
Install Specialized
Software
Design Data
Model
Requirements
Collection
ERD Specification
Assemble &
Configure
System
ETL
Define tables, views,
cubes, analytics
Implement indexes,
partitions
Implement
Data Model
Ensure system is
balanced
Modify performance
structures (MVs,
indexes, etc.)
Define Metrics
& Reports
Create BI metadata
Implement reports and
dashboards
Optimize
Performance
Challenges
Design a data model that satisfies existing and future requirements
Employ a diverse skill set
Integrate, implement, administer and tune disparate technologies
DW Reference Architecture
Industry Data Model Fit
OIDM
Oracle Industry
Data Model
Sample OBIEE
Metadata & Reports
Information
Access
Derived
Aggregate
TRANSFORMATION
Analytic
Layer
Foundation
Layer
ASSEMBLED
DESIGNED
IMPLEMENTED
ACCELERATED
FAST
READY
Exadata
Oracle Best
Practice DW
Methodology
Exadata
Reporting &
Analysis
Time to Implement
Optimize Performance
3x Faster
8x More
Complete
ETL
Implement Model
Optimize Performance
Design Model
ETL
Implement Model
Design Model
Sizing and Configuration
Custom Warehouse
Summary
Engineered System for Data Warehousing
Oracle Exadata Database Machine
Oracle.com - www.oracle.com/exadata
Follow on Best Practice Exadata Webcast Series Best Practices for Workload Management of a Data
Warehouse on Oracle Exadata , April 19th, 2012
http://www.oracle.com/us/dm/sev100056475-wwmk11051130mpp016-1545274.html