Duplicate entry in DBA_TAB_STATISTICS
we have on PREM exadata 19.16 with october CPU patch and our DR site is in OCI cloud with EXACS 19.9. we failed over our database to OCI last week and since then our Peoplesoft customised stats job is failing with below error.
ORA-01422: exact fetch returns more than requested number of rows
so when we query the table for duplicate row and yes it does exist.
i see in the second row notes section says STATS_ON_CONVENTIONAL_DML which i am thinking optimizer_real_time_statistics parameter is enabled in OCI but not in on prem exadata.
now my question is there any way we can remove the duplicate entry from DBA_TAB_STATISTICS table? i know its not advisable but not sure why oracle put a duplicate entry as our custom stats job is written in such a way to get one rows but now it has 2 rows so its failing with ORA-01422.