EXECUTE DBMS_STATS.GATHER_TABLE_STATS(
ownname => 'SIEBEL',
tabname => 'S_OPTY',
block_sample => FALSE,
method_opt => 'FOR ALL COLUMNS size SKEWONLY',
granularity => 'ALL',
cascade => FALSE,
degree => DBMS_STATS.DEFAULT_DEGREE);
ASKER
ASKER
ASKER
ASKER
Oracle is an object-relational database management system. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java, but it also includes support for C and C++. Oracle also has its own enterprise modules and application server software.
TRUSTED BY
The blocks in the extents on serverA might be all jumbled around (scientific term) with a lot of chained rows etc...
All that said, I wouldn't expect the 24 hour to 10 minute difference. You might want to also open an SR with Oracle Support on this one.
>>also with the above stats should index stats be run also?
The docs have this info:
http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_stats.htm#i1036461
GATHER_TABLE_STATS Procedure
This procedure gathers table and column (and index) statistics.