Constrained (Slow Path) DELETE Processing - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
The processing time for a constrained delete (DELETE WHERE) can increase when:
  • The DELETE does not meet the conditions for a fastpath delete processing. See Unconstrained Fastpath Delete Processing.
  • The FALLBACK option is specified for the table, because the rows in the secondary copy of the table must also be deleted.
  • Secondary indexes are defined for the table, because the secondary index subtable also must be updated to account for the rows deleted.

Processing time for a constrained delete can be shortened by specifying a primary index value, a USI value, or a highly selective NUSI value as the conditional expression of the WHERE clause.