Optimizer information

The UPDATE STATISTICS statement collects statistical distribution information for columns of built-in data types. The query execution optimizer uses this information to estimate the costs associated with possible execution paths for a query or for other DML operations.

For the database server to collect distribution statistics on columns of opaque or distinct UDTs that you define, you must provide the functions that collect the information. For more information about these functions, see Improve UDR performance.