My Oracle Support Banner

Catalog Performance with Large Number of Records in BS and/or BP (Doc ID 2205444.1)

Last updated on MARCH 14, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

We are facing slowness while initiating the RMAN backup using catalog database. The queries with the biggest issue are related to large number of records in the catalog BS and BP tables.

Some examples are:

DELETE FROM BS
WHERE
BS.BS_KEY = :B1

DELETE FROM BP
WHERE
BP.DB_KEY = :B5 AND ((:B4 IS NULL AND BP.SITE_KEY IS NULL) OR BP.SITE_KEY =
 NVL(:B4 , BP.SITE_KEY)) AND BP.BP_RECID = :B3 AND BP.BP_STAMP = :B2 AND
 BP.BS_KEY = :B1

UPDATE BP SET STATUS = :B7 , SITE_KEY = NVL(:B6 , SITE_KEY)
WHERE
BP.DB_KEY = :B5 AND ((:B4 IS NULL AND BP.SITE_KEY IS NULL) OR BP.SITE_KEY =
 NVL(:B4 , BP.SITE_KEY)) AND BP.BP_RECID = :B3 AND BP.BP_STAMP = :B2 AND
 BP.BS_KEY = NVL(:B1 , BP.BS_KEY)

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
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.