Connection pool is a physical layer object ,is useful to store data base credentials like database name, username, password..etc.
OBIEE oracle BI Server contacts data base using connection pool
How to import views/materialized views?
While importing we need to enable views option
What is the isolation level in a connection pool
It applies only For ODBC and DB2 gateways only. The value sets the transaction isolation level on each connection to the back-end database. The isolation level setting controls the default transaction locking behavior for all statements issued by a connection. Only one option can be set at a time. It remains set for that connection until it is explicitly changed.
The following options are available:
Dirty read. Implements dirty read (isolation level 0 locking). This is the least restrictive isolation level. When this option is set, it is possible to read uncommitted or dirty data, change values in the data, and have rows appear or disappear in the data set before the end of the transaction. Dirty data is data that needs to be cleaned before being queried to obtain correct results (for example, duplicate records, records with inconsistent naming conventions, or records with incompatible data types).
Committed read. Specifies that shared locks are held while the data is read to avoid dirty reads. However, the data can be changed before the end of the transaction, resulting in non repeatable reads or phantom data.
Repeatable read. Places locks on all data that is used in a query, preventing other users from updating the data. However, new phantom rows can be inserted into the data set by another user and are included in later reads in the current transaction.
Serializable. Places a range lock on the data set, preventing other users from updating or inserting rows into the data set until the transaction is complete. This is the most restrictive of the four isolation levels. Because concurrency is lower, use this option only if necessary.
How many connection Pools you used in your project
It is a general question ,there is no fixed answer, however in each project we will have minimum three connection pools
One for importing tables and execute reports
One for execute session initialization block sql queries
One for usage tracking purpose
Recommended number is between 2 to 10.but justification is important.
To get data of another schema ,then what we need to enable in connection pool
Required fully qualified names
DB permissions
Can we create multiple connection pools under one database object
Yes, we can
What is the difference between Duplicate and Alias in physical layer
We will use Alias in physical layer to resolve below problems
Self Join
To maintain naming Standards in physical layer
Resolve loops or closed paths
Duplicate normally used in Physical layer to create a duplicate copy of existing Select table (Opaque View) /stored Procedure object
How many types of Joins are there in Physical layer?
Two types
Foreign Key join
Equivalent to Equi join
Accepts only = operator
Most used join in physical layer
Complex Join
Equivalent to Non Equi join
Accepts all operators like (=,<>,=>,,=…….etc)
Less used join in Physical layer
Can we create self join
By using Alias table , we can create self join.
Can we create outer join in physical layer.
In Physical Layer Outer join not possible ,however we can create outer join in BMM layer .
How to remove unused objects from physical layer
It will remove objects, which we did not use in BMM layer
Tools menu | Utilities| Remove unused objects from physical layer
How to synchronize physical layer objects
It is useful to synchronize RPD metadata with DB metadata
Tools | Utilities | Update Physical Layer
What is complex join, in which scenario we use it.
If foreign key is not possible then we will go for complex join. For example between emp and salgrade we will use complex join
In place of non equi join ,complex join is used
In foreign key join can we use other than equal to operator
No
What is Opaque view
A SQL query or select statement is called as opaque view.
If we need a new table then go for physical table (or) materialized view. In worst situation go for opaque view.
Opaque views are not supported by non relational db.(example MS Excel ,XML ,ESSBASE …etc)
If we need to call data base function then we have to go for Opaque View .
Is deploying opaque is mandatory?
No. but it is recommended due to below reason
Without deploying view into database, if we use opaque view in reports then oracle BI server needs to create complex queries. To avoid complex queries oracle recommended to deploy each and every opaque view into database.
When automatic joins will be created in physical layer.
If we have primary key and foreign Key relation ship in database level and while importing if we enable foreign key options then automatic joins will be created .
What is Alias
A virtual physical table (or) reference of physical table is called as alias.
On one physical table we can create ‘n’ no. of aliases.
Whatever changes occurred in physical table that will immediately reflect in alias (except Key definitions)
It is mainly useful to resolve loops
Can we create or delete a column from Alias.
No
How to eliminate Circular Join or loop or closed path.
By Using Alias
Handson02:Business Model and Mapping Layer
What is the business model
Is the highest-level object in the BMM layer
Contains the business model definitions and the mappings from logical to physical tables
Simplifies the physical schema
Captures how users think about their businesses using their own vocabulary
Can we create business model with single logical table, if no please let me know work around.
Approach 1: Creating duplicate table in BMM layer
Approach 1: Creating alias and creating join between original table and alias
Can we create business model from multiple databases, did you created then tell me one scenario
Yes
Scenario: when we want to compare the Actual data with target data and these data coming from sources like oracle database and MS-Excel respectively
What is the Logical Table Source and when we will go for multiple logical tables
Logical table sourcesdefinethe mappingsfrom single logical table to one or more physical tables.
Alogical tablecontains one or more logical table source.
The mapping between physical columns and logical columns can manage using LTS
By integrating multiple physical tables to LTS or By integrating multiple LTS to LT we can convert snow flake schema into star schema
When we need to integrate multiple physical tables in LTS.
If we have snowflake schema then want to convert that into star schema then we will go for multiple logical tables.
Did you get chance to map a logical column with multiple physical columns
Yes, If we want to configure aggregate tables then we need to do it .
What is logical join and why it is useful?
A: The join defined in the BMM Layer is called logical join
Logical join is used to defined driving table
Logical Join is used to define Inner, Right, Left and Full outer joins
Used to defined the cardinality
Logical join is useful to identify dimension and fact table
Logical join allows Oracle BI Server to make the best decision about the exact physical SQL to generate based on the logical query path.
7.Can we have a table without logical join?
No
Can we have a dimension table without primary key?
No
Can we copy RPD objects within the RPD and from one RPD to another RPD?
Yes, we can copy RPD objects with in the RPD.
We can copy one RPD to another RPD but we need to copy corresponding layers only i.e. (physical to physical, BMM to BMM and presentation to presentation)
What is Renaming wizard and which layers can be modified.
Renaming wizard is used to rename all objects ( example : tables and columns) of BMM and Presentation layer
Handson03:Presentation Layer
Can we create a subject area from multiple business models
No
In which version of OBIEE , presentation layer supporting hierarchy object
OBIEE 11G
What is Aliases
Keep track of any changes to Presentation layer objects
What are nested tables
Prefix the name of the presentation folder to be nested with a hyphen and a space. ortype " - > "in description of the column
Place it after the folder in which it nests
Can we map a presentation column with multiple logical columns