Re: DML Monitoring not working for table.

  • From: Rich J <rjoralist3@xxxxxxxxxxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 31 Jul 2019 10:16:39 -0500

On 2019/07/31 07:20, Rakesh Ra wrote:

For couple of tables in one of 11.1.0.7 database, DML monitoring is not 
working.as expected. The stats got last gathered for the table on 4th Mar and 
that shows no records for the table. However, the table is having 355446 
records for now.. The table stats is not locked as shown below below and 
neither it appears to be STALE in dba_tab_statistics. I am not sure what is 
causing this or even if I am doing something wrong. Can we have someone to 
provide some insights on this please?

The first thing that comes to mind is to check for any termination of
the instance, other than SHUTDOWN NORMAL.  I believe that SHUTDOWN ABORT
can cause loss of DML update counts, and I'm not sure about SHUTDOWN
IMMEDIATE, although I suspect it flushes the DML update counts to disk
before shutdown like NORMAL does.  And of course a server crash or other
instance crash would cause a similar loss. 

Something to check on anyway... 

Rich

Other related posts: