
This function collects (or updates) column statistics for the table columns.

It collects minimum, maximum average adn distinct values for a column and a row count for the table and puts the
data in DB.DBA.SYS_COL_STAT table.

It doesn"t make historgrams for the columns.

The statistics are then used by the Optimized SQL compiler. All the cached compilations are
discarded, because some of them may compile differently in the light of the new data.
