16.20 - Locks for DROP TABLE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

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.