ORA-00054 During Mview Refresh and Gather Table Statistics

(Doc ID 1944194.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.

Symptoms

BEGIN
SYS.DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=>'qsmslive',TABNAME=>'MV_SHIPMENT_PIECE_AWB_NO_INFO',estimate_percent=>'20',
CASCADE=>TRUE,DEGREE=>16,method_opt=>'FOR ALL COLUMNS');
END;
 
Error:ERROR at line 1:
ORA-54: resource busy and acquire with NOWAIT specified or timeout expired
ORA-6512: at "SYS.DBMS_STATS", line 23154
ORA-6512: at "SYS.DBMS_STATS", line 23205
ORA-6512: at line 1
 
Mview refresh scheduled to run every 15 minutes.

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