16.20 - PARTITION Statistics and ALTER TABLE TO CURRENT Requests - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Teradata Database
Teradata Vantage NewSQL Engine
Release Number
March 2019
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

You should refresh PARTITION statistics as soon as an ALTER TABLE TO CURRENT request for a table or join index completes because the existing PARTITION statistics will no longer be valid after the reconciliation process.

Statistics on the partitioning column itself are not stale and are still valid if you do not specify a null partition handler, but you should always refresh the statistics on a partitioning column if you do specify a null partition handler.