How to gather statistics on Oracle eBS.

shiyihai發表於2010-12-31

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部落格 ” ,連結:http://blog.itpub.net/38542/viewspace-1043942/,如需轉載,請註明出處,否則將追究法律責任。

相關文章