On 14.10 (and 14.0 as well) you no longer need to collect statistics on PARTITION, unless your table is a partitioned table. For partitioned tables you should definitely collect on PARTITION.
You may not need to consciously replace PARTITION stats on non-partitioned tables with summary stats, as summary stats will automatically be collected at the time any column/index on the table has its stats collected. Collection on PARTITION will update summary stats as well. But if you have not collected any stats on the table for a while, you can explicitly collect stats on just summary stats for the table by issuing. It's a very fast execution, and a good idea to use it after loading activity on a table when you don't have time for full stats recollections.
COLLECT SUMMARY STATISTICS ON table-name;
The asterisk in HELP STATS tells you the number of rows in the table on which the statistics were taken. It will change as summary stats are refreshed, even if other statistics on the table have not been refreshed. So you could say that number is a result of summary stats. That's the correct way to look at it.
Hi Nazy,
On 14.10 (and 14.0 as well) you no longer need to collect statistics on PARTITION, unless your table is a partitioned table. For partitioned tables you should definitely collect on PARTITION.
You may not need to consciously replace PARTITION stats on non-partitioned tables with summary stats, as summary stats will automatically be collected at the time any column/index on the table has its stats collected. Collection on PARTITION will update summary stats as well. But if you have not collected any stats on the table for a while, you can explicitly collect stats on just summary stats for the table by issuing. It's a very fast execution, and a good idea to use it after loading activity on a table when you don't have time for full stats recollections.
COLLECT SUMMARY STATISTICS ON table-name;
The asterisk in HELP STATS tells you the number of rows in the table on which the statistics were taken. It will change as summary stats are refreshed, even if other statistics on the table have not been refreshed. So you could say that number is a result of summary stats. That's the correct way to look at it.
Thanks, -Carrie