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

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

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.