禁用10自动统计分析特性:
exec DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB');
exec dbms_stats.gather_table_stats(username,tablename,method_opt => 'FOR ALL COLUMNS SIZE 1',cascade => TRUE,estimate_percent => 25,granularity=>'all',degree => 4,no_invalidate => false);
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/48010/viewspace-1016849/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/48010/viewspace-1016849/