Professional Documents
Culture Documents
Building The Physical Layer of A Repository
Building The Physical Layer of A Repository
Objectives
After completing this lesson, you should be able to: Identify and describe the objects in the Physical layer of a repository Create the Physical layer of a repository
2-2
Physical Layer
Contains objects representing the physical data sources to which Oracle BI Server submits queries May contain multiple data sources Is typically the first layer built in the repository
Data sources
2-3
Key
2-4
Database Object
Is the highest-level object in the Physical layer Defines the data source to which Oracle BI Server submits queries
Database object
2-5
Name
Type
2-6
2-7
Connection Pool
Defines how Oracle BI Server connects to a data source Specifies the ODBC or native data source name Allows multiple users to share a pool of data source connections
Connection pool name
Maximum number of connections Data source name Shared logon username and password
2-9
Schema Folder
Is an optional display folder that contains tables and columns for a physical schema To create a schema folder, right-click a database object and select New Object > Physical Schema.
Schema folder
2 - 10
Physical Table
Is an object that corresponds to a table in a physical data source Is typically imported from a database or other data source Provides the metadata necessary for Oracle BI Server to access the tables with SQL requests
Physical table
2 - 11
Use tabs to create, view, or modify other properties. Name Table type
Cacheable
2 - 12
Alias name
Source table
2 - 13
Table Type
SELECT statement
2 - 14
2 - 15
Physical Column
Is an object that corresponds to a column in a physical database
Columns
2 - 16
Key Column
Defines relationships between tables Primary key:
Uniquely identifies a single row of data Consists of a column or set of columns Is identified by a key icon
Foreign key:
Refers to the primary key columns in another table Is composed of a column or set of columns
Key
2 - 17
Joins
Represent the primary keyforeign key relationships between tables in the Physical layer
Join properties Physical Diagram
Join expression
2 - 18
ABC Scenario
Data for ABC resides in the SUPPLIER2 schema in an Oracle relational database, containing tables with: Invoice data Customer data Product data Period data Physical layer
Data source
SUPPLIER2
2 - 19
Implementation Steps
1. 2. 3. 4. 5. 6. Import the physical schema. Select tables and columns for import. Import keys and joins. Check the import. Edit connection pool properties. Define physical keys and joins.
2 - 20
2 - 21
2 - 22
2 - 23
Tables
Columns
Key
2 - 24
Connection pool name Call interface Maximum number of connections Shared logon username and password Data source name
2 - 25
2 - 26
Click New.
2 - 27
Click the Physical Diagram icon ... ... or right-click the objects to open the Physical Diagram.
2 - 28
4. The Physical Foreign Key dialog box opens. 6. Join expression: first table selected maintains primary key; second table selected maintains foreign key to first table.
2 - 29
Summary
In this lesson, you should have learned how to: Identify and describe the objects in the Physical layer of a repository Create the Physical layer of a repository
2 - 30
2 - 31
2 - 32
2 - 33
2 - 34
2 - 35