首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-052 40
Your requirement is that the statistics for the tables and all dependent indexes must not be overwritten by further statistics collection until a certain point of time.
How would you achieve this?
A. Lock statistics for the tables.
B. Change STALE_PERCENT to zero for the tables.
C.Set the TIMED_STATISTICS parameter to TRUE.
D.Set the STATISTICS_LEVEL parameter to BASIC.
E.Set the OPTIMIZER_USE_PENDING parameter statistics to TRUE.
答案:(A)
解析:
A. 可以使用DBMS_STATS.LOCK_TABLE_STATS过程
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1178452/ ,如需转载,请注明出处,否则将追究法律责任。