36389916 obiee repository basics by bisp

Upload: vikas-kumar

Post on 05-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    1/56

    Created By : Hitesh Mankar

    Reviewed By: Amit Sharma

    Contact Point :[email protected]

    Oracle BI Creating Repository

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    2/56

    Contents

    1.Repository Basics (Oracle BI Architecture Components )

    2.Building the Physical Layer of a Repository

    3.Building the Business Model and Mapping Layer of a Repository

    4.Building the Presentation Layer of a Repository

    5.Testing and Validating a Repository

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    3/56

    Oracle BI Architecture Components

    Relationships between architecture components

    1. Clients

    2. Oracle BI Presentation Services

    3. Oracle BI Server

    4. Oracle BI repository

    5. Data sources

    Clients

    Oracle BI

    PresentationServices

    Oracle BI

    Server

    Data

    Source

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    4/56

    1.ClientsProvide access to business intelligence information

    Oracle BI Answers

    Oracle BI Interactive Dashboards

    Oracle BI Administration Tool

    Data

    SourceClients

    OBI Answers

    OBI Interactive

    Dashboards

    OBI Administration Tool

    Oracle BI

    Presentation

    Services

    Oracle BI

    Server

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    5/56

    Oracle BI Answers and Oracle BI Interactive Dashboards are examples of

    clients that provide access to business intelligence information via a Web

    browser. Oracle BI Administration Tool is a Windows-based application.

    Clients

    Oracle BI Answers is the only report building interface that OBIEE provides.

    It is used for the construction of both Queries (the data) and Reports (the

    presentation) .It provides full ad hoc analysis, pivot tables and report creation.

    a)Oracle BI Answers

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    6/56

    c)Oracle BI Administration Tool

    Administration tool is a windows based client tool or interface to

    develop/create and manage Metadata repository and the logical star-schemas.

    Metadata Repository (semantic layer) file contains the Business logic,

    connections, security configurations etc .

    It uses ODBC connectivity to connect to data sources

    Dashboards are the standard interface for the majority of users andsimply containers for reports and other content. It allows multiple

    reports to be displayed in a tabbed interface.

    They are Fully interactive, graphical, secure, personalized information

    dashboards. Guided Analytics capabilities provide intelligent links to

    aid users in their path to discovery and action.

    b)Oracle BI Interactive Dashboards

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    7/56

    2.Oracle BI Presentation Services

    Oracle BI Presentation Services makes a request to Oracle BI Server

    to retrieve the requested data by the user. It formats the data and sends

    it to the client or user.

    Provides the processing to visualize the information for client

    consumption Is implemented as an extension to a Web server

    Uses a catalog to store saved content

    Receives data from Oracle BI Server and provides it to the client that

    requested it.

    Clients

    Oracle BI

    Presentation

    Services

    Oracle BI

    Server

    Data

    Source

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    8/56

    3.Oracle BI Server

    It is an analysis server providing a calculation and aggregation engine

    that integrates data from multiple relational, unstructured, OLAP, and

    other sources. The core server behind Oracle Business Intelligence.

    Oracle BI Server receives the data from the data sources and processesand passes the data to Oracle BI Presentation Services.

    Clients

    Oracle BIPresentation

    Services

    Oracle BI

    Server

    Data

    Source

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    9/56

    4.Oracle BI Repository

    Clients

    Oracle BI

    Presentation

    Services

    Data

    Source

    Oracle BI

    Server

    Repository

    Repository is a place where data are stored and maintained. Eachmetadata repository can store multiple business models and metadata

    used by Oracle BI Server.

    Is accessed and configured using the Oracle BI Administration Tool,

    which you use to:-

    Import metadata from databases and other data sources.

    Simplify and reorganize the metadata into business models.

    Structure the business model for presentation to users who request

    information.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    10/56

    Clients

    Oracle BI

    Presentation

    Services

    Oracle BI

    Server

    Data

    Sources

    5.Data Sources

    It contain the business data that users want to analyze which isaccessed by Oracle BI Server.

    Data Sources can be in any format accessed by BI Server such as:

    Relational databases

    Online analytical processing (OLAP) databases

    Flat files

    Spreadsheets

    XML for Analysis (XMLA)

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    11/56

    Data Sources

    Data sources are the physical sources where the business data is

    stored. A connection to the data source is created and then used by

    Oracle BI. The data source connection can be defined to use native

    drivers or Open Database Connectivity (ODBC).

    The method, or protocol, used to access a data source depends

    on the type of data source.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    12/56

    1.User views a Dashboard or submits an Answer request

    2.The Oracle BI Presentation Services makes a request to the Oracle BI

    Server to retrieve the requested data

    3.The Oracle BI Server, using the .rpd file, optimizes functions to

    request the data from the data sources

    4.The Oracle BI Server receives the data from the data sources andprocesses as necessary

    5.The Oracle BI Server passes the data to the Oracle BI Presentation

    Services

    6.The Oracle BI Presentation Server formats the data and sends it tothe client

    Sample Request Processing

    Clients

    Oracle BI

    Presentation

    Services

    Oracle BI

    Server

    Data

    Source

    1 2 3

    456

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    13/56

    Sample Request Processing

    This is a simplified example of how an Oracle BI request is processed.

    A user accesses a dashboard or submits a request in Answers. The

    request is received by Oracle BI Presentation Services, which routes

    the request to Oracle BI Server. Oracle BI Server uses the repository todetermine the best way to access the requested data. Then it sends

    the SQL or other requests to the sources and combines the results or

    provides further processing.

    The Oracle BI Server then sends the data back to Oracle BIPresentation Services, which formats the data as appropriate and

    sends it to the client for display.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    14/56

    Oracle BI Administration Tool

    The Administration Tool is a Windows application that allows the

    Oracle BI Administrator to create and edit repositories. Exposes the

    Oracle BI repository as three separate panes, called layers:

    Physical layer

    Business Model and Mapping layer

    Presentation layer

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    15/56

    Oracle BI Repository

    Oracle BI Server stores metadata in repositories.

    The Oracle BI Administration Tool has a graphical user interface that

    allows server administrators to set up these repositories. An Oracle BI

    Server repository consists of three layers. Each layer appears in a

    separate pane in the Oracle BI Administration Tool user interface and

    has a tree structure. You can expand each object to see a list of its

    components. These layers are not visible to the end user.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    16/56

    Creating Repository and Building Physical layer

    To build or create a new Repository you should use the Oracle BI

    Administration Tool.

    By importing metadata from databases and other data sources

    Physical layer is populate and The data sources can be of the same ordifferent varieties. You can import schemas or portions of schemas

    from existing data sources.

    During the import process many of the properties of the data sources

    are configured automatically based on the information gathered.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    17/56

    From start menu you can use the Administration Tool

    Start Administration Tool

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    18/56

    Write name

    for new

    Repository

    and save it

    Click on file

    menu and

    choose New

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    19/56

    When you save the new repository it opens in Administration Tool

    window which displays the empty layers Presentation Layer,

    Business Model & Mapping layer and Physical layer and dontclose

    it.

    The name of repository will

    appear here

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    20/56

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    21/56

    Open the ODBC Data Source Administrator and click on system

    DSN and then Add button to create new data source.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    22/56

    Choose Your

    Data Source

    In the Create New Data Source dialog box, select the Oracle

    driver Oracle in XE (for oracle Express Edition) and finish it.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    23/56

    Write Your

    data

    SourceName

    Configure the data source in Oracle ODBC Driver Configuration

    dialog box enter a Data Source Name and select the appropriate TNS

    Service Name from the drop down list then clickTest Connection toopen the Oracle ODBC Driver Connect dialog box .

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    24/56

    In the Oracle ODBC Driver Connect dialog box enter the user

    name and password and click OK.

    Enter User

    name and

    Password

    to connect

    with

    database

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    25/56

    "Testing Connection" message indicating the connection is

    successful. You need to see the message Connection

    Successful.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    26/56

    Now it

    shows your

    data source

    Now it shows your data source which you have chosen Close

    Oracle ODBC Driver Configuration dialogue box and ODBC

    Data Source Administrator

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    27/56

    Now you should back on the Administrative tool and click on

    File choose Import from database to get your data source.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    28/56

    Now in select data source dialog box select your data

    source name and Enter username and password click ok

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    29/56

    So after selecting the data source you will get the import

    dialog box to select the database/databases and expand it.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    30/56

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    31/56

    Now the database imported to the physical layer of

    repository and check that the tables which imported werecorrect.

    Tables which are

    selected and

    imported to physical

    layer you can see .

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    32/56

    In the Physical layer of the repository Create Physical Joins right

    click the Sales schema folder and select Physical Diagram ---->

    Object (s) and All Joins.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    33/56

    In physical diagram rearrange the tables so they are all visible

    in the Physical Diagram.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    34/56

    Click the New Foreign Key button

    on the toolbar Click the Product

    table and then the FACT_SALEStable. The Physical Foreign Key

    dialog box opens. Continue to

    create the joins.

    Primary key

    Foreign key

    Check the join expression is:CHANNELS.CHANNEL_ID =

    SALES.CHANNEL_ID

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    35/56

    It matters which table you click first the join is creating a one-to-many (1:N) relationship that joins the key column in the first

    table to a foreign key column in the second table. The

    Administration Tool automatically determines which columns

    should be included in the join.

    Click OK to close the Physical Foreign Key dialog box. The join

    between Product and FACT_SALES is displayed in the Physical

    Diagram.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    36/56

    Check that relationship between dimension table and FACT table isalways one-to-many (1:N). And check that more than one fact

    tables are not in the physical layer. This diagram in the snow flake

    schema.

    This is Physical Diagram of Schema Fact_Sales

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    37/56

    Select File to Save or click the Save button on the toolbar to save

    the repository and don`t check the global consistency.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    38/56

    Leave the Administration Tool and the SALES repository

    open for the next modeling

    So your

    new

    repository

    is created

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    39/56

    To Build the Business Model and Mapping Layer of a

    Repository Drag and drop the schema from physical layer toBusiness model and Mapping layer

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    40/56

    Check that all the tables were same as Physical layer and

    specially fact table

    Fact Table

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    41/56

    Right click on the table sales select Business Model Diagram

    -----> Whole Diagram

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    42/56

    In this layer you can customize the database and tables you

    can add more tables or delete those tables which are not

    required for modeling. Here in the SALES schema Regiontable is merged into STORE table.

    Region

    Table

    Merged

    into StoreTable

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    43/56

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    44/56

    Building the Presentation Layer of Repository

    Drag the SALES business model from the Business Model

    and Mapping layer to the Presentation layer to create the

    SALES catalog in the Presentation layer.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    45/56

    Expand the SALES catalog

    in the Presentation layer.Notice that the tables and

    columns in the

    Presentation layer exactly

    match the tables and

    columns in the Business

    Model and Mapping layer.

    Save the repository and

    Do not check global

    consistency

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    46/56

    Testing and Validating a Repository

    After Building the business model and Presentation layer you

    need to test the repository begin by checking the repository forerrors using the Check Global Consistency option.

    Run a Consistency

    Check

    Click on the File Menu go

    to Check Global

    Consistency and click on

    it

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    47/56

    The Consistency Check Manager displays three types of messages

    1.Error messages indicate

    errors that need to be fixed to

    make the repository

    consistent.

    2.Warning messages

    indicate conditions that mayor may not be errors,

    depending upon the intent of

    the Oracle BI Server

    administrator.

    3.Best Practices messagesprovide information about

    conditions but do not indicate

    an inconsistency.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    48/56

    The Consistency Check Manager

    For each message the

    Consistency CheckManager identifies the

    message type, the object

    type , the object and

    provides a detailed

    description of the

    message. There are

    options to display only

    selected message types,

    display results usingqualified names check all

    objects in the repository

    and copy the results to

    another file.

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    49/56

    Before Global Consistency Check the red

    mark appear on the schema in Business

    Model and mapping Layer

    After Global Consistency Check the red mark

    disappear on the schema in Business Model and

    mapping Layer means consistency check Completed

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    50/56

    To test your RPD its necessary to write your RPD file name in

    the NQSConfig.ini file which located in

    \OBIEE_SERVER\server\Config and save it

    Here you need to

    write / changeyour RPD name in

    NQSConfig.ini file

    as shown

    This is the

    NQSConfig file in

    which you need

    to write your rpd

    name

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    51/56

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    52/56

    Log in to Oracle Business Intelligence asAdministrator

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    53/56

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    54/56

    Click on the column name in selection pane to select the column

    Selected Columns appear here

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    55/56

    This is the Result for

    those Columns which

    are selected

    Click on the Results tab to get result for selected columns

    Column Name whichare selected

  • 7/31/2019 36389916 OBIEE Repository Basics by BISP

    56/56

    THANK YOU

    To learn more about OBIEE

    http://learnhyperion.wordpress.com

    http://learnhyperion.wordpress.com/http://learnhyperion.wordpress.com/