Catupgrd.sql Hangs waiting for Cursor: Pin S Wait On X

(Doc ID 564719.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 10.2 and later ]
Information in this document applies to any platform.


Database is upgraded from to
Catupgrd.sql script is hanging and waiting for cursor: pin S wait on X . Problem arises consistently every run of 'catupgrd.sql' when 'cmpdbmig.sql' calls 'execute dbms_registry.gather_stats(null)' .

BUG:6084876 was filed for the Catupgrd.sql hanging.  It was closed as duplicate to Bug 5907779:

A process may hang with a self deadlock typically when executing DBMS_STATS. The hung process shows itself waiting on a "cursor: pin S wait on X" waitevent waiting for an object  that it has pinned itself.


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