set serveroutput on;
execute DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME => 'MNP', estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, CASCADE => TRUE);
execute DBMS_STATS.GATHER_TABLE_STATS(OWNNAME => 'MNP', TABNAME =>'MNP_GESTIONE_RICHIESTA_REC', METHOD_OPT =>'FOR COLUMNS STATO SIZE 20');
execute DBMS_STATS.GATHER_TABLE_STATS(OWNNAME => 'MNP', TABNAME =>'HZ_GESTIONE_RICHIESTA', METHOD_OPT =>'FOR COLUMNS STATO SIZE 20');
exit;