Escolar Documentos
Profissional Documentos
Cultura Documentos
Created By : Hitesh Mankar Reviewed By: Amit Sharma Contact Point :bisp.consulting@gmail.com
Contents
1.Repository Basics (Oracle BI Architecture Components )
2.Building the Physical Layer of a Repository
Clients
Oracle BI Server
Data Source
1.Clients
Provide access to business intelligence information Oracle BI Answers Oracle BI Interactive Dashboards Oracle BI Administration Tool
OBI Answers
OBI Interactive Dashboards OBI Administration Tool Oracle BI Presentation Services
Clients
Oracle BI Server
Data Source
Clients
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.
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.
Clients
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.
Clients
Oracle BI Server
Data Source
4.Oracle BI Repository
Repository is a place where data are stored and maintained. Each metadata 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.
Repository
Clients
Oracle BI Server
Data Source
5.Data Sources
It contain 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)
Clients
Oracle BI Server
Data Sources
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.
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.
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.
The name of repository will appear here
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 1.Start 3.Control Panel 4.Administrative Tools 5.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 .
Write Your data Source Name
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 it shows your data source
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 .
You Should Check that only the Tables and Keys checkboxes are selected, which is the default
Now the database imported to the physical layer of repository and check that the tables which imported were correct.
Tables which are selected and imported to physical layer you can see .
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.
Primary key Foreign key Check the join expression is: CHANNELS.CHANNEL_ID = SALES.CHANNEL_ID
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-tomany (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.
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
Fact Table
Right click on the table sales select Business Model Diagram -----> Whole Diagram
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 Region table is merged into STORE table.
Region Table Merged into Store Table
So this is the look of Logical Table Diagram for the Business modeling and Mapping layer
So after joining both tables shown together in sources in the logical table Dialog Box
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.
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
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
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
This is the NQSConfig file in which you need to write your rpd name
Here you need to write / change your RPD name in NQSConfig.ini file as shown
Programs >
Oracle Business Intelligence > Presentation Services.
Click on the Results tab to get result for selected columns Column Name which are selected
THANK YOU
http://learnhyperion.wordpress.com