ORACLE analyze table

TableEXEC DBMS_STATS.gather_table_stats('<table owner>', '<table_name>');Schemaexec dbms_stats.gather_schema_stats('<schema name>',DBMS_STATS.AUTO_SAMPLE_SIZE);Databaseexec dbms_stats.GATHER_DATABASE_STATS(99,CASCADE=>TRUE);

If after the gather statistics, still not go index, maybe the problem is the size of SGA.

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error