15.00 - PARTITION Statistics and ALTER TABLE TO CURRENT Requests - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1184-015K

PARTITION Statistics and ALTER TABLE TO CURRENT Requests

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.