Locks for DROP TABLE - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

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
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

The following locks are placed by DROP TABLE:

  • The DROP places an all-AMP EXCLUSIVE lock on the object itself as identified by its TVMId value, for example, TableId.
  • Among other dictionary locks, the DROP places an all-AMP WRITE lock on the partitioned DBC.AccessRights table on the single partition corresponding to the table unique DatabaseId and TVMId. This partition contains the complete list of privileges on the object to be deleted by the DROP operation.