Академический Документы
Профессиональный Документы
Культура Документы
Objectives
After completing this lesson, you should be able to execute the steps to test and validate a repository.
6-2
Validating a Repository
The following steps validate whether a repository is constructed correctly and yields the expected query results: 1. Checking a repository for consistency 2. Enabling logging 3. Loading a repository 4. Checking a repository by running analyses 5. Inspecting the query log
6-3
ABC Example
Validate and test the SupplierSales business model before making it available to users for querying.
6-4
Consistency Check
Is a feature of the Administration Tool that checks whether a repository has met certain requirements, such as the following: All logical columns are mapped directly or indirectly to one or more physical columns. All logical dimension tables have a logical key. All logical tables have a logical join relationship to another logical table. There are at least two logical tables in the business model: a logical fact table and a logical dimension table. Both can map to the same physical table. There are no circular logical join relationships. A subject area exists for the business model.
6-5
Checking Consistency
Check consistency for the entire repository or for individual repository objects by using the following methods:
Use the File menu. Use the Tools menu. Right-click objects.
6-6
6-7
6-8
6-9
6 - 10
Publishing a Repository
Use Fusion Middleware Control to publish a repository and make it available for queries.
Click here first.
6 - 11
Use the Capacity Management > Availability page to manage individual OBI components.
6 - 12
Query Logging
Oracle BI Server provides a facility for logging query activity at the individual user level. Logging is intended for quality assurance testing, debugging, and use by Oracle Technical Support. Query logging is normally disabled in production mode. The query log file is named NQQuery.log and is located in the following directory:
ORACLE_INSTANCE\diagnostics\logs\ OracleBIServerComponent\coreapplication_obis1
6 - 13
6 - 14
Logging Levels
Logging levels 1 and 2 are for BI Server administrators.
Level 1 Logs
User name, session ID, and request ID for each query SQL for the request using business model names Query status (success, failure, termination, or timeout) Elapsed times for query compilation, execution, query cache, and back-end database processing
Level 2 Logs
All items for Level 1, plus those mentioned below: Repository name, business model name, subject area name SQL for the request using physical data source syntax Queries issued against the cache
Number of rows returned from a physical database Number of rows returned to the client
6 - 15
Validate display.
6 - 16
6 - 17
Logical SQL
6 - 18
Example
SELECT Region, Dollars FROM SupplierSales WHERE Year = 1999 ORDER BY Dollars desc
6 - 19
6 - 20
Summary
In this lesson, you should have learned how to execute the steps to test and validate a repository.
6 - 21