ITPub博客

首页 > 数据库 > Oracle > How to gather statistics on Oracle eBS.

How to gather statistics on Oracle eBS.

原创 Oracle 作者:shiyihai 时间:2010-12-31 17:11:59 0 删除 编辑

Don't use package DBMS_STATS to do that, using FND_STATS is a good command.

Also,don't use the ANALYZE command.

Eg.

Use the following command to gather schema statistics:
exec fnd_stats.gather_schema_statistics('PO')
exec fnd_stats.gather_schema_statistics('ALL')

Use the following command for gathering statistics on a temporary table
(ie: temporary tablename = temp1 in schema INV):
exec fnd_stats.gather_table_stats('INV','temp1');

[@more@]

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

请登录后发表评论 登录
全部评论
  • 博文量
    235
  • 访问量
    1707860