Professional Documents
Culture Documents
Understanding Oracle BI Components and Repository Modeling Basics
Understanding Oracle BI Components and Repository Modeling Basics
INTELLIGENCE
Understanding Oracle BI
Components and
Repository Modeling Basics
by Abhinav Banerjee
INTRODUCTION
Introduction
In an Oracle Business Intelligence (OBI)
implementation, the repository plays the
most important role as the heart of any BI
environment. The entire BI implementation
can go wrong because of a repository
that is not well designed. Repository
(RPD) designing and modeling is one of
the most complex processes in an OBI
implementation. RPD success is dependant
on knowledge of a few principles, which
include dimensional modeling and data
modeling.
In any implementation, we need to ensure
our data and dimensional models are welldesigned because the model plays such a
significant role. Once these data and
Table of Contents
CHAPTER 1
Dimensional Modeling
7
Dimensional Modeling (DM)
8
Star Schema
9
Snowflake Schema
CHAPTER 3
The Oracle BI Development Cycle
19
Oracle BI Development Cycle
CHAPTER 4
Building the Oracle BI Model
21
Build Oracle BI Model
22
Import Objects
24
Build Physical Model
27
Physical Layer Best Practices
28
Build BMM Model
34
BMM Layer Best Practices
38
Build the Presentation Layer
40
Presentation Layer Best Practices
CHAPTER 2
Oracle BI Architecture
11
Oracle BI Architecture
14
Oracle BI Server
14
Oracle BI Presentation Services
15
Oracle BI Repository
15
Actions Services
16
Security Service
17
Cluster Controller Severs
17
Oracle BI Administration Tool
About Author
Abhinav Banerjee
Abhinav Banerjee is a Consulting Manager working with KPI Partners.
He has more than eight years of business intelligence and data
integration experience with more than four years in OBIEE (custom
and packaged analytics). He has worked with several global clients
in various domains that include telecommunications, high tech,
manufacturing, energy, education, and oil and gas. He is also a
frequent speaker at various Oracle conferences such as COLLABORATE
and Oracle OpenWorld. Abhinav specializes in OBIA as well as custom
OBIEE implementations. He can be reached at abhinav.banerjee@
kpipartners.com.
About KPI
KPI Partners is an Oracle Partner who specializes in Oracle Business
Intelligence (BI) and Oracle Enterprise Performance Management solutions. The award-winning staff at KPI Partners comes directly from
the product engineering departments at Oracle, Siebel, and Hyperion.
In addition to consulting services, KPI Partners offers training, support,
and exclusive pre-packaged analytic solution extensions for Oracle
Business Intelligence.
KPI Partners works with both corporate technology departments and
corporate business units to develop value-added business intelligence
solutions, not just new technology deployments.
CHAPTER 1
DIMENSIONAL
MODELING
Dimension
Table
Dimension
Table
Dimension
Table
Fact
Table
Dimension
Table
10
Dimension
Table
Star Schema
The star schema architecture constitutes a
central fact table with multiple dimension
tables surrounding it. It will have one-tomany relationships between the dimensions
and the fact table. The dimensions typically
have the relative descriptive attributes that
describe business entities.
In case of a star schema, no two dimensions
will be joined directly; rather, all the joins
between the dimensions will be through the
central fact table. Joins are completed via a
foreign key relationship, with the dimension
having the primary key and the fact having
the foreign keys to join to the dimension.
Dimension
Table
Dimension
Table
Dimension
Table
Dimension
Table
Dimension
Table
Fact
Table
Dimension
Table
Dimension
Table
Dimension
Table
Dimension
Table
Snowflake Schema
The snowflake schema architecture also has
a central fact table with multiple dimension
tables and one to many relationships
between the dimension and the fact
table, but it also will have one-to-many
relationships between dimensions. The
dimensions are further normalized into
multiple related tables. In this case, multiple
dimension tables will exist related to the
main dimension table.
Normally, we have one-to-many
relationships between the dimensions. A
primary key-foreign key relationship exists
between the dimension and the fact tables
as well as between dimensions.
11
CHAPTER 2
ORACLE BI
ARCHITECTURE
12
Oracle BI Architecture
In order to understand the importance of
the repository, we will need to have a look at
the Oracle Business Intelligence Enterprise
Edition (OBIEE) architecture. The OBIEE
repository directly corresponds with the
Oracle BI server which, in turn, talks to the
database, presentation services, and the
security service.
OBIEE is a state-of-the-art, next-generation
BI platform that provides optimized
intelligence to take advantage of relational/
multidimensional database technologies.
13
14
15
Oracle BI Server
The Oracle BI server is the core behind
the OBIEE platform. It receives analytical
requests created by presentation services
and efficiently accesses data required
by the users inputs using the defined
metadata (RPD). The BI server then
generates dynamic SQL to query data in
the physical data sources and provides data
to the presentation services based on the
request received.
The BI Sever works with the help of
definitions set in configuration files and the
metadata (RPD).
16
Oracle BI Repository
The ORACLE BI Repository holds all the
business logic. It is configured through
the Oracle BI Administration Tool. The
Repository helps build the business model
and organize the metadata properly for
presentation to users. The repository is
comprised of three layers: physical, business
model and mapping, and the presentation
layer. Each layer appears in a separate pane
when opened with the administration tool.
Actions Services
Actions Services provides the dedicated
web services required by the action
framework. The action framework enables
users to invoke business process based on
values of certain defined key indicators.
Actions Services exist as action links in the
presentation catalog.
18
Security Service
There is a paradigm shift in the security
architecture in OBIEE 11g. It implements the
same common security architecture as the
Fusion Middleware Stack, which leverages
the Oracle platform security service (OPSS)
and WebLogic authenticators. The various
security controls that are available include:
Identity Store - an embedded LDAP server
in WebLogic to store users and groups.
Policy Store - a file to store the permission
grants.
Credential Store - a file to store user and
system credentials for interprocess
communication.
19
20
CHAPTER 3
THE ORACLE BI
DEVELOPMENT
CYCLE
21
CHAPTER 4
BUILDING THE
ORACLE BI
MODEL
23
24
Import Objects
The first step involves creating a new RPD
using the BI administration tool and saving it.
Next, we must import the objects into this
repository to start building the model as
shown in Fig. 2. You will need to define the
connection type and other credentials for
connecting to the database.
To import the tables, select the tables or just
click on the schema name to bring them in
the schema.
Figure 2: Sample Schema for Import
25
26
27
28
29
30
31
32
33
34
35
37
38
39
40
41
42
43
44
www.kpipartners.com