Sunteți pe pagina 1din 19

OBIEE

Build Repositories: Repository Basics (Oracle BI Architecture Components ) Building the Physical Layer of a Repository Building the Business Model and Mapping Layer of a Repository Adding Calculations to a Fact Table Building the Physical Layer of a Repository Building the Presentation Layer of a Repository Adding Multiple Logical Table Sources Creating Dimension Hierarchies and Level-Based Measures Using Aggregates Modeling Time Series Data Using Repository Variables Security Cache Management Multi-user Development Create Reports and Dashboards:

Working with Oracle Business Intelligence Answers Oracle Business Intelligence Answers: Advanced Features Showing Results with Pivot Tables Creating Oracle Business Intelligence Interactive Dashboards Configuring Oracle Business Intelligence Interactive Dashboards Filtering Requests in Oracle Business Intelligence Answers Building Views and Charts in Requests

Showing Results with Gauge Views Configuring Guided Navigation Links Using Oracle Business Intelligence Publisher Using Oracle Business Intelligence Delivers

Oracle BI Architecture Components 1. Clients 2. Oracle BI Presentation Services 3. Oracle BI Server 4. Oracle BI repository 5. Data sources

Relationships between architecture components

1. Clients Provide access to business intelligence information 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. Oracle BI Answers Oracle BI Interactive Dashboards Oracle BI Administration Tool

a) Oracle BI Answers

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.

b) Oracl e BI In teracti ve D ashb oard s Dashboards are the standard interface for the majority of users and simply 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 a id users in their path to discovery and action.

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

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.

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 processes and passes the data to Oracle BI Presentation Services

4. Oracle BI Repository Repository is a place where data are stored and maintained. Each meta data repository can store multiple business models and Meta data 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

5. 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.

It contains the business data that users want to analyze which is accessed 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)

Sample Request Processing User views a Dashboard or submits an Answer request The Oracle BI Presentation Services makes a request to the Oracle BI Server to retrieve the requested data The Oracle BI Server, using the .rpd file, optimizes functions to request the data from the data sources The Oracle BI Server receives the data from the data sources and processes as necessary The Oracle BI Server passes the data to the Oracle BI Presentation Services The Oracle BI Presentation Server formats the data and sends it to the client

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 to determine 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 BI Presentation Services, which formats the data as appropriate and sends it to the client for display.

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

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.

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 or different 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 a reconfigured automatically based on the information gathered.

Start Administration Tool: From start menu you can use the Administration Tool

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 dont close it.

After this you need to create an ODBC Data Source to import schema information about a data source into an Oracle BI Server repository. So you need to follow these steps. Click on start menu Start Control Panel Administrative Tools Data Sources (ODBC) where you can select the data sources Open the ODBC Data Source Administrator and click on system DSN and then add button to create new data source.

In the Create New Data Source dialog box, select the Oracle driver Oracle in XE(for oracle Express Edition)and finish it.

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 click Test Connection to open the Oracle ODBC Driver Connect dialog box.

In the Oracle ODBC Driver Connect dialog box enter the user name and password and click OK.

"Testing Connection" message indicating the connection is successful. You need to see the message Connection Successful.

Now it shows your data source which you have chosen Close Oracle ODBC Driver Configuration dialogue box and ODBC Data Source Administrator.

Now you should back on the Administrative tool and click on File choose Import from database to get your data source.

Now in select data source dialog box select your data source name and Enter username and password click ok

So after selecting the data source you will get the import dialog box to select the database/databases and expand it.

Select the tables with Ctrl + Click and click on the import button When the Import process completes, click Close to close the Import dialog box.

Now the database imported to the physical layer of repository and check that the tables which imported were correct.

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.

In physical diagram rearrange the tables so they are all visible in the Physical Diagram.

Click the New Foreign Key button on the toolbar Click the Product table and then the FACT_SALES table. The Physical Foreign Key dialog box opens. Continue to create the joins.

Click OK to close the Physical Foreign Key dialog box. The join between Product and FACT_SALES is displayed in the Physical Diagram.

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 column should be included in the join.

This is Physical Diagram of Schema Fact_Sales

Check that relationship between dimension table and FACT table is always 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.

Select File to Save or click the Save button on the toolbar to save the repository and don`t check the global consistency.

Leave the Administration Tool and the SALES repository open for the next modeling

To Build the Business Model and Mapping Layer of a Repository Drag and drop the schema from physical layer to Business model and Mapping layer.

Check that all the tables were same as Physical layer and specially fact table

S-ar putea să vă placă și