Gather stats for schema - Oracle Database Script. BEGIN dbms_stats.gather_schema_stats( ownname => 'SCOTT', --- schema nameĀ options => 'GATHER AUTO', estimate_percent => dbms_stats.auto_sample_size, method_opt => 'for all columns size repeat', degree => 24 ); END; /
BEGIN dbms_stats.gather_schema_stats( ownname => 'SCOTT', --- schema nameĀ options => 'GATHER AUTO', estimate_percent => dbms_stats.auto_sample_size, method_opt => 'for all columns size repeat', degree => 24 ); END; /