ITPub博客

首页 > 应用开发 > IT综合 > NOTE OF ANALYZE

NOTE OF ANALYZE

原创 IT综合 作者:tsinglee 时间:2008-03-28 14:37:28 0 删除 编辑

Do not use the COMPUTE and ESTIMATE clauses of
ANALYZE to collect optimizer statistics. These clauses are supported
for backward compatibility. Instead, use the DBMS_STATS package,
which lets you collect statistics in parallel, collect global statistics
for partitioned objects, and fine tune your statistics collection in
other ways. The optimizer, which depends upon statistics, will
eventually use only statistics that have been collected by DBMS_STATS.

You must use the ANALYZE statement (rather than DBMS_STATS)
for statistics collection not related to the cost-based optimizer, such
as:
■ To use the VALIDATE or LIST CHAINED ROWS clauses
■ To collect information on freelist blocks

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-1001633/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: DELETE STATISTICS
请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002852