During a Manual Database Upgrade to 11.2, Gathering Dictionary Statistics Takes Too Long (catupgrd.sql, cmpupend.sql) (Doc ID 1425763.1)

Last updated on APRIL 13, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

During a manual database upgrade to 11.2, gathering dictionary statistics takes too long.

More specifically, the catupgrd.sql script is calling the cmpupend.sql script and the following SQL statement from cmpupend.sql is taking too long to complete:

SQL> execute dbms_registry_sys.gather_stats(null);

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms