database 11g olap option overview - long.ppt
TRANSCRIPT
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
1/37
1
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
2/37
Enhancing the Performance and Analytic Content
of the Data Warehouse Using Oracle OLAP Otion
!ud Endress" Director of Product #anagement $ OLAP
%etem&er '" ())*
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
3/37
3
The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not berelied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
4/37
OLAP in the Data Warehouse
!se Oracle O"#$ to enhance your data warehouse
% &implified summary management
% '&peed of thought’ (uery performance
% #dvanced time series analysis and analytic content
% )entrali*ed management of data, meta data, calculations and
security
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
5/37
+
very data warehouse can benefit from Oracle O"#$
% very business intelligence tool accesses summary data
% very business user wants e-cellent (uery performance in both
static and e-ploratory I applications
% very business user will benefit from rich analytic content
OLAP in the Data Warehouse
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
6/37
/
mbedded Oracle O"#$ is preferred by IT to e-ternalsolutions
% !se the database you already own
% !se the I tools they already own
% !se Oracle skills you already have
% mbedded Oracle O"#$ is secure and enterprise ready
OLAP in the Data Warehouse
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
7/370
OLAP in the Data Warehouse
% #sk yourself the following (uestions
% o you use business intelligence tools2
% Oracle I , usiness Obects, )ognos,
4icro&trategy, etc.2
% 5ould business users benefit from% &ignificantly improved (uery performance2
% 6ich analytic content2
% 5ould IT benefit from
% 7ast, efficient updates of data sets2% 7ewer servers to manage2
% )onsolidating stand alone O"#$ servers into the
database2
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
8/378
% # summary management solution for &9"
based business intelligence applications
% #n alternative to table:based materiali*ed
views, offering improved (uery performance
and fast, incremental update
% # full featured multidimensional O"#$server
% -cellent (uery performance for ad:hoc ;
unpredictable (uery
% nhances the analytic content of usiness
intelligence application% 7ast, incremental updates of data sets
Oracle OLAP Otion
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
9/37<
OLAP Otion
% #n embedded O"#$ solution
% 6uns within Oracle atabase
nterprise dition
% ata are stored in Oracle data
files% 4eta data in the Oracle ata
ictionary
% 7ully compatible with 6#) ; =rid
computing
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
10/371>
OLAP Otion
% # secure solution
% Oracle users are O"#$ users
% &9" =6#?T ; 6@OA on
O"#$ cubes and dimensions
% )ompatible with @irtual $rivate
atabase
% 7ine =rained )ube &ecurity
Oracle Authentication
%+L Cu&e Access Control
,irtual Pri-ate Data&ase
.ine /rained Cu&e %ecurity
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
11/37
11
OLAP Otion
% #n open solution
% Oracle cubes and dimensions
are (ueried using
% &9"
% $" ; &9"
% Oracle O"#$ #$I
% Transparent access as cube:
organi*ed materiali*ed view
% &9"
SELECT
time, product, customer, sales_ytd FROM sales_cube
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
12/37
1B
OLAP Otion
% # content rich solution
% 6ich aggregations
% Time series
% Indices and market shares
% 6ankings% 7orecasting
% #llocations
% &tatistics
% )alculations are embedded
in the database% )entrally managed for consistency
% #ccessible by any application
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
13/37
13
OLAP Otion
Predicta&le 0uery en-ironment% Predefined reorts
% Predefined calculations
% Less e1loration of data
E1loratory 0uery en-ironment
% Users define reorts
% Users access any data
% Users define calculations
% #ore users amlify this effect
% O"#$ cubes are optimi*ed for ad:hoc, e-ploratoryusage patterns
%tatic 2eorting%elf %er-ice 2eorting
and Analysis
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
14/37
1
OLAP Otion
% O"#$ cubes offer e-cellent
performance for unpredictable
(uery patterns
% #ppropriate for both
static and e-ploratory
reporting
% #dvantages increase
as reporting becomes
more e-ploratory
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
15/37
1+
OLAP Otion
% O"#$ )ubes offer fast,
incremental updates of data
sets
% 4anage all summaries in a
single database obect
% 7ast, incremental
materiali*ed view refresh
% Incremental ; fast
aggregation
% )ost:based
aggregation
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
16/37
1/
OLAP Otion
% O"#$ )ubes offer fast,
incremental updates of data
sets
% 4anage all summaries in a
single database obect
% 7ast, incremental
materiali*ed view refresh
% Incremental ; fast
aggregation
% )ost:based
aggregation
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
17/37
10
OLAP Otion
% One cube can be used as
% # summary management solution to &9":based business
intelligence applications as cube:organi*ed materiali*ed
views
% # analytically rich data source to &9":based businessintelligence applications as &9" cube:views
% # full:featured multidimensional cube, servicing dimensionally
oriented business intelligence applications
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
18/37
18
%+L +uery of OLAP Cu&es
!I Alication
CubeMaterialized
Views
SQL
AutomaticQuery
Rewrite
!I Alication
Cube Views
SQL
Oracle Cube
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
19/37
1<
One Cu&e" Dimensional or %+L 3ools%ingle -ersion of the truth
%+L +uery
OLAP +uery
#etadata
Data
!usiness 2ules
E1tract" Load 4 3ransform 5EL36
Centrally managed data" meta data and &usiness rules
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
20/37
B>
Cu&e Organi7ed #ateriali7ed ,ie8s
% Transparently enhance the (uery performance of I
applications
% ata is managed in an Oracle cube
% 7ast (uery
% 7ast refresh
% 4anage a single cube instead of 1>’s, 1>>’s or 1,>>>’s of
table:based materiali*ed views
% #pplications (uery base ; detail relational tables
%Oracle automatically rewrites &9" (ueries to O"#$ cubes
% #ccess to summary data in the cube is fully transparent
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
21/37
%ummary Data9 Collections of #ateriali7ed ,ie8s
#ateriali7ed ,ie8s3yical #, Architecture 3oday
B1
.act 3a&le9 %ales &y Day" Item" Customer and Channel
!I Alication
SELECT
SUM(sales)GROU !"#uarter,
bra$d,re%io$,c&a$$el
Automatic+uery
2e8rite
% !sers e-pect e-cellent
(uery response for all
summary (ueries
% 4ight re(uire 1>’s, 1>>’s or
even 1,>>>’s of materiali*ed
views
% ifficult to manage
% "onger build and update times
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
22/37
Cu&e$Organi7ed #ateriali7ed ,ie8sAutomatic +uery 2e8rite
BB
.act 3a&le9 %ales &y Day" Item" Customer and Channel
!I Alication
SELECT
SUM(sales)GROU !"#uarter,
bra$d,re%io$,c&a$$el
Automatic
+uery 2e8rite
% # single cube manages
summaries for all
groupings in the model
% # cube can be represented
as a cube:organi*ed
materiali*ed view
% Oracle automatically
rewrites summary (ueries
to the cube
% # singe cube can replace
1>’s, 1>>’s or 1,>>>’s of
materiali*ed views
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
23/37
B3
3yical 0uery issued &yOracle !usiness
Intelligence EnterriseEdition:
+uery is automaticallyre8ritten &y Oracle toaccess summary data in thecu&e$organi7edmateriali7ed -ie8:
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
24/37
Cu&e$Organi7ed #ateriali7ed ,ie8s.ast" Incremental #, 2efresh
B
.act 3a&le9 %ales &y Day" Item" Customer and Channel
!I Alication
SELECT
SUM(sales)GROU !"#uarter,
bra$d,re%io$,c&a$$el
% # single cube is refreshed
using 4@ refresh system
% 7ast, incremental
update from 4@ logs.
% 7ast, incrementalaggregation within the
cube.
% fficient management
of sparse data sets.
% 6eplaces 1>’s, 1>>’s
or even 1,>>>’s oftable:based 4@s
#, 2efresh
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
25/37
B+
Cu&e Organi7ed #ateriali7ed ,ie8s
% #n e-cellent summary management solution for
business intelligence tools such as I ,
4icro&trategy, )ognos and usiness Obects
% )ube organi*ed materiali*ed views are similar to
materiali*ed views on pre:built tables% )ube organi*ed materiali*ed views are meta data only C they
do not store dataD data comes from the cube
% # common implementation will be to leave detail data
in tables and create the cube at aggregate levels% .g. tables with day, customer and cube with month, *ip code
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
26/37
Cu&e Organi7ed #ateriali7ed ,ie8sCase %tudy
% )ompares performance of table:based materiali*ed
views with cube:organi*ed materiali*ed views with
goals ofE
% Improving (uery performance of &9":based I tools
% 6educing build;update times
% &ource data
% 7ast moving consumer goods company data
% 0 dimensions
% B> million fact rows
B/
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
27/37
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
28/37
Cu&e Organi7ed #ateriali7ed ,ie8sCase %tudy
% 4easurements
% Time to load data and prepare it for (uery
% 4@sE )reate 4@s, create inde-es and compute statistics
% )ubeE "oad data and aggregate.
% 9uery performance
% 6un the same 1/< (ueries against 4@s and cube.
B8
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
29/37
Cu&e Organi7ed #ateriali7ed ,ie8sCase %tudy 2esults
B<
3ime in minutes to
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
30/37
OLAP Cu&es ,ie8s%+L +uery of Oracle Cu&es
31
OLAP Cu&e Includes% All le-els of summari7ation
% 2ich analytical calculations
Cu&e is reresented as starschema of relational -ie8s
% Dimension and fact -ie8s
% Detail and summary fact ro8s% 2ich analytic fact columns
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
31/37
3B
Emo8ering Any %+L$!ased 3ool%imle %+L +ueries Ad-anced Cu&e Content
SELECT cu.long_description customer,'pro'it_ra$_cust_s&_pare$t,'pro'it_s&are_cust_s&_pare$t,'pro'it_ra$_cust_s&_le*el,'pro'it,'%ross_mar%i$
FROM time_calendar_view t, product_primary_view p, customer_sipments_view cu, cannel_primary_view c, units_cu!e_view "
#$ERE t.level_name % &C'LE()'R_*E'R& '() t.calendar_year % &C*+-& '() p.dim_ey % &TOT'L& '() cu.parent % &TOT'L&
'() c.dim_ey % &TOT'L& '() t.dim_ey % ".T/ME '() p.dim_ey % ".product '() cu.dim_ey % ".customer '() c.dim_ey % ".cannel0
Alication E1ress on Oracle OLAP
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
32/37
33
Oracle !usinessIntelligence EnterriseEdition 0uerying time seriescalculations directly froman Oracle cu&e using %+L:
Oracle cu&es can ma;e any!I tool smarter and faster:
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
33/37
3
%+L issued &y Oracle !I EEagainst -ie8s of Oraclecu&e and dimensions:
e8 =oined Cu&e %can ro8source ushes oins intothe cu&e and accessessummary data andcalculations:
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
34/37
Oracle OLAP Otion%ummary
% nhances the performance and analytic content of
&9":based business intelligence applications.
% 4ay be used asE
% # summary management solution with cube:organi*ed
materiali*ed views.% # full:featured multidimensional cube and calculation engine
(ueried directly with &9"
% mbedded in the Oracle database instance and
storage.% &afe, secure and manageable.% 7ully compatible with =rid )omputing;6eal #pplication
)lusters.
3/
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
35/37
30
.or #ore Information
% Oracle.com
% httpE;;www.oracle.com;solutions;businessGintelligence;
olap.html
% Oracle Technology ?etworkE
% httpE;;www.oracle.com;technology;products;bi;olap;inde-.html
% $roduct iscussion 7orumE% httpE;;forums.oracle.com;forums;forum.spa2forumIH1/
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
36/37
38
AQ&
-
8/19/2019 Database 11g OLAP Option Overview - Long.ppt
37/37