Академический Документы
Профессиональный Документы
Культура Документы
Ratan Vakil
Business Analytics, OLAP
Ratan.Vakil@oracle.com
Aim or yahoo chat: ofaguru
The Business Requirements
Who generates them?
Who? Why?
What? How?
Where? What if ?
What if …
– A single database offered the openess of a relational
solution?
coc_Customer_Dim coc_Product_Dim
coc_Customer_Dim
PK CST_ID coc_Opportunity
PK,FK1 CST_ID
PK,FK2 ASSOC_ID
PK,FK2 ROLE_CD
PK,FK3 SYS_ASOF_DT coc_Time_Dim
PK,FK3 PERIOD_CD
coc_Officer_Dim
PK,FK3 SOURCE_DT PK SYS_ASOF_DT
PK ASSOC_ID PK PERIOD_CD
PK ROLE_CD PK SOURCE_DT
8
Purely Relational, ROLAP, or MOLAP?
PRODUCT CUST
• prod A • cust A
• prod B • cust B
• prod C • cust C
• prod D • cust D
• prod E • cust E
SALES
• Prod
• Cust
• Time
TIME
• Year
• Quarter
• Month
• Week
• Day
PRODUCT CUST
• prod A • cust A
• prod B • cust B
• prod C • cust C
• prod D • cust D
• prod E • cust E
SALES
• Prod
• Cust
Dimension • Time
Object
TIME Dimension Object
• Year • Dimension
• Quarter • Hierarchy
• Month
• Week • Level
• Day • Attribute
Cube
$ $ $ $
SALES dimensioned by
$ $ $ $ PRODUCT,
$ $ $ $ CUSTOMER,
TIME
$ $ $ $
Components include:
DB2, SQL
Server,
Oracle, etc.
Clients
Warehouse ETL
OLAP ETL
Runtime
Current Architecture
The OLAP Option in the Oracle Database
Oracle Database
Oracle Call Interface JDBC
Storage
Relational Data
Multidimensional
Data
Architecture – Open access
8. Any SQL
Any SQL
interface or query HTML DB
Query Tool tool
7. Custom built 1. Simple reporting tools
SQL, PL/SQL
applications that execute pre-defined
OLAP Java API SQL statements, and has no
knowledge of OLAP
Forms Builder.lnk
HTML DB
Oracle Forms
8. Any SQL
Any SQL
interface or query HTML DB
Query Tool tool
7. Custom built 1. Simple reporting tools
SQL, PL/SQL
applications that execute pre-defined
OLAP Java API SQL statements, and has no
knowledge of OLAP
Forms Builder.lnk
HTML DB
Oracle Forms
Every Oracle
6. Spreadsheet tools tool can access
DW 2. OLAP-aware tools
Oracle Excel the power of the
ETL
that generate SQL
Add-in AnalyticOLAP
Discoverer Plus
OLAP Excel Workspace.
Data Mining
Add-in Discoverer
Plus
5. OLAP-aware 3. Multidimensional
application object-aware
building tools OLAP-aware tools that
BI Beans generate SQL
4. Tools that provide
Discoverer
the ability to define
Plus OLAP
highly formatted reports
Oracle Reports in multiple formats
(OLTP) Discoverer
BI Beans Plus OLAP
Reports
Architecture – Open access
8. Any SQL
Any SQL
interface or query HTML DB
Query Tool tool
7. Custom built 1. Simple reporting tools
SQL, PL/SQL
applications that execute pre-defined
OLAP Java API SQL statements, and has no
knowledge of OLAP
Forms Builder.lnk
In fact, the HTML DB
Oracle Forms power of the
6. Spreadsheet tools Analytic DW 2. OLAP-aware tools
Oracle Excel Workspace can that generate SQL
ETL
Add-in be accessed by
OLAP
Discoverer Plus
OLAP Excel any third-party
Data Mining
Add-in tool that emits Discoverer
Plus
5. OLAP-aware SQL! 3. Multidimensional
application object-aware
building tools OLAP-aware tools that
BI Beans generate SQL
4. Tools that provide
Discoverer
the ability to define
Plus OLAP
highly formatted reports
Oracle Reports in multiple formats
(OLTP) Discoverer
BI Beans Plus OLAP
Reports
A Closer Look
Application
OLAP API
Let’s take a
closer look at Row and Table ADTs
the AW.
Relational View(s)
OLAP_TABLE
Relational Multidimensional
A Closer Look
Analytic Workspace
While A
Do B
End
Program
source code Dimension definitions
Measure definitions
OLAP
DML
Hierarchy Data
definitions Formulas and
relationships
equations
Dimension Measure
Definitions for logical
data data
groupings of data
-- CUBES
CUBES --
Prepare the OLAP Data Warehouse
The tools