OCP 1Z0 052 41
2014-06-11 17:52
197 查看
41. You have recently collected statistics on certain objects of a schema in your database. But you
observe suboptimal execution plans for the queries on these objects after two days of statistics collection.
The optimizer statistics retention period is set to its default value.
Which action would help to use the previous set of statistics on the objects?
A.Restore statistics from statistics history.
B.Reduce the optimizer statistics retention period by 2 days.
C.Set the OPTIMIZER_PENDING_STATISTICS parameter to TRUE.
D.Reduce the Automatic Workload Repository (AWR) retention period by 2 days.
Answer: A
observe suboptimal execution plans for the queries on these objects after two days of statistics collection.
The optimizer statistics retention period is set to its default value.
Which action would help to use the previous set of statistics on the objects?
A.Restore statistics from statistics history.
B.Reduce the optimizer statistics retention period by 2 days.
C.Set the OPTIMIZER_PENDING_STATISTICS parameter to TRUE.
D.Reduce the Automatic Workload Repository (AWR) retention period by 2 days.
Answer: A
SQL> SQL> BEGIN 2 dbms_stats.gather_table_stats(ownname => USER, tabname => 'EMP'); 3 END; 4 / PL/SQL procedure successfully completed SQL> / PL/SQL procedure successfully completed SQL> col table_name a10 SQL> SELECT OWNER,TABLE_NAME,STATS_UPDATE_TIME FROM Dba_Tab_Stats_History WHERE owner = 'TEST'; OWNER TABLE_NAME STATS_UPDATE_TIME ------ ------------------------------ -------------------------------------------------------------------------------- TEST EMP 11-JUN-14 05.54.56.234000 PM +08:00 TEST EMP 11-JUN-14 05.54.56.781000 PM +08:00 2 rows selected
相关文章推荐
- OCP-1Z0-052-V8.02-41题
- OCP-1Z0-052-V8.02-161题
- OCP-1Z0-052-V8.02-1题
- oracle11g OCP 认证 1z0-052考试笔记1
- OCP-1Z0-052-V8.02-63题
- OCP-1Z0-052-V8.02-131题
- OCP-1Z0-052-V8.02-128题
- OCP-1Z0-052-V8.02-185题
- OCP-1Z0-052-V8.02-66题
- OCP-1Z0-052-V8.02-88题
- OCP-1Z0-052-V8.02-140题
- OCP 1Z0 052 22
- OCP 1Z0 052 37
- OCP 1Z0 052 54
- OCP 1Z0 052 68
- OCP 1Z0 052 84
- OCP 1Z0 052 98
- OCP 1Z0 052 150
- OCP 1Z0 052 176
- OCP 1Z0 052 V9.02 115