ITPub博客

首页 > 数据库 > Oracle > 统计信息——table

统计信息——table

原创 Oracle 作者:penglele2009 时间:2011-01-18 16:42:22 0 删除 编辑

manual statistics:

下面语句在命令行可以运行

sql>exec dbms_stats.gather_table_stats('wiliam','tb_sale',estimate_percent=>100,cascade=>true);

wilaim:用户

tb_sale:表

estimate_percent:统计比例,第一次采用100%

cascade:统计索引

[@more@]

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

下一篇: RBO表的顺序
请登录后发表评论 登录
全部评论

注册时间:2009-11-26

  • 博文量
    199
  • 访问量
    677245