DELETE for NoPI Tables - Analytics Database - Teradata Vantage

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-12-13
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
Product Category
Teradata Vantageā„¢

DELETE is supported for NoPI tables.

DELETE has the following rules and restrictions for NoPI tables:
  • A constrained DELETE request must use a full-table scan on a NoPI table unless the table has a secondary, join, or hash index and the Optimizer selects an access path that uses the index. However, column-partition elimination and row-partition elimination may result in an operation that does not require a full-table scan.
  • To be eligible for fastpath delete processing, a DELETE ALL or unconstrained DELETE request on a NoPI table must conform to the rules described in Fastpath Positioning Requirements. Deferred deletions for entire row partitions that are deleted reclaims space for any logically deleted data in that row partition.

For more information about NoPI tables, see Teradata Vantageā„¢ - Database Design, B035-1094.