GATHER_STATS_JOB behavior changed between 10g and 11g

From: Chen Shapira <>
Date: Wed, 26 Aug 2009 17:30:39 -0700
Message-ID: <>

Hi Oracle-Listers,

We have this system where materialized views are scheduled to rebuild within the same maintenance window in which Oracle runs the automatic GATHER_STATS_JOB.
Not the best idea, but in it did not cause any issues.

After upgrade to 11g, GATHER_STATS_JOB causes "ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired" messages in our alert log.
It runs much faster though :)

I can completely understand the new behavior - why waste time (and possibly hang the stats gathering job) when you can just skip resources. However, we'd rather have the old behavior back.

Anyone knows how to get it back?

Chen Shapira

Received on Wed Aug 26 2009 - 19:30:39 CDT

Original text of this message