HUT Locks in Copy Operations - Teradata Tools and Utilities

Teradata® Archive/Recovery Utility Reference

Product
Teradata Tools and Utilities
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-06-05
dita:mapPath
fac1527114221922.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2412
Product Category
Teradata Tools and Utilities

Copy operations apply exclusive utility (HUT) locks on the object to be copied. Therefore, if a full database is copied from a complete database archive, Teradata ARC locks the entire database. Similarly, if a single table is copied from a table-level archive, Teradata ARC locks that table (but only that table). To copy selected partitions, Teradata ARC applies a HUT write lock.

When an SQL-UDF is copied, the corresponding DBC.DBASE row is locked with a write hash lock. This prevents the user from doing any DDL on that database for the duration of the copy operation.