there could probably a dbms_? package that could clean the OPTSTAT.