My Oracle Support Banner

Partition Truncate or Drop Taking a Long Time With SQL 'insert /*+ RELATIONAL . . . delete global indexes' (Doc ID 2177233.1)

Last updated on MARCH 25, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
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 Backup Service - Version N/A and later
Information in this document applies to any platform.


 A partition truncate or partition drop is taking a long time, and you specified UPDATE INDEXES or UPDATE GLOBAL INDEXES.  An AWR might show the following SQL as a top SQL for elapsed time:

 Other processes waiting to update the table, such as GoldenGate, may get an "ORA-54 resource busy and acquire with NOWAIT specified or timeout expired" while waiting for the global index maintenance to complete.


 Truncate partition or drop partition.


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.