Troubleshooting DBI

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Daily Business Intelligence: Solutions to Most Common Issues

Sarma Yeddanapudy
Reev 1..0 11--Aprr-2007 Rev 1 .0 11-A pr--2007 R v 1 0 11 Ap 2007

Table of Contents
Abstract_______________________________________________________________ 3 Objectives _____________________________________________________________ 3 Introduction ___________________________________________________________ 3 1. Daily Business Intelligence Installation / Setup Issues _____________________ 4 1.1. 1.2. 1.3. 2. 2.1. 2.2. 2.3. 2.4. 3. 3.1. PMV Errors___________________________________________________ 4 Dashboard is Blank_____________________________________________ 5 Graph Section in Dashboard is Blank______________________________ 6 Global Start Date ______________________________________________ 8 Organization Setup _____________________________________________ 9 Time Dimension ______________________________________________ 10 Product Category/ Item Setup ___________________________________ 11 ORA-04031: unable to allocate 83232 bytes of shared memory error___ 13

Data Display issues in Dashboards _____________________________________ 7

Common errors when a request set is executed __________________________ 12 3.2. ORA-01555: snapshot too old: rollback segment number 9 with name "_SYSSMU9$" too small error. _______________________________________ 13 3.3. 3.4. 3.5. Materialized views erroring out with 'UNUSABLE' index ___________ 13 ORA-06502 And LPX-00210 errors ______________________________ 13 Dangling keys error ___________________________________________ 14 To view the query run by DBI ___________________________________ 15

4.

Debugging Tips ___________________________________________________ 15 4.1. 4.2. Bind values for the query _______________________________________ 16 4.2.1. View Source ______________________________________________ 16 4.2.2. Query table _______________________________________________ 16 4.2. Objects Dashboard Depends on__________________________________ 17

5. 6.

General Information on DBI_________________________________________ 18 Appendix_________________________________________________________ 19

Abstract
This article discusses the most frequent issues users face while implementing Daily Business Intelligence Modules like Supply Chain, Inventory, Manufacturing, Maintenance, Sales and Product Intelligence areas. This article provides solutions for the installation, parameter/graph display issues, frequent errors encountered while running request sets for dashboards, debugging tips to see actual sql and bind values used for result set run and set-up issues.

Objectives
The following topics will be covered in this paper. 1. Daily Business Intelligence Installation / Setup Issues 2. Data Display issues in Dashboards 3. Common errors when the Request set is executed 4. Debugging Tips 5. General Information on DBI

Introduction
During the implementation of Daily Business Intelligence modules users who run request sets and DBAs face some of the following issues. The purpose of this article is to discuss issues and corresponding solutions.

1. Daily Business Intelligence Installation / Setup Issues


1.1. PMV Errors
PMV, Performance Monitor Viewer, is a framework used for displaying data in Daily Business Intelligence. After applying BIS/DBI patches sometimes users start seeing PMV errors while clicking on a report. Some of the possible reasons are given below: There may be invalid objects related to the concerned module. Installation was not succesful (Check the log files). Mismatch between sql query and ak- region attributes (This can happen if .jlt files are not installed). Perhaps apache was not bounced after latest patch was installated.

1.2. Dashboard is Blank


This issue can occur if dashboard is not enabled. To enable, do the following: Daily Business Intelligence Administrator -> Adminster Content -> Functional Area > Supply Chain Intelligence -> Implement

1.3. Graph Section in Dashboard is Blank


Most likely X server setting Display is not correct. For csh: %setenv DISPLAY <hostname or ip address>:0.0 E.g: setenv DISPLAY 192.168.1.128:0.0 For detailed information, Note 153960.1 FAQ: X Server testing and troubleshooting HAS more information.

2. Data Display issues in Dashboards


Request set for Supply Chain Intelligence Dashboards with clear and load all summaries option ran succesfully but no data could be seen when, say, Customer Fulfillment Dashboard is selected. This section discusses the set-up issues that result in non-collection of data in the DBI objects. To illustrate some of the dimensions are mentioned below for Customer Fulfillment dashboard. For detailed information see, Note.367712.1 No Data Found in Customer Fulfillment Dashboard

2.1. Global Start Date


If Global start date is not covering the date range of data then underlying materialized views will not collect data to be displayed. Daily Business Intelligence Administrator -> Global Parameters

2.2. Organization Setup


Some dashboards are secured by organization access. Unless Organizations are provided access to the responsibility with which user is accessing dashboard, data will not be displayed. Inventory -> Set Up -> Organizations -> Organization Access -> In the Name field, Query with say 'Daily Supply Chain Intelligence' It shows what all the organizations have been added to the responsibility.

Note: The way org access works is that if you do not provide access to any org for a given responsibility, all orgs will be available in the LOV. If you give access to even one org then you have to explicitly provide access to all others you want to see in the Org LOV.

2.3. Time Dimension


To use dashboards effectively, you must ensure that the Enterprise Calendar has periods defined from the Global Start Date to any future dated transactions that you will report on. For example, if you are reporting on future dated transactions such as budgets and forecasts, periods must be defined for all possible future and back dated transactions. GL - Setup- Financials - Calendars- Search for Accounting Query for the calendar value you found in the DBI Global Parameters for enterprise calendar Check for missing periods or lacks between periods

