My Oracle Support Banner

RUNNING IB-SPDB VERY SLOW (Doc ID 1678670.1)

Last updated on MARCH 04, 2019

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.1.0 and later
Information in this document applies to any platform.

Symptoms

**Examples provided in this article do not represent real life personal/confidential information**
**Disclaimer:** This KM article may include the following abbreviations:
CCB/CC&B - Oracle Utilities Customer Care and Billing

ACTUAL BEHAVIOR
---------------
Interval Data Set Derivation process runs every night and run times have been increasing and coming into business hrs. While we know that sites are growing this job should be scalable.

As an example

The following sql has been run 831 times clocking up an average of 4.1 million buffer gets per execution and
a total of 3.4 billion buffer gets. This accounts for a lot of cpu usage.


Problem sql triggered from IB-SPDB (Interval Data Set Derivation)


3,381,216,091 4,068,852 3,572 4 831 831
JDBC Thin Client CISUSER 0 2014-04-01/01:20:55 ALL_ROWS
00000000B1768CB8
SELECT MIN(CB1.REG_DATA_DTTM), MIN(CB1.REG_DATA_DTTM) + ( :1/1440) FROM CI_REG_DATA_SET CA1, CI_REG
_DATA CB1 WHERE CA1.REG_ID = :2 AND CA1.REG_DATA_SET_ID = CB1.REG_DATA_SET_ID AND CA1.REG_DS_STATUS
_FLG = 'C' AND CB1.REG_DATA_DTTM > :3 AND CB1.REG_DATA_DTTM REG_DS_TYPE_FLG <> :6 AND NOT EXISTS (SELECT 'x' FROM CI_REG_DATA_SET CA11, CI_REG_DATA CB11 WHERE
CA11.REG_ID = CA1.REG_ID AND CB11.REG_DATA_DTTM = CB1.REG_DATA_DTTM AND CA11.REG_DATA_SET_ID = CB11.
REG_DATA_SET_ID AND CA11.REG_DS_STATUS_FLG = 'C' AND CA11.SET_DTTM CA1.SE
T_DTTM ) AND CB1.REG_DATA_DTTM + ( :8/1440) A2, CI_REG_DATA CB2 WHERE CA2.REG_ID = :10 AND CA2.REG_DATA_SET_ID = CB2.REG_DATA_SET_ID AND CA2.RE
G_DS_STATUS_FLG = 'C' AND CB2.REG_DATA_DTTM > :11 AND CB2.REG_DATA_DTTM   :13 AND CA2.REG_DS_TYPE_FLG <> :14 AND NOT EXISTS (SELECT 'x' FROM CI_REG_DATA_SET CA22, CI_REG_D


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Interval Data Set Derivation process runs every night and run times have been increasing.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.