Constrained (Slow Path) DELETE Processing - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™
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.