17.10 - PARTITION Statistics and ALTER TABLE TO CURRENT Requests - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

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.