Table statistics
Metadata about a table's size, row count, and value distributions per column that help the optimizer choose execution plans.
Table statistics are a classic example of "data about data". A table can store information about how many rows it contains, how many unique values each column has, the distribution of values (histogram), or which values are frequent and which are rare. This statistics enable the optimizer to make informed guesses about what a query will return without actually running it.
Table statistics must be gathered — usually via an ANALYZE command that scans the table and builds histograms. The problem is that statistics become inaccurate as data changes rapidly. Many modern database systems use autostats to automatically update statistics when the table changes significantly.