You must set up daily and weekly statistics gathering. The following table suggests suitable wgn_stats configurations, depending on the partitioning scheme implemented. For further information see the Database Statistics Reference Guide.
|
Partitions |
Daily wgn_stats call |
Weekly wgn_stats call |
|
Daily |
execute |
execute |
|
Weekly |
execute |
execute |
|
Monthly or longer, or non-partitioned |
execute |
execute |
Note: You may need to reduce sample percentage P_def_cap_samp_pct for larger installations to prevent statistics gathering taking too long.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |