We recently upgrade or Oracle databases from 11gR1 on Unix to 12c on Linux and since the cutover we have found that in some cases when we run DBMS_STATS.GATHER_TABLE_STATS it is causing the LAST_DDL_TIME for the table to get updated which is then causing packages that depend on those tables to become invalid.
Does this sound like expected behavior? We never saw this on our previous server and I am having trouble finding information on what may be causing this.
Thanks
Jim