1CALL DBMS_STATS.GATHER_TABLE_STATS(
2 'OWNER_NAME',
3 'TABLE_NAME',
4 ESTIMATE_PERCENT => 50, -- longer but better than 1 for exec plans
5 GRANULARITY => 'PARTITION', -- or SUBPARTITION or nothing
6 PARTNAME => 'PARTITION_NAME', -- or nothing
7 DEGREE => 8 -- parallelism
8);