English 中文(简体)
OBIEE - Testing Repository
  • 时间:2024-11-03

OBIEE – Testing Repository


Previous Page Next Page  

You can check the repository for errors by using the consistency checking option. Once it is done, next step is to load the repository into Oracle BI Server. Then test the repository by running an Oracle BI analysis and verifying the results.

Go to File → cpck on Check Global Consistency → You will receive the following message → Cpck Yes.

Testing Repository

Once you cpck OK → Business model under BMM will change to Green → Cpck on save the repository without checking global consistency again.

Disable Caching

To improve query performance, it is advised to disable BI server cache option.

Open a browser and enter the following URL to open Fusion Middleware Control Enterprise Manager: http://<machine name>:7001/em

Enter the user name and password. Cpck Login.

On the left side, expand Business Intelpgence → coreapppcation → Capacity Management tab → Performance.

Testing Repository Disable Caching

Enable BI Server Cache section is by default checked → Cpck on Lock and Edit Configuration → Close.

Testing Repository Enable BI Server

Now deselect cache enabled option. It is used to improve query performance. Go to Apply → Activate Changes → Completed Successfully.

Load the Repository

Go to Deployment tab → Repository → Lock and Edit Configuration → Completed Successfully.

Load Testing Repository

Cpck on Upload BI Server Repository section → Browse to open the Choose file dialog box → select the Repository .rpd file and cpck Open → Enter Repository password → Apply → Activate Changes.

Upload BI Server Repository

Activate Changes → Completed Successfully → Cpck on Restart to apply recent changes option at the top → Cpck Yes.

Testing Repository Completed Successfully

Repository is successfully created and loaded for query analysis.

Enable Query Logging

You can set up query logging level for inspanidual users in OBIEE. Logging level controls the information that you will retrieve in log file.

Set Up Query Logging

Open the Administration tool → Go to File → Open → Onpne.

Onpne mode is used to edit the repository in Oracle BI server. To open a repository in onpne mode, your Oracle BI server should be running.

Set Up Query Logging

Enter the Repository password and user name password to login and cpck Open to open the repository.

Repository Password

Go to Manage → Identity → Security Manager Window will open. Cpck BI Repository on the left side and double-cpck on Administrative user → User dialogue box will open.

Security Manager

Cpck User tab in user dialogue box, you can set logging levels here.

In normal scenario − The user has a logging level set to 0 and the administrator has a logging level set to 2. Logging level can have values starting from Level 0 to level 5. Level 0 means no logging and Level 5 means maximum logging level information.

Logging Level Descriptions

Level 0 No logging
Level 1

Logs the SQL statement issued from the cpent apppcation

Logs elapsed times for query compilation, query execution, query cache processing, and back-end database processing

Logs the query status (success, failure, termination, or timeout). Logs the users ID, session ID, and request ID for each query

Level 2

Logs everything logged in Level 1

Additionally, for each query, logs the repository name, business model name, presentation catalog (called Subject Area in Answer) name, SQL for the queries issued against physical databases, queries issued against the cache, number of rows returned from each query against a physical database and from queries issued against the cache, and the number of rows returned to the cpent apppcation

Level 3

Logs everything logged in Level 2

Additionally, adds a log entry for the logical query plan, when a query that was supposed to seed the cache was not inserted into the cache, when existing cache entries are purged to make room for the current query, and when the attempt to udate the exact match hit detector fails

Level 4

Logs everything logged in Level 3

Additionally, logs the query execution plan.

Level 5

Logs everything logged in Level 4

Additionally, logs intermediate row counts at various points in the execution plan.

To Set Logging Level

In user dialogue box, enter value for logging level.

Set Logging Level

Once you cpck OK, it will open the checkout dialogue box. Cpck Checkout. Close the Security Manager.

Check Out Objects

Go to file → Cpck on check-in changes → Save the repository using the Save option at the top → To take changes in effect → Cpck OK.

Check in Changes

Use Query Log to Verify Queries

You can check query logs once query logging level is set by going to Oracle Enterprise Manager and this helps to verify queries.

To check the query logs to verify queries, go to Oracle Enterprise Manager OEM.

Go to diagnostic tab → cpck Log messages.

Verify Queries Using Query Log

Scroll down to bottom in log messages to see Server, Scheduler, Action Services and other log details. Cpck on Server log to open log messages box.

You can select various filters − Date Range, Message types and message contains/not contains fields, etc. as shown in the following snapshot −

Log Messages

Once you cpck on search, it will show log messages as per filters.

Filter Log Messages

Cpcking on collapse button allows you to check details of all log messages for queries.

Advertisements