2.4. Product Category/ Item Setup


Item Dimension - Product catalogs need to be setup before running item dimension request set. Log into Oracle Applications using the Item Manager responsibility. Navigate to Advanced Product Catalog Setup > Setup Workbench > Catalogs. Select the Product catalog from the list of available catalogs. The Catalogs window appears. For detailed information, please see NOTE.370172.1 How To Setup Product Categories IN Supply Chain Intelligence

3. Common errors when a request set is executed


This section discusses various errors reported when Incremental request set is executed and their solutions.

3.1. ORA-04031: unable to allocate 83232 bytes of shared memory error


To fix this error, one of the following should be done. Flush the shared pool Increase the shared Memory For detailed information, see Note.374329.1 ORA-04031 Unable to Allocate 83232 Bytes of Shared Memory:

3.2. ORA-01555: snapshot too old: rollback segment number 9 with name "_SYSSMU9$" too small error.
This error could be due to following reasons: Insufficient Rollback Segment Space Corruption in RBS System load is Heavy For detailed information see Note.403511.1 ORA-01555 Update Material usage and Manufacturing Cost Variance Base Summary Ora

3.3. Materialized views erroring out with 'UNUSABLE' index


To fix this error, one of the following should be done. o Recreate the Index o SKIP_UNUSABLE_INDEXES For detailed information see Note.398879.1 Initial Load for Planning Management Dashboard Results in Error LOAD_SNAPSHOTS ORA-01502: Note.391970.1 Fii_time_cal_day_mv_n1 Initially In Unusable State Running Initial Load Ora-26028:

3.4. ORA-06502 And LPX-00210 errors


Run $ORACLE_HOME/rdbms/admin/initmeta.sql For detailed information see Note.336165.1 ORA-06502 And LPX-00210 Errors When Trying To Refresh BIS Materialized View:

3.5. Dangling keys error


This error could come from any of the dimensions: Time, Item or Currency. Open the output file of the failing concurrent request. This output file provides missing data. Fix the data and resubmit the job.

4. Debugging Tips
Some users might be interested to know the actual SQL query run behind a report along with its bind values. There might also be a need to see all the objects on which report is built in order to customize or query for debugging the issues. This section covers answers to the above points.

4.1. To view the query run by DBI


Follow the steps below: Daily Business Intelligence Administrator -> Enable/Disable Debugging Press OK. (Note: This is valid only for a session.) Run the report for which you would like to see the query and bind values. Click View source.

4.2. Bind values for the query


In order to see the bind values for a given query, do the following:

4.2.1.

View Source

For Example, 1/24/2007, 1/24/2006, 1/24/2007, 1/24/2006, 1/24/2007, 1/24/2007, 119, 1/24/2007, 1/24/2006, 0, 26, 26

4.2.2.

Query table

select function_name, session_value, session_description, attribute_name from bis_user_attributes where session_id='1935489297'

4.2. Objects Dashboard Depends on


Daily Business Intelligence Adminsitrator -> View DBI Object Dependencies Query for report name or dashboard name.

5. General Information on DBI


Oracle Daily Business Intelligence Manuals
Oracle Daily Business Intelligence Implementation Guide Oracle Daily Business Intelligence User Guide

Metalink
http://metalink.oracle.com/

6. Appendix
Some Important Notes from metalink Note 153960.1 FAQ: X Server testing and troubleshooting HAS more information. Note.403637.1 Graphs Are Missing From Shipping Management Overview Note.362706.1 Two Different Errors DBI Report ''Lines Shipped Late To Promise'' NOTE.370172.1 How To Setup Product Categories IN Supply Chain Intelligence Note.393830.1 Load Order Management Base Summary Fails with ORA0054 Note.374329.1 ORA-04031 Unable to Allocate 83232 Bytes of Shared Memory: Note.403511.1 ORA-01555 Update Material Usage and Manufacturing Cost Variance Base Summary Ora Note.398879.1 Initial Load for Planning Management Dashboard Results in Error LOAD_SNAPSHOTS ORA-01502: Note.391970.1 Fii_time_cal_day_mv_n1 Initially In Unusable State Running Initial Load Ora-26028: Note.336165.1 ORA-06502 And LPX-00210 Errors When Trying To Refresh BIS Materialized View: Note.399517.1 Cannot Map Unicode to Oracle Character Error in Customer Fulfillment Management Dashboard Note.401405.1 Pmv-Error-Customquerybuilder- Cumulative Net Booked And Revenue Errors Note.374327.1 Baseline Setup Note.367712.1 No Data Found in Customer Fulfillment Dashboard Note.403875.1 How Can We Configure A User Defined Dimension? NOTE.334034.1 Oracle Daily Business Intelligence Information Center Note 375573.1 How To Determine Which Business Intelligence System (BIS) Patch Has Been Applied NOTE.312236.1 Troubleshooting and Tablespace Requirements for Daily Business Intelligence (DBI)

You might also like