Documente Academic
Documente Profesional
Documente Cultură
BROUGHT TO YOU BY
ONYX TRAINING
WWW.ONYXTRAINING.COM
FEATURING
BRENT HAMES
SIGNO INC.
WWW.SIGNOINC.NET
Welcome
Introduction
Agenda
Presentation
ONYX Training
14 years of Learning Services
Public and onsite training
ORACLE &
RDBMS
WEB
APPLICATIONS
DEVELOPMENT
Class room
Remote
Web
Mentoring
DATA
WAREHOUSE &
BUSINESS
INTELLIGENCE
MAINFRAME
Agenda
Motivation
Historical Performance Tuning
Current Performance Tuning
A Solution
Examples
Bottom Shelf
Q/A
Motivation
Concentrate on areas of improvement you can:
Easily control / influence
Quickly implement
Obtain largest ROI
Easy to POC
Solution
Requirements
Simple to implement
Benefit to all architecture tiers
Low cost
High Reward
Predictable
...
Aggregates!
Aggregate Example
Day Level
Month Level
Aggregates
Implementation
Process Flow
poorest performance
Using Materialized
Views can substantially
reduce development
time
common
Disk
Aggregates
Costs / Considerations
Development time
Ownership
Synchronization
Tuning
Batch load time
Nothing is free..but
the benefits of
aggregates typically
make it an easy
decision
and loaded
Base understanding of OBI
Metadata (hierarchies)
Report Development
Diagnostics
Example 1:
Eliminate Time
Example 1:
Eliminate Time
FACTS
Before
4.8M Row Fact Table
60,000 Physical Reads
5 Sec Query Response
After
295K Row Fact Table
3681 Physical Reads
1 Sec Query Response
Example 1:
Eliminate Time
OBI
Implementation
Physical Layer
Leverage copy/duplicate
functionality to save
development time
Example 1:
Eliminate Time
OBI
Implementation
Physical Layer
Example 1:
Eliminate Time
OBI
Implementation
Business Layer
Mapappropriate
Set
Drag
appropriate
physical table
logical
columns.
into
levels for
business
Leave
columns
layer
table logical
source.
blank that
source be satisfied by
cannot
aggregate.
Example 1:
Eliminate Time
OBI
Implementation
Results
intervals:
Current Month
Year ago Month
Rolling 12 Months
All Time
Example 2:
Monthly Rollup
A monthly aggregate
seemed like a good first
start given that all
intervals could benefit.
Example 2:
Monthly Rollup
FACTS
Before
805 Physical Reads
42Mb Transferred
5 Sec Elapsed Time
After
105 Physical Reads
7.6Mb Transferred
2 Sec Elapsed Time
Example 2:
Monthly Rollup
OBI
Implementation
Implementation
Physical Layer
Physical
Layer
Each
leveldata
of time
represent
at a finer
aggregation
requires
a
grain than the
aggregate
time
dimension
at the
(i.e. no
daily or weekly
same
level
columns
in month time
dim)
Example 2:
Monthly Rollup
OBI
Implementation
Physical Layer
Example 2:
Monthly Rollup
OBI
Implementation
Physical Layer
Example 2:
Monthly Rollup
OBI
Implementation
Business Layer
Mapappropriate
Set
Drag
appropriate
physical table
logical
columns.
into
levels for
business
Leave
columns
layer
table logical
source.
blank that
source be satisfied by
cannot
aggregate.
Example 2:
Monthly Rollup
OBI
Implementation
Business Layer
Mapappropriate
Set
Drag
appropriate
physical table
logical
columns.
into
levels for
business
Leave
columns
layer
table logical
source.
blank that
source be satisfied by
cannot
aggregate.
Example 2:
Monthly Rollup
OBI
Implementation
Results
Example 3: Subset
A report compares individual centers against a
Example 3:
Subset
Example 3:
Subset
FACTS
Before
1M Row Fact Table
4116 Physical Reads
6 Sec Query Response
After
368K Row Fact Table
2561 Physical Reads
3 Sec Query Response
Example 3:
Subset
OBI
Implementation
Physical Layer
Example 3:
Subset
OBI
Implementation
Physical Layer
Example 3:
Subset
OBI
Implementation
Business Layer
Set appropriate
Map
Drag
appropriate
physical table
logical
columns.
into
Leave for
business
levels
columns
layer
table logical
source.
blank that
cannot be satisfied by
source
aggregate.
Example 3:
Subset
OBI
Implementation
Results
Bottom Shelf
Query Rewrite off (db)
Star Transformation on (db)
Local Disk for work and temp space (obi)
Disable logical table sources (obi)
Delete Unnecessary rows from all tables (db)
Support Derived Tables off (obi)