My Oracle Support Banner

Catupgrd.sql Hangs waiting for Cursor: Pin S Wait On X (Doc ID 564719.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A 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.




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

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