Professional Documents
Culture Documents
Oracle Database 11g For Data Warehousing
Oracle Database 11g For Data Warehousing
Database: Database:
Benefits:
• Integrated stack
• Continued best-of-breed
• Top-to-bottom
performance optimization
Oracle Data Warehouse Platform
Analytics
Multi-
Dimensional Time Series Statistics Data Mining
Calculations
Workload Management
Metadata Management
Intelligent Query Processing
Materialized Bitmap Partition Star Query
Views Indexes Elimination Optimization
Security
Scalable Data Management
Automatic
Parallel
Partitioning RAC Storage Compression
Execution
Mgmt
Data Integration
Oracle8i
Partitioning
Oracle9i
Hash and Composite
Resource Manager
Oracle10g
Progress Monitor
AdaptiveParallel Query
Server-based Table Compression
Analytic
Functions Bitmap Join Index
Oracle11g
List and Range-List Partitioning
Materialized
Self-Tuning
Views Self-tuning
Runtime SQL Optimization
Memory
Transportable
NewTablespaces
Analytic
SQL Access Advisor
Functions New composite partitionings
Direct Loader
API
Grouping Sets
Automatic Storage Manager
Functional Indexes Virtual column partitioning
External
Partition-wise Joins Tables
Self-tuning Memory
REF partitioning
MERGE Change Data Capture
Security Enhancements
SQL Models Cube-based Materialized Views
Multi-TableInsert
Proactive Query
SQLGoverning SQL Pivot and Unpivot
Frequent Itemsets
System Managed Undo Query
SQL Partition Outer JoinsResult Cache
Statistical functions
SQL Plan Management
and much more ...General Linear Models
Advanced Compression Option
OWB included with DB
Continuous R+D Investment in VLDW
Continuous Customer Success in VLDW
• Over the past 12+ years, Oracle has steadily introduced major
architectural advances for large database support
• Data warehouses have grown exponentially with these new
technologies
Application-specific performance
structures
Summary data / materialized views
Dimensional view of data
Supports specific end-users, tools, and
applications
Data Mart Layer
Base data warehouse schema
Atomic-level data, 3nf design
Atomic Data Layer Supports general end-user queries
Data feeds to all dependent systems
Half-Solutions are not the answer
ERS A
OR
D US
O PE
• REGION requires no storage EU
R
• Partition by ORDER_DATE, REGION
B
FE
N
JA
Partitioning in Oracle Database 11g
Complete Composite Partitioning
• Range – range
• List – list
• List – hash
• List – range
R S E RS 00 R S
DE 000 RD >50 DE Go
ld
OR >5 O OR
0- 0- ve r
100 00 100 00 Si l
50 50
O PE PE
FE
B R RO
EU EU
A A
J AN US US
RANGE-RANGE LIST-RANGE LIST-LIST
Order Date by Region by Region by
Order Value Order Value Customer Type
Advanced Compression
Up To
4X
Compression
Database Result Cache
• Automatically Caches results of queries, query blocks, or
pl/sql function calls
• Cache is shared across statements and sessions on server
• Significant speed up for read-only / read-mostly data
• Full consistency and proper semantics
• Cache refreshed when any underlying table updated
join Q2:
Q1 Uses
result is result
cached
transparently
join cache
Group-by
Q1 is executed
Table1 Group-by join
76 75 75
No cache
Cache
• Materialized Views
• Transparent rewrites of expensive queries
• Including rewrites on remote objects
• Incremental automatic refresh
• Bitmap Indexes
• Optimal storage
• Ideal for star or star look-a-like schemas
• SQL Access Advisor – based on workload
• Materialized view advice
• Index advice
• Partition advice
Integrated Analytics
OLAP Statistics
SALESREP QU REVENUE
---------- -- ----------
100 Q1 230
100 Q2 240
SALESREP Q1 Q2 Q3 Q4 100 Q3 260
---------- ----- ----- ----- ----- 100 Q4 300
100 230 240 260 300 101 Q1 200
101 200 220 250 260 101 Q2 220
102 260 280 265 310 101 Q3 250
101 Q4 260
102 Q1 260
102 Q2 280
102 Q3 265
102 Q4 310
Native Support for Pivot and Unpivot
SALESREP QU REVENUE
---------- -- ----------
QUARTERLY_SALES 100 Q1 230
100 Q2 240
SALESREP Q1 Q2 Q3 Q4 100 Q3 260
---------- ----- ----- ----- ----- 100 Q4 300
100 230 240 260 300 101 Q1 200
101 200 220 250 260 101 Q2 220
102 260 280 265 310 101 Q3 250
101 Q4 260
102 Q1 260
102 Q2 280
102 Q3 265
102 Q4 310
SALESREP QU REVENUE
---------- -- ----------
100 Q1 230
100 Q2 240
SALESREP 'Q1' 'Q2' 'Q3' 'Q4' 100 Q3 160
---------- ----- ----- ----- ----- 100 Q4 90
100 230 240 260 300 100 Q3 100
101 200 220 250 260 100 Q4 140
102 260 280 265 310 100 Q4 70
101 Q1 200
101 Q2 220
101 Q3 250
101 Q4 260
102 Q1 260
Query
Rewrite
Sales Sales
by Product by Channel
Sales
Product Channel
Relational
Star Schema
New in Oracle Database 11g
Cube-Organized Materialized Views
Query
Rewrite
Product Channel
Automatic OLAP Cube
Refresh
Oracle Warehouse Builder
Packaging
Self Managing Database
Auto-Tuning
Advisory
Instrumentation Apps/SQL
Replication
Storage
Memory
Recovery
Backup
RAC
Schema
“Powerlifting” Strategy
Parallel Execution
select c.cust_last_name
, sum(s.amount_sold)
from customers c, sales s
where c.cust_id = s.cust_id
group by c.cust_last_name ;
Data on Disk Parallel Servers Coordinator
Here?
HBA2
HBA1
HBA1
HBA2
HBA1
HBA2
HBA2
HBA1
Here?
Here?
Here?
Disk Disk Disk Disk Disk Disk Disk Disk
Array 1 Array 2 Array 3 Array 4 Array 5 Array 6 Array 7 Array 8
Only Balanced Configurations Drive
Optimized Performance
An Unbalanced Configuration
A Balanced Configuration
100% 100%
Possible Database CPUs Memory Actuators LUNs Disks Raid Achieved
Efficiency Efficiency
Full Range of Options
Complete Flexibility
Building Block Scale-Out
Two building
blocks
Orion I/O Throughput
Three building
blocks
Four building
blocks
Provide linear hardware scalability
Reduce Risk & Accelerate Deployment
Testing and
Validation
Time to implement
Faster Deployment
Installation and Lower Risk
Configuration Testing and Increased Flexibility
Validation
Acquisition of
Components
Weeks…..
Installation and
Configuration
Pre-Implementation
System Sizing Acquisition of Oracle
Components Optimized
Warehouse
< 1 Week to
implement
Oracle Optimized Warehouse Availability
Source: IDC, 2007 – Data Warehouse Platform Tools 2006 Vendor Shares
Q&A